Changeset 11392 in josm for trunk/test/unit
- Timestamp:
- 2016-12-14T00:52:36+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/StorageTest.java
r11325 r11392 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import org.junit.Ignore;5 4 import org.junit.Rule; 6 5 import org.junit.Test; … … 9 8 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 9 import nl.jqno.equalsverifier.EqualsVerifier; 10 import nl.jqno.equalsverifier.Warning; 11 11 12 12 /** … … 26 26 */ 27 27 @Test 28 @Ignore("not ready")29 28 public void testEqualsContract() { 30 29 EqualsVerifier.forClass(Storage.class).usingGetClass() 31 /*.withPrefabValues(Collection.class, new HashSet<>(Arrays.asList(1)), new HashSet<>(Arrays.asList(2))) 32 .withPrefabValues(AbstractCollection.class, new HashSet<>(Arrays.asList(1)), new HashSet<>(Arrays.asList(2))) 33 .withPrefabValues(Set.class, new HashSet<>(Arrays.asList(1)), new HashSet<>(Arrays.asList(2))) 34 .withPrefabValues(AbstractSet.class, new HashSet<>(Arrays.asList(1)), new HashSet<>(Arrays.asList(2)))*/ 30 .suppress(Warning.NONFINAL_FIELDS) 31 .withIgnoredFields("arrayCopyNecessary", "hash", "mask", "modCount", "safeIterator", "size") 35 32 .withPrefabValues(Hash.class, Storage.<Integer>defaultHash(), Storage.<Boolean>defaultHash()) 36 33 .verify();
Note:
See TracChangeset
for help on using the changeset viewer.