Changeset 10299 in josm for trunk/test/unit/org/openstreetmap/josm/actions/search/SearchCompilerTest.java
- Timestamp:
- 2016-05-29T16:33:08+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/search/SearchCompilerTest.java
r9940 r10299 427 427 final SearchCompiler.Match c4 = SearchCompiler.compile("foo1 OR (bar1 bar2 baz1 XOR baz2) OR foo2"); 428 428 assertEquals("foo1 || (bar1 && bar2 && (baz1 ^ baz2)) || foo2", c4.toString()); 429 final SearchCompiler.Match c5 = SearchCompiler.compile("foo1 XOR (baz1 XOR (bar baz))"); 430 assertEquals("foo1 ^ baz1 ^ (bar && baz)", c5.toString()); 431 final SearchCompiler.Match c6 = SearchCompiler.compile("foo1 XOR ((baz1 baz2) XOR (bar OR baz))"); 432 assertEquals("foo1 ^ (baz1 && baz2) ^ (bar || baz)", c6.toString()); 429 433 } 430 434
Note:
See TracChangeset
for help on using the changeset viewer.