Changeset 11886 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2017-04-11T23:41:13+02:00 (8 years ago)
Author:
Don-vip
Message:

see #14635 - add a new unit test (not directly related to the bug)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculatorTest.java

    r10876 r11886  
    55import java.io.IOException;
    66import java.io.InputStream;
     7import java.util.ArrayList;
    78import java.util.Arrays;
    89import java.util.List;
     
    9798
    9899    @Test
     100    public void testEmpty() {
     101        String actual = getConnections(wayConnectionTypeCalculator.updateLinks(new ArrayList<>()));
     102        Assert.assertEquals("[]", actual);
     103    }
     104
     105    @Test
    99106    public void testGeneric() {
    100107        Relation relation = getRelation("generic");
Note: See TracChangeset for help on using the changeset viewer.