Changeset 10559 in josm
- Timestamp:
- 2016-07-18T08:38:56+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/cache
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCacheManagerTest.java
r8991 r10559 2 2 package org.openstreetmap.josm.data.cache; 3 3 4 import java.io.IOException; 4 5 import java.util.logging.Logger; 5 6 … … 8 9 import org.openstreetmap.josm.JOSMFixture; 9 10 11 /** 12 * Unit tests for class {@link JCSCacheManager}. 13 */ 10 14 public class JCSCacheManagerTest { 11 15 … … 18 22 } 19 23 24 /** 25 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/12054">Bug #12054</a>. 26 * @throws IOException if any I/O error occurs 27 */ 20 28 @Test 21 public void testLoggingAdaptor12054() throws Exception {29 public void testLoggingAdaptor12054() throws IOException { 22 30 JCSCacheManager.getCache("foobar", 1, 0, "foobar"); // cause logging adaptor to be initialized 23 31 Logger.getLogger("org.apache.commons.jcs").warning("{switch:0}"); -
trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java
r10558 r10559 116 116 117 117 ICacheAccess<String, CacheEntry> cache = getCache(); 118 CacheEntry e = new CacheEntry(new byte[]{0, 1,2,3});118 CacheEntry e = new CacheEntry(new byte[]{0, 1, 2, 3}); 119 119 CacheEntryAttributes attributes = new CacheEntryAttributes(); 120 120 attributes.setExpirationTime(2);
Note:
See TracChangeset
for help on using the changeset viewer.