aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/net/sourceforge
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-05-02 15:31:55 +0200
committerJiri Vanek <[email protected]>2013-05-02 15:31:55 +0200
commit5c3d81c1620b814a3883909f4a37d71e9742a602 (patch)
treecb3d9286a283a2f463c842ab59918e9c01b3f522 /tests/netx/unit/net/sourceforge
parent9beec9281b15401fff46cbc9c86b3c6ceb16fd2c (diff)
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.
Diffstat (limited to 'tests/netx/unit/net/sourceforge')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java5
1 files changed, 3 insertions, 2 deletions
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]);