Last change
on this file since 11325 was 11325, checked in by Don-vip, 7 years ago |
ignore test committed by mistake
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm;
|
---|
3 |
|
---|
4 | import org.junit.Ignore;
|
---|
5 | import org.junit.Rule;
|
---|
6 | import org.junit.Test;
|
---|
7 | import org.openstreetmap.josm.testutils.JOSMTestRules;
|
---|
8 |
|
---|
9 | import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
---|
10 | import nl.jqno.equalsverifier.EqualsVerifier;
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Unit tests for class {@link Storage}.
|
---|
14 | */
|
---|
15 | public class StorageTest {
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Setup test.
|
---|
19 | */
|
---|
20 | @Rule
|
---|
21 | @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
---|
22 | public JOSMTestRules test = new JOSMTestRules();
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * Unit test of methods {@link Storage#equals} and {@link Storage#hashCode}.
|
---|
26 | */
|
---|
27 | @Test
|
---|
28 | @Ignore("not ready")
|
---|
29 | public void testEqualsContract() {
|
---|
30 | 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)))*/
|
---|
35 | .withPrefabValues(Hash.class, Storage.<Integer>defaultHash(), Storage.<Boolean>defaultHash())
|
---|
36 | .verify();
|
---|
37 | }
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.