Ignore:
Timestamp:
2014-04-29T15:35:53+02:00 (10 years ago)
Author:
Don-vip
Message:

fix more warnings (-Xlint:rawtypes), remove deprecated method and unused imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java

    r7005 r7027  
    5555        final Node n1 = new Node();
    5656        n1.put("natural", "marsh");
    57         assertTrue(check.matchesPrimitive(n1));
     57        assertTrue(check.evaluate(n1));
    5858        assertThat(check.getErrorForPrimitive(n1).getMessage(), is("natural=marsh is deprecated"));
    5959        assertThat(check.getErrorForPrimitive(n1).getSeverity(), is(Severity.WARNING));
     
    6363        final Node n2 = new Node();
    6464        n2.put("natural", "wood");
    65         assertFalse(check.matchesPrimitive(n2));
     65        assertFalse(check.evaluate(n2));
    6666        assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selectors.get(0), "The key is {0.key} and the value is {0.value}"),
    6767                is("The key is natural and the value is marsh"));
Note: See TracChangeset for help on using the changeset viewer.