Ignore:
Timestamp:
2017-06-28T18:00:52+02:00 (8 years ago)
Author:
giackserva
Message:

[pt_assistant] checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/actions/SplitRoundaboutTest.java

    r33415 r33417  
    7171    @Test
    7272    public void test1() {
    73         Collection<Way> sw1 = splitWay(r1);
    74         assertEquals(4, sw1.size());
     73        Collection<Way> sw1 = splitWay(r1);
     74        assertEquals(4, sw1.size());
    7575        sw1.forEach(w -> {
    7676            if (w.firstNode().getUniqueId() == 267843779L && w.lastNode().getUniqueId() == 2968718407L)
     
    8989    @Test
    9090    public void test2() {
    91         Collection<Way> sw2 = splitWay(r2);
    92         assertEquals(4, sw2.size());
     91        Collection<Way> sw2 = splitWay(r2);
     92        assertEquals(4, sw2.size());
    9393        sw2.forEach(w -> {
    9494            if(w.firstNode().getUniqueId() == 2158181809L && w.lastNode().getUniqueId() == 2158181798L)
     
    107107    @Test
    108108    public void test3() {
    109         Collection<Way> sw3 = splitWay(r3);
    110         assertEquals(4, sw3.size());
     109        Collection<Way> sw3 = splitWay(r3);
     110        assertEquals(4, sw3.size());
    111111        sw3.forEach(w -> {
    112112            if(w.firstNode().getUniqueId() == 280697532L && w.lastNode().getUniqueId() == 280697452L)
     
    125125    @Test
    126126    public void test4() {
    127         Collection<Way> sw4 = splitWay(r4);
    128         assertEquals(10, sw4.size());
    129         Node entry11 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry1-1")).iterator().next();
    130         Node exit11 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit1-1")).iterator().next();
    131         Node entry12 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry1-2")).iterator().next();
    132         Node exit12 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit1-2")).iterator().next();
    133         Node entry21 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry2-1")).iterator().next();
    134         Node exit21 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit2-1")).iterator().next();
    135         Node entry22 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry2-2")).iterator().next();
    136         Node exit22 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit2-2")).iterator().next();
    137         Node entry3 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry3")).iterator().next();
    138         Node exit3 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit3")).iterator().next();
     127        Collection<Way> sw4 = splitWay(r4);
     128        assertEquals(10, sw4.size());
     129        Node entry11 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry1-1")).iterator().next();
     130        Node exit11 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit1-1")).iterator().next();
     131        Node entry12 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry1-2")).iterator().next();
     132        Node exit12 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit1-2")).iterator().next();
     133        Node entry21 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry2-1")).iterator().next();
     134        Node exit21 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit2-1")).iterator().next();
     135        Node entry22 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry2-2")).iterator().next();
     136        Node exit22 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit2-2")).iterator().next();
     137        Node entry3 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nentry3")).iterator().next();
     138        Node exit3 = (Node) ds.getPrimitives(p -> p.hasTag("name", "nexit3")).iterator().next();
    139139
    140140        sw4.forEach(w -> {
Note: See TracChangeset for help on using the changeset viewer.