Changeset 17774 in josm


Ignore:
Timestamp:
2021-04-13T22:24:05+02:00 (4 years ago)
Author:
simon04
Message:

see #20744 - Fix ConditionFactoryTest ($jacocoInit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactoryTest.java

    r17762 r17774  
    1515
    1616import java.lang.reflect.Method;
     17import java.lang.reflect.Modifier;
    1718
    1819/**
     
    5253    void testAllPseudoClassesRegistered() {
    5354        for (Method method : PseudoClasses.class.getDeclaredMethods()) {
     55            if (!Modifier.isPublic(method.getModifiers()) || method.toString().contains("$jacocoInit")) {
     56                return;
     57            }
    5458            String name = method.getName().replaceFirst("^_new$", "new");
    5559            Context context = name.equals("sameTags") ? Context.LINK : Context.PRIMITIVE;
Note: See TracChangeset for help on using the changeset viewer.