Changeset 11747 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2017-03-19T15:55:27+01:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/DuplicateNodeTest.java
r11007 r11747 31 31 private static final DuplicateNode TEST = new DuplicateNode(); 32 32 33 private static void doTest(int code, Tag 33 private static void doTest(int code, Tag... tags) { 34 34 performTest(code, buildDataSet(tags), true); 35 35 } -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/ValidatorTestUtils.java
r10991 r11747 34 34 static <T extends OsmPrimitive> void testSampleFile(String sampleFile, 35 35 Function<DataSet, Iterable<T>> provider, Predicate<String> namePredicate, 36 Test 36 Test... tests) throws Exception { 37 37 try (InputStream is = new FileInputStream(sampleFile)) { 38 38 for (T t: provider.apply(OsmReader.parseDataSet(is, null))) {
Note:
See TracChangeset
for help on using the changeset viewer.