Changeset 11192 in josm for trunk/test/unit/org
- Timestamp:
- 2016-10-30T15:25:57+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/search/SearchCompilerTest.java
r10373 r11192 9 9 import org.junit.Rule; 10 10 import org.junit.Test; 11 import org.openstreetmap.josm.actions.search.SearchAction.SearchSetting; 11 12 import org.openstreetmap.josm.actions.search.SearchCompiler.Match; 12 13 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError; … … 449 450 assertTrue(SearchCompiler.compile(search2).match(tag2)); 450 451 } 452 453 /** 454 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/13870">Bug #13870</a>. 455 * @throws ParseError always 456 */ 457 @Test(expected = ParseError.class) 458 public void testPattern13870() throws ParseError { 459 // https://bugs.openjdk.java.net/browse/JI-9044959 460 SearchSetting setting = new SearchSetting(); 461 setting.regexSearch = true; 462 setting.text = "["; 463 SearchCompiler.compile(setting); 464 } 451 465 }
Note:
See TracChangeset
for help on using the changeset viewer.