From 5c3d81c1620b814a3883909f4a37d71e9742a602 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 2 May 2013 15:31:55 +0200 Subject: Renamed cz locales to be more general netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties renamed to netx/net/sourceforge/jnlp/resources/Messages_cs.properties tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java and tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java adapted to new cz locales filename. --- .../unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/netx/unit/net/sourceforge') diff --git a/tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java b/tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java index cc77d9c..e30d521 100644 --- a/tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java +++ b/tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java @@ -54,7 +54,8 @@ public class MessagesPropertiesTest { private final static class LocalesIdentifier { public static final LocalesIdentifier DEFAULT = new LocalesIdentifier("",""); - public static final LocalesIdentifier CZ_CS = new LocalesIdentifier("CZ","cs"); + public static final LocalesIdentifier CZ = new LocalesIdentifier("cs"); + //public static final LocalesIdentifier CZ_CS = new LocalesIdentifier("CZ","cs"); public static final LocalesIdentifier DE = new LocalesIdentifier("de"); public static final LocalesIdentifier PL = new LocalesIdentifier("pl"); //public static final LocalesIdentifier DE_DE = new LocalesIdentifier("DE","de"); @@ -146,7 +147,7 @@ public class MessagesPropertiesTest { //get default by non existing language and country main = LocalesIdentifier.DEFAULT; assertNotNull(main); - secondary= new LocalesIdentifier[] {LocalesIdentifier.CZ_CS,LocalesIdentifier.DE,LocalesIdentifier.PL}; + secondary= new LocalesIdentifier[] {LocalesIdentifier.CZ,LocalesIdentifier.DE,LocalesIdentifier.PL}; assertNotNull(secondary); for (int i = 0; i < secondary.length; i++) { assertNotNull(secondary[i]); -- cgit v1.2.3