Changeset 14004 in josm for trunk


Ignore:
Timestamp:
2018-07-06T00:55:42+02:00 (12 months ago)
Author:
Don-vip
Message:

add workaround to https://github.com/jqno/equalsverifier/issues/197

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/CombineWayActionTest.java

    r13079 r14004  
    6666        TestUtils.assumeWorkingEqualsVerifier();
    6767        EqualsVerifier.forClass(NodePair.class).usingGetClass()
    68             .suppress(Warning.ANNOTATION) // FIXME: remove it after https://github.com/jqno/equalsverifier/issues/152 is fixed
     68            .suppress(Warning.ANNOTATION) // FIXME: remove it after https://github.com/jqno/equalsverifier/issues/197 is fixed
    6969            .withPrefabValues(Node.class, new Node(1), new Node(2))
    7070            .verify();
  • trunk/test/unit/org/openstreetmap/josm/gui/MapStatusTest.java

    r13079 r14004  
    99import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1010import nl.jqno.equalsverifier.EqualsVerifier;
     11import nl.jqno.equalsverifier.Warning;
    1112
    1213/**
     
    2829    public void testEqualsContract() {
    2930        TestUtils.assumeWorkingEqualsVerifier();
    30         EqualsVerifier.forClass(MapStatus.StatusTextHistory.class).withIgnoredFields("text").verify();
     31        EqualsVerifier.forClass(MapStatus.StatusTextHistory.class)
     32            .suppress(Warning.ANNOTATION) // FIXME: To remove once https://github.com/jqno/equalsverifier/issues/197 is fixed
     33            .withIgnoredFields("text").verify();
    3134    }
    3235}
Note: See TracChangeset for help on using the changeset viewer.