Changeset 8510 in josm for trunk/test/unit/org/openstreetmap/josm/tools/template_engine
- Timestamp:
- 2015-06-20T23:42:21+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/template_engine/TemplateEngineTest.java
r8509 r8510 93 93 } 94 94 } 95 95 96 @Override 96 97 public boolean evaluateCondition(Match condition) { 97 98 return true; 98 99 } 100 99 101 @Override 100 102 public List<String> getTemplateKeys() { … … 245 247 } 246 248 247 @Test(expected =ParseError.class)249 @Test(expected = ParseError.class) 248 250 public void testErrorsNot() throws ParseError { 249 251 TemplateParser parser = new TemplateParser("!{-parent() '{name}'}"); … … 251 253 } 252 254 253 @Test(expected =ParseError.class)255 @Test(expected = ParseError.class) 254 256 public void testErrorOr() throws ParseError { 255 257 TemplateParser parser = new TemplateParser("!{parent() | type=type1 '{name}'}");
Note:
See TracChangeset
for help on using the changeset viewer.