Skip to content

Commit

Permalink
Merge pull request #1 from sebhoerl/fix-engine-order
Browse files Browse the repository at this point in the history
Fix order of engines in unit tests
  • Loading branch information
mrieser authored Oct 3, 2018
2 parents 9077d96 + 67ed624 commit d18d5ca
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 d18d5ca

Please sign in to comment.