Skip to content

Commit

Permalink
fixed matsim test utils usage
Browse files Browse the repository at this point in the history
  • Loading branch information
paulheinr committed Dec 12, 2023
1 parent ae94582 commit ae32b59
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
public class PersonScoringParametersFromPersonAttributesNoSubpopulationTest {

@RegisterExtension
private MatsimTestUtils utils;
private MatsimTestUtils utils = new MatsimTestUtils();
private PersonScoringParametersFromPersonAttributes personScoringParams;
private Population population;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
public class PersonScoringParametersFromPersonAttributesTest {

@RegisterExtension
private MatsimTestUtils utils;
private MatsimTestUtils utils = new MatsimTestUtils();
private PersonScoringParametersFromPersonAttributes personScoringParams;
private Population population;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.matsim.api.core.v01.Id;
import org.matsim.api.core.v01.Scenario;
import org.matsim.api.core.v01.TransportMode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class IncomeDependentUtilityOfMoneyPersonScoringParametersNoSubpopulationTest {

@RegisterExtension
private MatsimTestUtils utils;
private MatsimTestUtils utils = new MatsimTestUtils();
private IncomeDependentUtilityOfMoneyPersonScoringParameters personScoringParams;
private Population population;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class IncomeDependentUtilityOfMoneyPersonScoringParametersTest {

@RegisterExtension
private MatsimTestUtils utils;
private MatsimTestUtils utils = new MatsimTestUtils();
private IncomeDependentUtilityOfMoneyPersonScoringParameters personScoringParams;
private Population population;

Expand Down

0 comments on commit ae32b59

Please sign in to comment.