Changeset 12244 in josm for trunk/test/unit


Ignore:
Timestamp:
2017-05-24T01:56:11+02:00 (3 years ago)
Author:
Don-vip
Message:

see #11924 - simplify DNSName copy by using reflection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/DNSNameTest.java

    r10758 r12244  
    77
    88import org.junit.Test;
    9 
    10 import nl.jqno.equalsverifier.EqualsVerifier;
    11 import nl.jqno.equalsverifier.Warning;
    129
    1310/**
     
    3431        assertEquals("127.0.0.1", new DNSName("127.0.0.1").getName());
    3532    }
    36 
    37     /**
    38      * Unit test of methods {@link DNSName#equals} and {@link DNSName#hashCode}.
    39      */
    40     @Test
    41     public void testEqualsContract() {
    42         EqualsVerifier.forClass(DNSName.class).suppress(Warning.NULL_FIELDS).verify();
    43     }
    4433}
Note: See TracChangeset for help on using the changeset viewer.