Changeset 9693 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2016-01-31T11:28:22+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/UntaggedNodeTest.java
r9666 r9693 2 2 package org.openstreetmap.josm.data.validation.tests; 3 3 4 import static org.CustomMatchers.hasSize; 4 5 import static org.CustomMatchers.isEmpty; 5 6 import static org.junit.Assert.assertThat; … … 46 47 } 47 48 } 49 50 /** 51 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/12464">Bug #12464</a>. 52 * @throws Exception if an error occurs 53 */ 54 @Test 55 public void testTicket12464() throws Exception { 56 test.initialize(); 57 test.startTest(null); 58 try (InputStream fis = TestUtils.getRegressionDataStream(12464, "example.osm")) { 59 final DataSet ds = OsmReader.parseDataSet(fis, NullProgressMonitor.INSTANCE); 60 test.visit(ds.allPrimitives()); 61 test.endTest(); 62 assertThat(test.getErrors(), hasSize(1)); 63 } 64 } 48 65 }
Note:
See TracChangeset
for help on using the changeset viewer.