Changeset 9599 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2016-01-23T23:26:39+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java
r9488 r9599 95 95 @Test 96 96 public void testExplainChangesetClosedException() { 97 // This test relies on the fact that CLDR is not the default local provider (see I18n.init) 98 assertEquals("JRE,CLDR", System.getProperty("java.locale.providers")); 99 97 100 assertEquals("<html>Failed to upload to changeset <strong>0</strong><br>because it has already been closed on ?.", 98 101 ExceptionUtil.explainChangesetClosedException(new ChangesetClosedException(""))); … … 116 119 @Test 117 120 public void testExplainConflict() { 121 // This test relies on the fact that CLDR is not the default local provider (see I18n.init) 122 assertEquals("JRE,CLDR", System.getProperty("java.locale.providers")); 123 118 124 int code = HttpURLConnection.HTTP_CONFLICT; 119 125 assertEquals("<html>The server reported that it has detected a conflict.</html>",
Note:
See TracChangeset
for help on using the changeset viewer.