Changeset 15013 in josm for trunk/test/unit
- Timestamp:
- 2019-04-22T15:00:55+02:00 (6 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/command/RemoveNodesCommandTest.java
r13079 r15013 52 52 public void testExecute() { 53 53 RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay, 54 Collections.singleton List(testData.existingNode));54 Collections.singleton(testData.existingNode)); 55 55 56 56 command.executeCommand(); … … 67 67 public void testUndo() { 68 68 RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay, 69 Collections.singleton List(testData.existingNode));69 Collections.singleton(testData.existingNode)); 70 70 71 71 command.executeCommand(); … … 92 92 ArrayList<OsmPrimitive> added = new ArrayList<>(); 93 93 RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay, 94 Collections.singleton List(testData.existingNode));94 Collections.singleton(testData.existingNode)); 95 95 command.fillModifiedData(modified, deleted, added); 96 96 assertArrayEquals(new Object[] {testData.existingWay }, modified.toArray()); … … 105 105 public void testGetParticipatingPrimitives() { 106 106 RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay, 107 Collections.singleton List(testData.existingNode));107 Collections.singleton(testData.existingNode)); 108 108 command.executeCommand(); 109 109 assertArrayEquals(new Object[] {testData.existingWay }, command.getParticipatingPrimitives().toArray()); … … 115 115 @Test 116 116 public void testDescription() { 117 assertTrue(new RemoveNodesCommand(testData.existingWay, Collections.singleton List(testData.existingNode))117 assertTrue(new RemoveNodesCommand(testData.existingWay, Collections.singleton(testData.existingNode)) 118 118 .getDescriptionText().matches("Removed nodes from .*")); 119 119 } -
trunk/test/unit/org/openstreetmap/josm/gui/io/UploadDialogTest.java
r15010 r15013 280 280 */ 281 281 @Test 282 public void test validateUploadTag() {282 public void testValidateUploadTag() { 283 283 doTestValidateUploadTag("upload.comment"); 284 284 doTestValidateUploadTag("upload.source");
Note:
See TracChangeset
for help on using the changeset viewer.