Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt logs accordingly #147

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions sdccc/src/main/java/com/draeger/medical/sdccc/TestSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -594,17 +594,21 @@ private static void printVerdict(final long numberOfTestFailures, final File tes
}

if (numberOfTestFailures == 0) {
LOG.info(
"Test run with {} Tests was completed successfully. No problems were found.",
testRunObserver.getTotalNumberOfTestsRun());
if (testRunObserver.isInvalid()) {
LOG.info(
"Test run with {} Tests was completed successfully but other problems were found. Please consult the logfiles in {} for further information.",
testRunObserver.getTotalNumberOfTestsRun(),
testRunDir);
LOG.info("Test run was invalid.");
} else {
LOG.info(
"Test run with {} Tests was completed successfully. No problems were found.",
testRunObserver.getTotalNumberOfTestsRun());
LOG.info("Test run was valid.");
}
} else {
LOG.info("Test run found problems. Please consult the logfiles in {} for further information.", testRunDir);
}

if (testRunObserver.isInvalid()) {
LOG.info("Test run was invalid.");
} else {
LOG.info("Test run was valid.");
}
}

Expand Down
Loading