Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte committed Nov 10, 2023
1 parent 8b87053 commit 62d5f88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ void testWithDump() throws Exception {
dynamicSimulationParameters.addExtension(DynaWaltzParameters.class, dynaWaltzParameters);

assertEquals(DynaWaltzProvider.NAME, dynawoSimulation.getName());
DynamicSimulationResult result = dynawoSimulation.run(network, n -> Collections.emptyList(), EventModelsSupplier.empty(),
DynamicSimulationResult result = dynawoSimulation.run(network, (n, r) -> Collections.emptyList(), EventModelsSupplier.empty(),
CurvesSupplier.empty(), network.getVariantManager().getWorkingVariantId(),
computationManager, dynamicSimulationParameters);
computationManager, dynamicSimulationParameters, NO_OP);
assertNotNull(result);
}

Expand Down Expand Up @@ -196,7 +196,7 @@ void testCallingBadVersionDynawo() throws Exception {
CurvesSupplier cs = CurvesSupplier.empty();
String wvId = network.getVariantManager().getWorkingVariantId();
DynamicSimulationParameters dsp = DynamicSimulationParameters.load();
PowsyblException e = assertThrows(PowsyblException.class, () -> dynawoSimulation.run(network, dms, ems, cs, wvId, computationManager, dsp));
PowsyblException e = assertThrows(PowsyblException.class, () -> dynawoSimulation.run(network, dms, ems, cs, wvId, computationManager, dsp, NO_OP));
assertEquals("dynawo version not supported. Must be >= " + DynawoConstants.VERSION_MIN, e.getMessage());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void testIeee14WithDump() throws IOException {
.setDumpFileParameters(dumpFileParameters);

DynamicSimulationResult result = provider.run(network, dynamicModelsSupplier, eventModelsSupplier, curvesSupplier,
VariantManagerConstants.INITIAL_VARIANT_ID, computationManager, parameters)
VariantManagerConstants.INITIAL_VARIANT_ID, computationManager, parameters, NO_OP)
.join();
assertTrue(result.isOk());

Expand All @@ -141,7 +141,7 @@ void testIeee14WithDump() throws IOException {
dynaWaltzParameters.setDumpFileParameters(DumpFileParameters.createImportDumpFileParameters(dumpDir, dumpFile));

result = provider.run(network, dynamicModelsSupplier, eventModelsSupplier, curvesSupplier,
VariantManagerConstants.INITIAL_VARIANT_ID, computationManager, parameters)
VariantManagerConstants.INITIAL_VARIANT_ID, computationManager, parameters, NO_OP)
.join();

assertTrue(result.isOk());
Expand Down

0 comments on commit 62d5f88

Please sign in to comment.