Changeset 15496 in josm for trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxRouteTest.java
- Timestamp:
- 2019-11-02T15:11:34+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxRouteTest.java
r13079 r15496 30 30 public void testEqualsContract() { 31 31 TestUtils.assumeWorkingEqualsVerifier(); 32 GpxExtensionCollection col = new GpxExtensionCollection(); 33 col.add("josm", "from-server", "true"); 32 34 EqualsVerifier.forClass(GpxRoute.class).usingGetClass() 33 35 .suppress(Warning.NONFINAL_FIELDS) 34 36 .withPrefabValues(WayPoint.class, new WayPoint(LatLon.NORTH_POLE), new WayPoint(LatLon.SOUTH_POLE)) 37 .withPrefabValues(GpxExtensionCollection.class, new GpxExtensionCollection(), col) 35 38 .verify(); 36 39 }
Note:
See TracChangeset
for help on using the changeset viewer.
