public class RepeatStatement
extends org.junit.runners.model.Statement
| Constructor and Description |
|---|
RepeatStatement(int times,
int threads,
long timeout,
TimeUnit unit,
org.junit.runners.model.Statement statement)
Constructs a new repeat statement instance.
|
public RepeatStatement(int times,
int threads,
long timeout,
TimeUnit unit,
org.junit.runners.model.Statement statement)
times - the number of times to repeat a testthreads - the number of threads the execute a test in paralleltimeout - the timeout after with the executor service will be forced to shutdownunit - the timeout time unitstatement - the statement to repeatCopyright © 2017. All rights reserved.