Changeset 15988 in josm for trunk/test/unit
- Timestamp:
- 2020-03-01T23:36:07+01:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java
r15981 r15988 67 67 final MapCSSTagChecker test = new MapCSSTagChecker(); 68 68 Set<String> errors = new HashSet<>(); 69 test.checks.putAll("test", TagCheck.readMapCSS(new StringReader(css), "",errors::add).parseChecks);69 test.checks.putAll("test", TagCheck.readMapCSS(new StringReader(css), errors::add).parseChecks); 70 70 assertTrue(errors.toString(), errors.isEmpty()); 71 71 return test; -
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ChildOrParentSelectorTest.java
r15102 r15988 74 74 source.loadStyleSource(); 75 75 assertEquals(1, source.rules.size()); 76 return (ChildOrParentSelector) source.rules.get(0).selector ;76 return (ChildOrParentSelector) source.rules.get(0).selectors.get(0); 77 77 } 78 78
Note:
See TracChangeset
for help on using the changeset viewer.