Skip to content

Commit

Permalink
Remove long-disabled MMRI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed May 28, 2024
1 parent 490df7f commit d3a9d97
Show file tree
Hide file tree
Showing 48 changed files with 0 additions and 441 deletions.

This file was deleted.

29 changes: 0 additions & 29 deletions src/test/java/org/opentripplanner/mmri/ExcludedStopsTest.java

This file was deleted.

41 changes: 0 additions & 41 deletions src/test/java/org/opentripplanner/mmri/OnTripTest.java

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions src/test/java/org/opentripplanner/mmri/PreferencesTest.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.opentripplanner.mmri;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.opentripplanner.transit.model.basic.TransitMode.BUS;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.opentripplanner.GtfsTest;
import org.opentripplanner.model.plan.Itinerary;
Expand All @@ -30,28 +28,4 @@ public void test2c1() {
itinerary.toStr()
);
}

@Test
@Disabled
public void test2c2() {
Itinerary itinerary = plan(+1388530860L, "2c1", "2c3", null, false, false, BUS, "", "", 3);

Leg[] legs = itinerary.getLegs().toArray(new Leg[3]);

validateLeg(legs[1], 1388530920000L, 1388531160000L, "2c5", "2c4", null);

assertEquals("", itinerary.toStr());
}

@Test
@Disabled
public void test2c3() {
Itinerary itinerary = plan(+1388530860L, "2c1", "2c3", null, false, true, null, "", "", 3);

Leg[] legs = itinerary.getLegs().toArray(new Leg[3]);

validateLeg(legs[1], 1388530920000L, 1388531160000L, "2c5", "2c4", null);

assertEquals("", itinerary.toStr());
}
}
29 changes: 0 additions & 29 deletions src/test/java/org/opentripplanner/mmri/ServiceAlertTest.java

This file was deleted.

25 changes: 0 additions & 25 deletions src/test/java/org/opentripplanner/mmri/TimeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.opentripplanner.GtfsTest;
import org.opentripplanner.model.plan.Itinerary;
Expand Down Expand Up @@ -37,30 +36,6 @@ public void test1g2() {
assertEquals("Stop 1g1 ~ BUS bus 0:01 0:02 ~ Stop 1g2 [C₁90]", itinerary.toStr());
}

@Test
@Disabled
public void test1g3() {
Itinerary itinerary = plan(+1388617380L, "1g1", "1g2", null, false, false, null, "", "", 1);

Leg leg = itinerary.getLegs().toArray(new Leg[1])[0];

validateLeg(leg, 1388703660000L, 1388703720000L, "1g2", "1g1", null);

assertEquals("", itinerary.toStr());
}

@Test
@Disabled
public void test1g4() {
Itinerary itinerary = plan(-1388617440L, "1g1", "1g2", null, false, false, null, "", "", 1);

Leg leg = itinerary.getLegs().toArray(new Leg[1])[0];

validateLeg(leg, 1388531100000L, 1388531160000L, "1g2", "1g1", null);

assertEquals("", itinerary.toStr());
}

@Test
public void test1g5() {
Itinerary itinerary = plan(+1388703780L, "1g1", "1g2", null, false, false, null, "", "", 1);
Expand Down
54 changes: 0 additions & 54 deletions src/test/java/org/opentripplanner/mmri/TransferTimeTest.java

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/resources/mmri/1a/agency.txt

This file was deleted.

4 changes: 0 additions & 4 deletions src/test/resources/mmri/1a/calendar_dates.txt

This file was deleted.

4 changes: 0 additions & 4 deletions src/test/resources/mmri/1a/routes.txt

This file was deleted.

7 changes: 0 additions & 7 deletions src/test/resources/mmri/1a/stop_times.txt

This file was deleted.

7 changes: 0 additions & 7 deletions src/test/resources/mmri/1a/stops.txt

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/resources/mmri/1a/transfers.txt

This file was deleted.

4 changes: 0 additions & 4 deletions src/test/resources/mmri/1a/trips.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/resources/mmri/2a2/agency.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/resources/mmri/2a2/calendar_dates.txt

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/resources/mmri/2a2/routes.txt

This file was deleted.

15 changes: 0 additions & 15 deletions src/test/resources/mmri/2a2/stop_times.txt

This file was deleted.

5 changes: 0 additions & 5 deletions src/test/resources/mmri/2a2/stops.txt

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/resources/mmri/2a2/transfers.txt

This file was deleted.

8 changes: 0 additions & 8 deletions src/test/resources/mmri/2a2/trips.txt

This file was deleted.

Loading

0 comments on commit d3a9d97

Please sign in to comment.