Last change
on this file since 11974 was 10758, checked in by Don-vip, 8 years ago |
sonar - squid:S3578 - Test methods should comply with a naming convention
|
-
Property svn:eol-style
set to
native
|
File size:
503 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.tools;
|
---|
3 |
|
---|
4 | import org.junit.Test;
|
---|
5 |
|
---|
6 | import nl.jqno.equalsverifier.EqualsVerifier;
|
---|
7 | import nl.jqno.equalsverifier.Warning;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Unit tests of {@link Pair} class.
|
---|
11 | */
|
---|
12 | public class PairTest {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * Unit test of methods {@link Pair#equals} and {@link Pair#hashCode}.
|
---|
16 | */
|
---|
17 | @Test
|
---|
18 | public void testEqualsContract() {
|
---|
19 | EqualsVerifier.forClass(Pair.class).suppress(Warning.NONFINAL_FIELDS).verify();
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.