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

test: add test to ensure that all supported languages have language flag icons #688

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

skaldarnar
Copy link
Member

Contains

A simple (JavaFX) unit test to ensure that the flag icons for the supported locales can be loaded.

How to test

Run the new test to check that it succeeds.

gradlew test

I checked the negative case locally by adding a new locale (new Locale("nl")) to the list of supported locales in I18N.java and observed test failure for that locale, as would be expected.

Outstanding before merging

Nothing.

@skaldarnar skaldarnar added this to the v4.8.0 milestone Nov 12, 2022
@skaldarnar skaldarnar added the Topic: Tests/QA Testing and quality assurance topics. label Nov 12, 2022
Copy link
Member

@jdrueckert jdrueckert left a comment

Choose a reason for hiding this comment

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

Looks good code-wise, still need to test it though.

@skaldarnar skaldarnar merged commit c17773a into master Nov 13, 2022
@skaldarnar skaldarnar deleted the test/language-flags branch November 13, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Tests/QA Testing and quality assurance topics.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants