diff options
author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2025-02-23 20:38:54 -0500 |
---|---|---|
committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2025-02-23 20:38:54 -0500 |
commit | 9f85e0c201f64b5de646c4d66323424bcb3a279d (patch) | |
tree | 92609c64a7c96fcdd0f20b63bca9c6effe8dd97d /src/test/java/sevenUnitsGUI/I18nTest.java | |
parent | a9485b187844cad900bc43c0651406c51a7295c1 (diff) | |
parent | 9c358d708ba4988648d7b19ccb842f076ec4c354 (diff) |
Merge branch 'i18n' into develop
This merge adds the internationalization features, the final required
feature for 7Units version 1.0.0.
Diffstat (limited to 'src/test/java/sevenUnitsGUI/I18nTest.java')
-rw-r--r-- | src/test/java/sevenUnitsGUI/I18nTest.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/java/sevenUnitsGUI/I18nTest.java b/src/test/java/sevenUnitsGUI/I18nTest.java new file mode 100644 index 0000000..73bd727 --- /dev/null +++ b/src/test/java/sevenUnitsGUI/I18nTest.java @@ -0,0 +1,21 @@ +package sevenUnitsGUI; + +import static org.junit.jupiter.api.Assertions.assertNotNull; + +import org.junit.jupiter.api.Test; + +class I18nTest { + + /** + * Tests that the default locale exists. + * + * Currently this test fails. + */ + @Test + void testDefaultLocale() { + Presenter p = new Presenter(new ViewBot()); + assertNotNull(p.locales.get(Presenter.DEFAULT_LOCALE), + "Default locale does not exist."); + } + +} |