Changeset 8514 in josm for trunk/test/unit
- Timestamp:
- 2015-06-21T03:19:37+02:00 (10 years ago)
- Location:
- trunk/test/unit/org
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/CustomMatchers.java
r7937 r8514 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org; 3 4 import java.util.Collection; 3 5 4 6 import org.hamcrest.Description; … … 8 10 import org.openstreetmap.josm.tools.Predicate; 9 11 10 import java.util.Collection; 12 @Ignore("no test") 13 public final class CustomMatchers { 11 14 12 @Ignore("no test") 13 public class CustomMatchers { 15 private CustomMatchers() { 16 // Hide constructor for utility classes 17 } 14 18 15 19 public static <T> Matcher<? extends T> forPredicate(final Predicate<T> predicate) { -
trunk/test/unit/org/openstreetmap/josm/TestUtils.java
r8510 r8514 10 10 * Various utils, useful for unit tests. 11 11 */ 12 public class TestUtils { 12 public final class TestUtils { 13 14 private TestUtils() { 15 // Hide constructor for utility classes 16 } 13 17 14 18 /** -
trunk/test/unit/org/openstreetmap/josm/data/osm/history/HistoryNodeTest.java
r8510 r8514 18 18 Date d = new Date(); 19 19 HistoryNode node = new HistoryNode( 20 1 l,21 2 l,20 1L, 21 2L, 22 22 true, 23 23 User.createOsmUser(3, "testuser"), 24 4 l,24 4L, 25 25 d, 26 26 new LatLon(0, 0) -
trunk/test/unit/org/openstreetmap/josm/gui/conflict/nodes/NodeListMergeModelTest.java
r8513 r8514 60 60 } 61 61 try { 62 int rows[]= (int[]) idx[i];62 int[] rows = (int[]) idx[i]; 63 63 if (rows.length != 2) { 64 64 fail("illegal selection range. Either null or not length 2: " + Arrays.toString(rows));
Note:
See TracChangeset
for help on using the changeset viewer.