Ignore:
Timestamp:
2013-12-10T20:47:49+01:00 (11 years ago)
Author:
simon04
Message:

see #9089 - repair fragile unit tests

File:
1 edited

Legend:

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

    r5630 r6467  
    8383        Assert.assertEquals("[NONE, NONE, FORWARD, FORWARD, NONE, NONE, NONE, I, I]", actual);
    8484        actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers())));
    85         Assert.assertEquals("[BACKWARD, BACKWARD, BACKWARD, BACKWARD, BACKWARD, BACKWARD, NONE, I, I]", actual);
     85        Assert.assertEquals("[FORWARD, FORWARD, FORWARD, FORWARD, BACKWARD, BACKWARD, NONE, I, I]", actual);
    8686    }
    8787
     
    9090        Relation relation = getRelation("associatedStreet");
    9191        String actual = getConnections(wayConnectionTypeCalculator.updateLinks(relation.getMembers()));
    92         Assert.assertEquals("[FORWARD, FORWARD, I, I, I, I]" , actual);
     92        Assert.assertEquals("[NONE, I, I, I, NONE, I]" , actual);
    9393        actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers())));
    94         Assert.assertEquals("[I, I, I, I, FORWARD, FORWARD]", actual);
     94        Assert.assertEquals("[FORWARD, FORWARD, I, I, I, I]", actual);
    9595    }
    9696
Note: See TracChangeset for help on using the changeset viewer.