Changeset 10956 in josm for trunk


Ignore:
Timestamp:
2016-09-04T15:18:12+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11924 - suppress some equalsverifier warnings to workaround https://github.com/jqno/equalsverifier/issues/152

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

Legend:

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

    r10945 r10956  
    2323import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2424import nl.jqno.equalsverifier.EqualsVerifier;
     25import nl.jqno.equalsverifier.Warning;
    2526
    2627/**
     
    6465    public void testEqualsContract() {
    6566        EqualsVerifier.forClass(NodePair.class).usingGetClass()
     67            .suppress(Warning.ANNOTATION) // FIXME: remove it after https://github.com/jqno/equalsverifier/issues/152 is fixed
    6668            .withPrefabValues(Node.class, new Node(1), new Node(2))
    6769            .verify();
  • trunk/test/unit/org/openstreetmap/josm/actions/ExtensionFileFilterTest.java

    r10758 r10956  
    77
    88import nl.jqno.equalsverifier.EqualsVerifier;
     9import nl.jqno.equalsverifier.Warning;
    910
    1011/**
     
    4344    public void testEqualsContract() {
    4445        EqualsVerifier.forClass(ExtensionFileFilter.class).usingGetClass()
     46            .suppress(Warning.ANNOTATION) // FIXME: remove it after https://github.com/jqno/equalsverifier/issues/152 is fixed
    4547            .verify();
    4648    }
Note: See TracChangeset for help on using the changeset viewer.