Skip to content

Commit

Permalink
Remove more flex tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 16, 2024
1 parent ec32484 commit 33c8481
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/test/java/org/opentripplanner/smoketest/AtlantaSmokeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@

import java.io.IOException;
import java.util.List;
import java.util.Set;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.opentripplanner.client.model.Coordinate;
import org.opentripplanner.client.parameters.TripPlanParameters;
import org.opentripplanner.smoketest.util.RequestCombinationsBuilder;
import org.opentripplanner.smoketest.util.SmokeTestRequest;

/**
* This smoke test expects an OTP installation running at localhost:8080
Expand All @@ -30,26 +27,11 @@
@Tag("atlanta")
public class AtlantaSmokeTest {

static Coordinate nearGeorgiaStateStation = new Coordinate(33.74139944890028, -84.38607215881348);
static Coordinate powderSpringsInsideFlexZone1 = new Coordinate(
33.86916840022388,
-84.66315507888794
);

static Coordinate peachtreeCreek = new Coordinate(33.7310, -84.3823);
static Coordinate lindberghCenter = new Coordinate(33.8235, -84.3674);
static Coordinate maddoxPark = new Coordinate(33.7705, -84.4265);
static Coordinate druidHills = new Coordinate(33.77933, -84.33689);

@Test
public void regularRouteFromCentralAtlantaToPowderSprings() {
var modes = Set.of(TRANSIT, WALK);
SmokeTest.basicRouteTest(
new SmokeTestRequest(nearGeorgiaStateStation, powderSpringsInsideFlexZone1, modes),
List.of("WALK", "SUBWAY", "WALK", "BUS", "WALK", "BUS", "WALK")
);
}

static List<TripPlanParameters> buildCombinations() {
return new RequestCombinationsBuilder()
.withLocations(lindberghCenter, peachtreeCreek, maddoxPark, druidHills)
Expand Down

0 comments on commit 33c8481

Please sign in to comment.