| Constructor and Description |
|---|
NoOpDDTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
end(Long endTime)
Marks the end of test execution.
|
void |
setErrorInfo(Throwable error)
Marks the test as failed.
|
void |
setSkipReason(String skipReason)
Marks the test as skipped.
|
void |
setTag(String key,
Object value)
Adds an arbitrary tag to the test
|
public void setTag(String key, Object value)
DDTestpublic void setErrorInfo(@Nullable Throwable error)
DDTestThis does not imply the end of test execution, so DDTest.end(Long) method has to be
invoked at some point after this one.
setErrorInfo in interface DDTesterror - Optional exception that caused the test to failpublic void setSkipReason(@Nullable String skipReason)
DDTestThis does not imply the end of test execution, so DDTest.end(Long) method has to be
invoked at some point after this one.
setSkipReason in interface DDTestskipReason - Optional reason for skipping the testpublic void end(@Nullable Long endTime)
DDTestUnless either DDTest.setErrorInfo(Throwable) or DDTest.setSkipReason(String) were
invoked prior to calling this method, the test is assumed to have finished successfully.
The method must be called once for each test instance.
The call has to be made in the same thread where the test was started.