Skip to content

Commit

Permalink
finalize test repository varible
Browse files Browse the repository at this point in the history
  • Loading branch information
Capt-Mac committed Nov 12, 2024
1 parent 63e2fd3 commit 0e9f028
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class MeasureEvaluatedResourcesTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureEvaluatedResourcesTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class MeasureImprovementNotationTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureImprovementNotationTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class MeasureReportTypeIndividualTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureReportTypeIndividualTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MeasureReportTypeInvalidTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureReportTypeInvalidTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class MeasureReportTypeSubjectListTest {
FhirContext.forR4Cached(),
Paths.get(
getResourcePath(MeasureReportTypeSubjectListTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class MeasureReportTypeSummaryTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureReportTypeSummaryTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class MeasureSDETest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureSDETest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class MeasureScoringTypeCohortTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureScoringTypeCohortTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class MeasureScoringTypeCompositeTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureScoringTypeCompositeTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class MeasureScoringTypeContinuousVariableTest {
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureScoringTypeContinuousVariableTest.class) + "/" + CLASS_PATH + "/"
+ "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class MeasureScoringTypeProportionTest {
FhirContext.forR4Cached(),
Paths.get(
getResourcePath(MeasureScoringTypeProportionTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class MeasureScoringTypeRatioTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureScoringTypeRatioTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MeasureStratifierTest {
private static final Repository repository = new IgRepository(
FhirContext.forR4Cached(),
Paths.get(getResourcePath(MeasureStratifierTest.class) + "/" + CLASS_PATH + "/" + "MeasureTest"));
protected Given given = Measure.given().repository(repository);
private final Given given = Measure.given().repository(repository);
private static final TestDataGenerator testDataGenerator = new TestDataGenerator(repository);

@BeforeAll
Expand Down

0 comments on commit 0e9f028

Please sign in to comment.