Changeset 32923 in osm for applications/editors/josm/plugins/mapillary/test/unit
- Timestamp:
- 2016-09-04T01:13:04+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/cache/MapillaryCacheTest.java
r32653 r32923 6 6 import static org.junit.Assert.assertNotEquals; 7 7 8 import java.io.File; 9 import java.io.IOException; 10 11 import org.junit.Before; 8 12 import org.junit.Test; 13 import org.openstreetmap.josm.Main; 14 import org.openstreetmap.josm.data.cache.JCSCacheManager; 9 15 import org.openstreetmap.josm.plugins.mapillary.AbstractTest; 16 import org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin; 10 17 import org.openstreetmap.josm.plugins.mapillary.cache.MapillaryCache.Type; 11 18 12 19 public class MapillaryCacheTest extends AbstractTest { 13 20 21 @Before 22 public void setUp() throws IOException { 23 MapillaryPlugin.cache = JCSCacheManager.getCache("mapillary", 10, 10000, 24 new File(Main.pref.getPluginsDirectory(), "mapillary").getPath() + "/cache/"); 25 } 26 14 27 @Test 15 28 public void test() { … … 28 41 assertEquals(null, cache.getUrl()); 29 42 } 30 31 43 }
Note:
See TracChangeset
for help on using the changeset viewer.