Changeset 12350 in josm for trunk/test/unit


Ignore:
Timestamp:
2017-06-09T00:03:23+02:00 (7 years ago)
Author:
michael2402
Message:

See #13036: Add data set tests to SelectCommand

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/command/SelectCommandTest.java

    r10758 r12350  
    123123    @Test
    124124    public void testGetParticipatingPrimitives() {
    125         SelectCommand command = new SelectCommand(Arrays.asList(testData.existingNode, testData.existingWay));
     125        SelectCommand command = new SelectCommand(Arrays.asList(testData.existingNode));
    126126        command.executeCommand();
    127         assertArrayEquals(new Object[] {}, command.getParticipatingPrimitives().toArray());
     127        assertArrayEquals(new Object[] { testData.existingNode }, command.getParticipatingPrimitives().toArray());
    128128    }
    129129
Note: See TracChangeset for help on using the changeset viewer.