Changeset 10758 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation
- Timestamp:
- 2016-08-07T17:39:42+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/DuplicateNodeTest.java
r7937 r10758 29 29 */ 30 30 @Test 31 public void test () {31 public void testDuplicateNode() { 32 32 DataSet ds = new DataSet(); 33 33 -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r10710 r10758 86 86 87 87 @Test 88 public void test 10913() throws Exception {88 public void testTicket10913() throws Exception { 89 89 final OsmPrimitive p = OsmUtils.createPrimitive("way highway=tertiary construction=yes"); 90 90 final TagCheck check = TagCheck.readMapCSS(new StringReader("way {" + … … 101 101 102 102 @Test 103 public void test 9782() throws Exception {103 public void testTicket9782() throws Exception { 104 104 final MapCSSTagChecker test = buildTagChecker("*[/.+_name/][!name] {" + 105 105 "throwWarning: tr(\"has {0} but not {1}\", \"{0.key}\", \"{1.key}\");}"); … … 112 112 113 113 @Test 114 public void test 10859() throws Exception {114 public void testTicket10859() throws Exception { 115 115 final MapCSSTagChecker test = buildTagChecker("way[highway=footway][foot?!] {\n" + 116 116 " throwWarning: tr(\"{0} used with {1}\", \"{0.value}\", \"{1.tag}\");}"); -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/NameMismatchTest.java
r10218 r10758 35 35 */ 36 36 @Test 37 public void test 0() {37 public void testCase0() { 38 38 final List<TestError> errors = test("node name:de=Europa"); 39 39 assertEquals(1, errors.size()); … … 45 45 */ 46 46 @Test 47 public void test 1() {47 public void testCase1() { 48 48 final List<TestError> errors = test("node name=Europe name:de=Europa"); 49 49 assertEquals(1, errors.size()); … … 55 55 */ 56 56 @Test 57 public void test 2() {57 public void testCase2() { 58 58 final List<TestError> errors = test("node name=Europe name:de=Europa name:en=Europe"); 59 59 assertEquals(0, errors.size()); … … 64 64 */ 65 65 @Test 66 public void test 3() {66 public void testCase3() { 67 67 List<TestError> errors; 68 68 errors = test("node \"name\"=\"Italia - Italien - Italy\""); -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/PublicTransportRouteTestTest.java
r10141 r10758 35 35 */ 36 36 @Test 37 public void test () {37 public void testVarious() { 38 38 final List<Node> nodes = Arrays.asList(new Node(), new Node(), new Node(), new Node(), new Node(), new Node()); 39 39 final Way w1 = TestUtils.newWay("", nodes.get(0), nodes.get(1));
Note:
See TracChangeset
for help on using the changeset viewer.