Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-16836 kbd: ebnf: move tests to js out of shell, check XML files #4270

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Jan 9, 2025

CLDR-16836

  • This PR completes the ticket.
  • also, test XML files for validity of from/to

Followon to #4261 this moves the test case out of shell script into its own JS project. No changes to EBNF or test cases.

ALLOW_MANY_COMMITS=true

Copy link
Member

@btangmu btangmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great but I don't see the 4 files referred to, 'from-match.pass.txt' etc.; probably I'm not understanding something

- transform-from-required.d/from-match.pass.txt
- transform-from-required.d/from-match.fail.txt
- transform-to-required.d/to-replacement.pass.txt
- transform-to-required.d/to-replacement.fail.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are these files?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are in that same directory (keyboard-abnf-tests) and were added in #4261

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that previous PR had a shell script (now deleted) to test the files, this changes it to JS

@srl295 srl295 requested review from mcdurdin, xadxura and miloush January 9, 2025 18:36
@srl295 srl295 changed the title CLDR-16836 kbd: ebnf: move tests to js out of shell CLDR-16836 kbd: ebnf: move tests to js out of shell, check XML files Jan 9, 2025
@srl295 srl295 requested a review from btangmu January 9, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants