Skip to content

test: refactor UnicodeJspsTest and create unicodetools-testutils #209

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

Merged
merged 5 commits into from
Mar 12, 2022

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Mar 10, 2022

  • create module unicodetools-testutils for shared test utils
  • move UnicodeJspsTest into UnicodeJsps/src/test/java

For: #146

- create module unicodetools-testutils for shared test utils
- move UnicodeJspsTest into UnicodeJsps/src/test/java

For: #146

test: more UnicodeJspsTest updates

For: #146
@srl295 srl295 requested a review from macchiati March 10, 2022 23:13
@srl295
Copy link
Member Author

srl295 commented Mar 10, 2022

Make some tests skipped unless -DUNICODETOOLS_RUN_BROKEN_TEST=true

For: #146
@srl295 srl295 self-assigned this Mar 10, 2022
@srl295
Copy link
Member Author

srl295 commented Mar 10, 2022

tests should pass… more fixes can be done in the future.

results = LanguageCode.validate("$, eng-840, fr-fr",new ULocale("en"));
assertTrue("", results.contains("target='languageid'>fr-FR</b>"));
assertContains(results, "target='languageid'>fr-FR</a></b>");
Copy link
Member Author

Choose a reason for hiding this comment

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

@macchiati this seemed like a simple data fix in the assertion, maybe the HTML just changed?

Copy link
Member

@markusicu markusicu left a comment

Choose a reason for hiding this comment

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

changes look plausible so far... thanks for doing all of this work!

…FmwkMinusMinus.java

Co-authored-by: Markus Scherer <markus.icu@gmail.com>
@srl295
Copy link
Member Author

srl295 commented Mar 11, 2022

changes look plausible so far... thanks for doing all of this work!

Thanks. Fixed indentation, ok to merge ?

@srl295
Copy link
Member Author

srl295 commented Mar 11, 2022 via email

@srl295 srl295 requested a review from markusicu March 11, 2022 23:43
Copy link
Member

@markusicu markusicu left a comment

Choose a reason for hiding this comment

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

lgtm tnx

@srl295 srl295 merged commit d430a9a into main Mar 12, 2022
@srl295 srl295 deleted the srl295/issue146 branch March 12, 2022 02:01
@markusicu markusicu mentioned this pull request May 11, 2022
2 tasks
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