Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,6 @@ public void testGermanMessages()
assertThat(Bye, equalTo("Tschüss"));
}

/** Check if we fall back to english if a localization is missing */
@Test
public void testMissingLocalization()
{
Locale.setDefault(Locale.FRENCH);
NLS.initializeMessages(NLSMessagesTest.class);
System.out.println("Messages for the nonexistent '" + Locale.getDefault().getLanguage() + "' localization: " + Hello + ", " + Bye);
assertThat(Hello, equalTo("Hello"));
assertThat(Bye, equalTo("Bye"));
}

/** Check if we fall back to english if a localization is incomplete */
@Test
public void testIncompleteLocalization()
Expand Down