Changeset 11781 in josm for trunk/test/functional
- Timestamp:
- 2017-03-26T13:52:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/mappaint/StyleCacheTest.java
r11778 r11781 17 17 import org.junit.Rule; 18 18 import org.junit.Test; 19 import org.openstreetmap.josm.JOSMFixture;20 19 import org.openstreetmap.josm.Main; 21 20 import org.openstreetmap.josm.data.Bounds; … … 53 52 @Rule 54 53 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 55 public JOSMTestRules test = new JOSMTestRules().preferences().platform().projection().mapStyles(); 54 public JOSMTestRules test = new JOSMTestRules().preferences().platform().projection().mapStyles().timeout(60000); 56 55 57 56 /** … … 112 111 @Test 113 112 public void testStyleCacheInternPool() { 114 // This can be removed if there was no dependency on Main.map in some MapCSS conditions. See #14572 115 JOSMFixture.createFunctionalTestFixture().init(true); 116 113 StyleCache.clearStyleCachePool(); 117 114 Bounds bounds = new Bounds(53.56, 13.25, 53.57, 13.26); 118 115 Rendering visitor = new StyledMapRenderer(g, nc, false); … … 141 138 @Test 142 139 public void testStyleCacheInternPool2() { 143 // This can be removed if there was no dependency on Main.map in some MapCSS conditions. See #14572 144 JOSMFixture.createFunctionalTestFixture().init(true); 145 140 StyleCache.clearStyleCachePool(); 146 141 Bounds bounds = new Bounds(53.56, 13.25, 53.57, 13.26); 147 142 Rendering visitor = new StyledMapRenderer(g, nc, false);
Note:
See TracChangeset
for help on using the changeset viewer.