Skip to content

Commit

Permalink
Fix order of engines in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoerl committed Oct 2, 2018
1 parent 9077d96 commit 67ed624
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ public void testEvents_withoutPassengers_withLinks_Sesselbahn() {
.addQSimModule(new ActivityEngineModule())
.addQSimModule(new SBBTransitEngineQSimModule())
.addQSimModule(new TestQSimModule(f.config))
.configureComponents(SBBTransitEngineQSimModule::configure)
.configureComponents(configurator -> {
configurator.activeActivityHandlers.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME);
configurator.activeMobsimEngines.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME);
})
.configureComponents(SBBTransitEngineQSimModule::configure)
.build(f.scenario, eventsManager);

EventsCollector collector = new EventsCollector();
Expand Down Expand Up @@ -485,11 +485,11 @@ public void testEvents_withoutPassengers_withLinks_FromToLoopLink() {
.addQSimModule(new ActivityEngineModule())
.addQSimModule(new SBBTransitEngineQSimModule())
.addQSimModule(new TestQSimModule(f.config))
.configureComponents(SBBTransitEngineQSimModule::configure)
.configureComponents(configurator -> {
configurator.activeActivityHandlers.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME);
configurator.activeMobsimEngines.add(ActivityEngineModule.ACTIVITY_ENGINE_NAME);
})
.configureComponents(SBBTransitEngineQSimModule::configure)
.build(f.scenario, eventsManager);

EventsCollector collector = new EventsCollector();
Expand Down

0 comments on commit 67ed624

Please sign in to comment.