From: hizumiaoba <56146205+hizumiaoba@users.noreply.github.com> Date: Wed, 19 Jan 2022 06:35:34 +0000 (+0900) Subject: ci: organize lang tests X-Git-Tag: v4.0.0-Beta^2~33^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=faef6d4bc9167677813afa1893681e0dacca3625;p=delesterandomselector%2FDelesteRandomSelector.git ci: organize lang tests --- diff --git a/src/test/LanguageTest.java b/src/test/LanguageTest.java index bbdcc87..e1d8563 100644 --- a/src/test/LanguageTest.java +++ b/src/test/LanguageTest.java @@ -1,6 +1,6 @@ package test; -import static org.junit.Assert.assertTrue; +import static org.junit.Assert.*; import java.util.Locale; @@ -22,8 +22,8 @@ public class LanguageTest { Locale.setDefault(this.jp); // asserts - assertTrue(Messages.MSGCalcStart.toString().equals("éå§ï¼")); - assertTrue(Messages.MSGDatabaseNotExist.toString().equals("楽æ²ãã¼ã¿ãã¼ã¹ãè¦ã¤ããã¾ããã§ãããèªåçã«ä½æããã¾ãâ¦\n注æï¼ååèµ·åã§ã¯ãªãããã¤ãJarãã¡ã¤ã«ã¨åãé層ã«\"database.json\"ã¨ãããã¡ã¤ã«ãåå¨ããã«ãé¢ããã\nãã®ãããã¢ãããåºãå ´åãéçºè ã¾ã§ãä¸å ±ãã ããã\nGithub URL: https://github.com/hizumiaoba/DelesteRandomSelector/issues")); + assertEquals("éå§ï¼", Messages.MSGCalcStart.toString()); + assertEquals("楽æ²ãã¼ã¿ãã¼ã¹ãè¦ã¤ããã¾ããã§ãããèªåçã«ä½æããã¾ãâ¦\n注æï¼ååèµ·åã§ã¯ãªãããã¤ãJarãã¡ã¤ã«ã¨åãé層ã«\"database.json\"ã¨ãããã¡ã¤ã«ãåå¨ããã«ãé¢ããã\nãã®ãããã¢ãããåºãå ´åãéçºè ã¾ã§ãä¸å ±ãã ããã\nGithub URL: https://github.com/hizumiaoba/DelesteRandomSelector/issues", Messages.MSGDatabaseNotExist.toString()); assertTrue(Messages.MSGAlbumTypeBeingCalculated.toString().equals("è¨ç®ä¸...")); assertTrue(Messages.MSGNarrowingDownSongs.toString().equals("
楽æ²