Skip to content

Commit

Permalink
Fix compressed coverage tests
Browse files Browse the repository at this point in the history
Signed-off-by: André Silva <andre15andre@hotmail.com>
  • Loading branch information
andre15silva committed Jul 19, 2021
1 parent eb36bd4 commit 78f033f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ Test the runCoveredTestResultPerTestMethods() of EntryPoint.
final String classpath = JUNIT_CP + ConstantsHelper.PATH_SEPARATOR + JUNIT5_CP;

final CoveredTestResultPerTestMethod coveredTestResultPerTestMethod = EntryPoint.runCoveredTestResultPerTestMethods(
classpath + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
TEST_PROJECT_CLASSES,
classpath + ConstantsHelper.PATH_SEPARATOR + SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
new String[]{"junit5.TestSuiteExample", "junit5.TestSuiteExample2"},
new String[]{"junit5.TestSuiteExample#test3", "junit5.TestSuiteExample2#test3"}
);
Expand Down Expand Up @@ -612,8 +612,8 @@ Test the runCoveredTestResultPerTestMethods() of EntryPoint.
final String classpath = JUNIT_CP + ConstantsHelper.PATH_SEPARATOR + JUNIT5_CP;

final CoveredTestResultPerTestMethod coveredTestResultPerTestMethod = EntryPoint.runCoveredTestResultPerTestMethods(
classpath + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
TEST_PROJECT_CLASSES,
classpath + ConstantsHelper.PATH_SEPARATOR + SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
"junit5.TestSuiteExample",
new String[]{"test8", "test3"}
);
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/eu/stamp_project/testrunner/EntryPointTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,8 @@ Test the runCoveredTestResultPerTestMethods() of EntryPoint.
final String classpath = JUNIT_CP + ConstantsHelper.PATH_SEPARATOR + JUNIT5_CP;

final CoveredTestResultPerTestMethod coveredTestResultPerTestMethod = EntryPoint.runCoveredTestResultPerTestMethods(
classpath + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
TEST_PROJECT_CLASSES,
classpath + ConstantsHelper.PATH_SEPARATOR + SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
new String[]{"example.TestSuiteExample", "example.TestSuiteExample2"},
new String[]{"example.TestSuiteExample#test3", "example.TestSuiteExample2#test3"}
);
Expand Down Expand Up @@ -721,8 +721,8 @@ Test the runCoveredTestResultPerTestMethods() of EntryPoint.
final String classpath = JUNIT_CP + ConstantsHelper.PATH_SEPARATOR + JUNIT5_CP;

final CoveredTestResultPerTestMethod coveredTestResultPerTestMethod = EntryPoint.runCoveredTestResultPerTestMethods(
classpath + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
TEST_PROJECT_CLASSES,
classpath + ConstantsHelper.PATH_SEPARATOR + SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
SOURCE_PROJECT_CLASSES + ConstantsHelper.PATH_SEPARATOR + TEST_PROJECT_CLASSES,
"example.TestSuiteExample",
new String[]{"test8", "test3"}
);
Expand Down

0 comments on commit 78f033f

Please sign in to comment.