Modifier and Type | Field and Description |
---|---|
private Instance<TestResult> |
LocalContainerMethodExecutor.testResult |
Modifier and Type | Method and Description |
---|---|
TestResult |
LocalContainerMethodExecutor.invoke(TestMethodExecutor testMethodExecutor) |
Modifier and Type | Field and Description |
---|---|
private InstanceProducer<TestResult> |
RemoteTestExecuter.testResult |
private InstanceProducer<TestResult> |
LocalTestExecuter.testResult |
Modifier and Type | Method and Description |
---|---|
TestResult |
TestRunner.execute(java.lang.Class<?> testClass,
java.lang.String methodName)
Run a single test method in a test class.
|
TestResult |
ContainerMethodExecutor.invoke(TestMethodExecutor testMethodExecutor)
Invoke a test method deployed in the container.
|
Modifier and Type | Method and Description |
---|---|
TestResult |
JUnitTestRunner.execute(java.lang.Class<?> testClass,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
void |
UpdateTestResultBeforeAfter.update(EventContext<AfterTestLifecycleEvent> context,
TestResult result) |
Modifier and Type | Field and Description |
---|---|
private InstanceProducer<TestResult> |
LocalTestMethodExecutor.testResult |
Modifier and Type | Method and Description |
---|---|
protected TestResult |
JMXTestRunner.doRunTestMethod(TestRunner runner,
java.lang.Class<?> testClass,
java.lang.String methodName,
java.util.Map<java.lang.String,java.lang.String> protocolProps) |
TestResult |
JMXMethodExecutor.invoke(TestMethodExecutor testMethodExecutor) |
private TestResult |
JMXTestRunner.runTestMethodInternal(java.lang.String className,
java.lang.String methodName,
java.util.Map<java.lang.String,java.lang.String> protocolProps) |
Modifier and Type | Method and Description |
---|---|
TestResult |
ServletMethodExecutor.invoke(TestMethodExecutor testMethodExecutor) |
Modifier and Type | Method and Description |
---|---|
private TestResult |
ServletTestRunner.createFailedResult(java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
TestResult |
EventTestRunnerAdaptor.test(TestMethodExecutor testMethodExecutor) |
Modifier and Type | Method and Description |
---|---|
static TestResult |
TestResult.failed(java.lang.Throwable cause) |
static TestResult |
TestResult.passed() |
TestResult |
TestResult.setEnd(long end)
Set the end time of the test.
|
TestResult |
TestResult.setStart(long start)
Set the start time of the test.
|
TestResult |
TestResult.setStatus(TestResult.Status status)
Deprecated.
|
TestResult |
TestResult.setThrowable(java.lang.Throwable throwable) |
static TestResult |
TestResult.skipped(java.lang.Throwable cause) |
TestResult |
TestRunnerAdaptor.test(TestMethodExecutor testMethodExecutor)
Activate a TestMethod execution.
This will trigger the Test event. |
Modifier and Type | Method and Description |
---|---|
TestResult |
TestNGTestRunner.execute(java.lang.Class<?> testClass,
java.lang.String methodName) |
TestResult |
TestListener.getTestResult() |
Modifier and Type | Method and Description |
---|---|
void |
UpdateTestResultBeforeAfter.update(EventContext<After> context,
TestResult result) |
Modifier and Type | Field and Description |
---|---|
private InstanceProducer<TestResult> |
LocalTestMethodExecutor.testResult |