Changeset 14138 in josm for trunk/test/unit/org/openstreetmap/josm/data/projection
- Timestamp:
- 2018-08-12T02:21:19+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/projection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java
r13707 r14138 35 35 import org.junit.Rule; 36 36 import org.junit.Test; 37 import org.openstreetmap.josm.Main;38 37 import org.openstreetmap.josm.data.Bounds; 39 38 import org.openstreetmap.josm.data.coor.EastNorth; … … 42 41 import org.openstreetmap.josm.testutils.JOSMTestRules; 43 42 import org.openstreetmap.josm.tools.Pair; 43 import org.openstreetmap.josm.tools.PlatformManager; 44 44 import org.openstreetmap.josm.tools.Utils; 45 45 … … 90 90 @Rule 91 91 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 92 public JOSMTestRules test = new JOSMTestRules().p latform().projectionNadGrids().timeout(90_000);92 public JOSMTestRules test = new JOSMTestRules().projectionNadGrids().timeout(90_000); 93 93 94 94 /** … … 104 104 } 105 105 } 106 Main.determinePlatformHook();107 106 Collection<RefEntry> refs = readData(); 108 107 refs = updateData(refs); … … 286 285 // see http://geodesie.ign.fr/contenu/fichiers/documentation/algorithmes/notice/NT111_V1_HARMEL_TransfoNTF-RGF93_FormatGrilleNTV2.pdf 287 286 def = def.replace("ntf_r93_b.gsb", "ntf_r93.gsb"); 288 if ( Main.isPlatformWindows()) {287 if (PlatformManager.isPlatformWindows()) { 289 288 def = def.replace("'", "\\'").replace("\"", "\\\""); 290 289 } -
trunk/test/unit/org/openstreetmap/josm/data/projection/SwissGridTest.java
r14120 r14138 26 26 @Rule 27 27 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 28 public JOSMTestRules test = new JOSMTestRules().projectionNadGrids() .platform();28 public JOSMTestRules test = new JOSMTestRules().projectionNadGrids(); 29 29 30 30 /**
Note:
See TracChangeset
for help on using the changeset viewer.