Uses of Record Class
org.ek9lang.cli.TestProgram
Packages that use TestProgram
Package
Description
A-1 - Start here for the main command-line entry use of the compiler.
-
Uses of TestProgram in org.ek9lang.cli
Methods in org.ek9lang.cli that return TestProgramModifier and TypeMethodDescriptionDiscoveredTest.testProgram()Returns the value of thetestProgramrecord component.TestCase.testProgram()Returns the value of thetestProgramrecord component.TestResult.testProgram()Returns the value of thetestProgramrecord component.Methods in org.ek9lang.cli that return types with arguments of type TestProgramModifier and TypeMethodDescription(package private) List<TestProgram> TestRunner.discoverTests()Discover all @Test programs from the compiled program.Methods in org.ek9lang.cli with parameters of type TestProgramModifier and TypeMethodDescriptionTestCaseDiscovery.discover(TestProgram test) Discover all test cases for a test program.(package private) DiscoveredTestTestCaseDiscovery.discoverWithMetadata(TestProgram test) Discover a test program with full metadata including test type classification.(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.JvmTestExecutor.execute(TestProgram test) JvmTestExecutor.execute(TestProgram test, List<String> arguments) NativeTestExecutor.execute(TestProgram test) NativeTestExecutor.execute(TestProgram test, List<String> arguments) TestExecutor.execute(TestProgram test) Execute a test program and capture its output.default TestExecutor.ExecutionResultTestExecutor.execute(TestProgram test, List<String> arguments) Execute a test program with command line arguments.(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.TestConfigurationValidator.validateArgumentCount(TestProgram testProgram, int argumentCount, String caseId, Path argFile) Validate argument count for a specific test case.TestConfigurationValidator.validateParameterizedTestHasArgs(TestProgram testProgram, Path sourceDir) Validate that a program with parameters has commandline files.Method parameters in org.ek9lang.cli with type arguments of type TestProgramModifier and TypeMethodDescription(package private) List<TestResult> TestRunner.executeTests(List<TestProgram> tests) Execute all discovered tests.Constructors in org.ek9lang.cli with parameters of type TestProgramModifierConstructorDescriptionDiscoveredTest(TestProgram testProgram, TestType testType, List<TestCase> testCases) Constructor for tests without configuration errors.DiscoveredTest(TestProgram testProgram, TestType testType, List<TestCase> testCases, String configurationError) Creates an instance of aDiscoveredTestrecord class.Creates an instance of aTestCaserecord class.(package private)TestResult(TestProgram testProgram, TestType testType, String caseId, boolean passed, Duration duration, String output, String errorOutput, String errorMessage, Throwable exception) Creates an instance of aTestResultrecord class.