Changeset 14085 in josm for trunk/test/unit/org
- Timestamp:
- 2018-08-04T20:26:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/corrector/ReverseWayTagCorrectorTest.java
r11921 r14085 62 62 assertSwitch(new Tag("direction", "forward"), new Tag("direction", "backward")); 63 63 assertSwitch(new Tag("direction", "backward"), new Tag("direction", "forward")); 64 assertSwitch(new Tag("direction", "north"), new Tag("direction", "south"));65 64 // :left/:right with oneway (see #10977) 66 65 assertSwitch(new Tag("cycleway:left:oneway", "-1"), new Tag("cycleway:right:oneway", "yes")); … … 76 75 assertSwitch(new Tag("up", "something"), new Tag("down", "something")); 77 76 assertSwitch(new Tag("down", "something"), new Tag("up", "something")); 78 assertSwitch(new Tag("east", "something"), new Tag("west", "something"));79 assertSwitch(new Tag("west", "something"), new Tag("east", "something"));80 assertSwitch(new Tag("south", "something"), new Tag("north", "something"));81 assertSwitch(new Tag("north", "something"), new Tag("south", "something"));82 77 // values 83 78 assertSwitch(new Tag("something", "forward"), new Tag("something", "backward")); … … 85 80 assertSwitch(new Tag("something", "up"), new Tag("something", "down")); 86 81 assertSwitch(new Tag("something", "down"), new Tag("something", "up")); 87 assertSwitch(new Tag("something", "east"), new Tag("something", "west"));88 assertSwitch(new Tag("something", "west"), new Tag("something", "east"));89 assertSwitch(new Tag("something", "south"), new Tag("something", "north"));90 assertSwitch(new Tag("something", "north"), new Tag("something", "south"));91 82 // value[:_]suffix 92 83 assertSwitch(new Tag("something", "forward:suffix"), new Tag("something", "backward:suffix")); … … 94 85 assertSwitch(new Tag("something", "up:suffix"), new Tag("something", "down:suffix")); 95 86 assertSwitch(new Tag("something", "down_suffix"), new Tag("something", "up_suffix")); 96 assertSwitch(new Tag("something", "east:suffix"), new Tag("something", "west:suffix"));97 assertSwitch(new Tag("something", "west_suffix"), new Tag("something", "east_suffix"));98 assertSwitch(new Tag("something", "south:suffix"), new Tag("something", "north:suffix"));99 assertSwitch(new Tag("something", "north_suffix"), new Tag("something", "south_suffix"));100 87 // prefix[:_]value 101 88 assertSwitch(new Tag("something", "prefix:forward"), new Tag("something", "prefix:backward")); … … 103 90 assertSwitch(new Tag("something", "prefix:up"), new Tag("something", "prefix:down")); 104 91 assertSwitch(new Tag("something", "prefix_down"), new Tag("something", "prefix_up")); 105 assertSwitch(new Tag("something", "prefix:east"), new Tag("something", "prefix:west"));106 assertSwitch(new Tag("something", "prefix_west"), new Tag("something", "prefix_east"));107 assertSwitch(new Tag("something", "prefix:south"), new Tag("something", "prefix:north"));108 assertSwitch(new Tag("something", "prefix_north"), new Tag("something", "prefix_south"));109 92 // prefix[:_]value[:_]suffix 110 93 assertSwitch(new Tag("something", "prefix:forward:suffix"), new Tag("something", "prefix:backward:suffix")); … … 112 95 assertSwitch(new Tag("something", "prefix:up_suffix"), new Tag("something", "prefix:down_suffix")); 113 96 assertSwitch(new Tag("something", "prefix_down_suffix"), new Tag("something", "prefix_up_suffix")); 114 assertSwitch(new Tag("something", "prefix:east:suffix"), new Tag("something", "prefix:west:suffix"));115 assertSwitch(new Tag("something", "prefix_west:suffix"), new Tag("something", "prefix_east:suffix"));116 assertSwitch(new Tag("something", "prefix:south_suffix"), new Tag("something", "prefix:north_suffix"));117 assertSwitch(new Tag("something", "prefix_north_suffix"), new Tag("something", "prefix_south_suffix"));118 97 // #8499 119 98 assertSwitch(new Tag("type", "drawdown"), new Tag("type", "drawdown"));
Note:
See TracChangeset
for help on using the changeset viewer.