Uses of Record Class
org.ek9lang.cli.TestResult
Packages that use TestResult
Package
Description
A-1 - Start here for the main command-line entry use of the compiler.
-
Uses of TestResult in org.ek9lang.cli
Methods in org.ek9lang.cli that return TestResultModifier and TypeMethodDescription(package private) static TestResultTestResult.exception(TestProgram testProgram, Duration duration, String output, String errorOutput, Throwable exception) Create a failed test result from an exception (assert-based test).(package private) static TestResultTestResult.exception(TestProgram testProgram, TestType testType, String caseId, Duration duration, String output, String errorOutput, Throwable exception) Create a failed test result from an exception for a test case.(package private) static TestResultTestResult.failure(TestProgram testProgram, Duration duration, String output, String errorOutput, String errorMessage) Create a failed test result from an assertion or runtime error (assert-based test).(package private) static TestResultTestResult.failure(TestProgram testProgram, TestType testType, String caseId, Duration duration, String output, String errorOutput, String errorMessage) Create a failed test result for a test case.(package private) static TestResultTestResult.success(TestProgram testProgram, Duration duration, String output, String errorOutput) Create a successful test result for an assert-based test.(package private) static TestResultTestResult.success(TestProgram testProgram, TestType testType, String caseId, Duration duration, String output, String errorOutput) Create a successful test result for a test case.Methods in org.ek9lang.cli that return types with arguments of type TestResultModifier and TypeMethodDescription(package private) List<TestResult> TestRunner.executeTests(List<TestProgram> tests) Execute all discovered tests.Method parameters in org.ek9lang.cli with type arguments of type TestResultModifier and TypeMethodDescriptionvoidHumanTestFormatter.reportResults(List<TestResult> results, PrintStream out) voidJsonTestFormatter.reportResults(List<TestResult> results, PrintStream out) voidJUnitXmlFormatter.reportResults(List<TestResult> results, PrintStream out) voidTerseTestFormatter.reportResults(List<TestResult> results, PrintStream out) voidTestResultFormatter.reportResults(List<TestResult> results, PrintStream out) Report all test results after execution completes.(package private) booleanTestRunner.reportResults(List<TestResult> results) Report test results using the configured formatter.