Changeset 10445 in josm for trunk/test
- Timestamp:
- 2016-06-21T00:32:25+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r10443 r10445 19 19 import org.openstreetmap.josm.io.OsmTransferCanceledException; 20 20 import org.openstreetmap.josm.tools.I18n; 21 22 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 21 23 22 24 /** … … 216 218 * Clean up what test not using these test rules may have broken. 217 219 */ 220 @SuppressFBWarnings("DM_GC") 218 221 private void cleanUpFromJosmFixture() { 219 222 Main.getLayerManager().resetState(); 220 223 Main.pref = null; 221 224 Main.platform = null; 222 Main.pref.put("osm-server.url", "invalid-server");223 225 System.gc(); 224 226 } … … 227 229 * Clean up after running a test 228 230 */ 231 @SuppressFBWarnings("DM_GC") 229 232 protected void after() { 230 233 // Sync AWT Thread
Note:
See TracChangeset
for help on using the changeset viewer.