Class TimeoutClientRunContextStatement
java.lang.Object
org.junit.runners.model.Statement
org.eclipse.scout.rt.testing.client.runner.statement.TimeoutClientRunContextStatement
public class TimeoutClientRunContextStatement
extends org.junit.runners.model.Statement
Statement for executing tests with a timeout (i.e. the annotated test method is expected to complete within the
specified amount of time). The given next statement is executed in a new model job. Hence this statement cannot be
evaluated within a model job.
- Since:
- 5.1
- See Also:
-
Test.timeout()
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTimeoutClientRunContextStatement
(org.junit.runners.model.Statement next, long timeoutMillis) -
Method Summary
-
Field Details
-
m_next
protected final org.junit.runners.model.Statement m_next
-
-
Constructor Details
-
TimeoutClientRunContextStatement
public TimeoutClientRunContextStatement(org.junit.runners.model.Statement next, long timeoutMillis)
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in classorg.junit.runners.model.Statement
- Throws:
Throwable
-