Changeset 7040 in josm for trunk/test/functional
- Timestamp:
- 2014-05-02T00:04:06+02:00 (10 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/io
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r7030 r7040 141 141 // 142 142 try (InputStream is = MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties")) { 143 if (is == null) { 144 throw new IOException(); 145 } 143 146 testProperties.load(is); 144 147 } catch(IOException e){ -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r7030 r7040 148 148 // 149 149 try (InputStream is = MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties")) { 150 if (is == null) { 151 throw new IOException(); 152 } 150 153 testProperties.load(is); 151 154 } catch(IOException e){ -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerHistoryReaderTest.java
r2448 r7040 19 19 20 20 @Test 21 public void test 1() throws OsmTransferException {21 public void testNode() throws OsmTransferException { 22 22 OsmServerHistoryReader reader = new OsmServerHistoryReader(OsmPrimitiveType.NODE,266187); 23 23 HistoryDataSet ds = reader.parseHistory(NullProgressMonitor.INSTANCE); … … 27 27 28 28 @Test 29 public void test 2() throws OsmTransferException {30 OsmServerHistoryReader reader = new OsmServerHistoryReader(OsmPrimitiveType.WAY,3 2916);29 public void testWay() throws OsmTransferException { 30 OsmServerHistoryReader reader = new OsmServerHistoryReader(OsmPrimitiveType.WAY,3058844); 31 31 HistoryDataSet ds = reader.parseHistory(NullProgressMonitor.INSTANCE); 32 History h = ds.getHistory(3 2916, OsmPrimitiveType.WAY);32 History h = ds.getHistory(3058844, OsmPrimitiveType.WAY); 33 33 System.out.println("num versions: " + h.getNumVersions()); 34 34 } 35 35 36 36 @Test 37 public void test 3() throws OsmTransferException {37 public void testRelation() throws OsmTransferException { 38 38 OsmServerHistoryReader reader = new OsmServerHistoryReader(OsmPrimitiveType.RELATION,49); 39 39 HistoryDataSet ds = reader.parseHistory(NullProgressMonitor.INSTANCE);
Note:
See TracChangeset
for help on using the changeset viewer.