public static void checkLangLabelsSetFull(LangLabelsSet ll) { assertEquals("Total Size", 2, ll.getLangLabel().size()); checkLabel( ll.getLangLabel().get(0), "LL_USERNAME", new String[] {"Username", "Nom d'utilisateur", "Имя"}); checkLabel( ll.getLangLabel().get(1), "LL_PASSWORD", new String[] {"Password", "Mot de passe", "Пароль"}); }
public static void checkLangLabelsSetCombined(LangLabelsSet ll) { assertEquals("Total Size", 3, ll.getLangLabel().size()); checkLabel( ll.getLangLabel().get(0), "LL_USERNAME", new String[] {"Username", "Nom d'utilisateur", "Имя"}); checkLabel( ll.getLangLabel().get(1), "LL_PASSWORD", new String[] {"Password", "Mot de passe", "Пароль"}); checkLabel( ll.getLangLabel().get(2), "LL_LETS_GO", new String[] {"Let's go", "Allons-y", "Поехали"}); }
private void testLangsDef(LangLabelsSet ls) { String langs = ls.getLangList(); assertNotNull(langs); assertEquals("Language set doesn't match", _tlangs.length, langs.split(",").length); }
public static void checkLangLabelsSetPartial(LangLabelsSet ll) { assertEquals("Total Size", 1, ll.getLangLabel().size()); checkLabel( ll.getLangLabel().get(0), "LL_LETS_GO", new String[] {"Let's go", "Allons-y", "Поехали"}); }