Changeset 11450 in josm


Ignore:
Timestamp:
2017-01-10T23:13:30+01:00 (3 years ago)
Author:
wiktorn
Message:

Change order of the tests to verify first if the job failed as it should, then check if error message is correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java

    r10962 r11450  
    111111            }
    112112        }
     113        assertEquals(LoadResult.FAILURE, listener.result); // because response will be cached, and that is checked below
    113114        assertEquals("java.net.UnknownHostException: unkownhost.unkownhost", listener.attributes.getErrorMessage());
    114         assertEquals(LoadResult.FAILURE, listener.result); // because response will be cached, and that is checked below
    115115
    116116        ICacheAccess<String, CacheEntry> cache = getCache();
Note: See TracChangeset for help on using the changeset viewer.