Package org.nuxeo.runtime.test.runner
Class RandomBug.RepeatStatement
java.lang.Object
org.junit.runners.model.Statement
org.nuxeo.runtime.test.runner.RandomBug.RepeatStatement
- Direct Known Subclasses:
RandomBug.Bypass
,RandomBug.RepeatOnFailure
,RandomBug.RepeatOnSuccess
- Enclosing class:
- RandomBug
protected abstract class RandomBug.RepeatStatement
extends org.junit.runners.model.Statement
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.junit.runners.model.Statement
protected org.junit.runner.Description
protected boolean
protected final org.junit.runner.notification.RunListener
protected final org.junit.runner.notification.RunNotifier
protected final RandomBug.Repeat
protected int
-
Constructor Summary
ModifierConstructorDescriptionprotected
RepeatStatement
(RandomBug.Repeat someParams, org.junit.runner.notification.RunNotifier aNotifier, org.junit.runners.model.Statement aStatement, org.junit.runner.Description aDescription) -
Method Summary
-
Field Details
-
params
-
notifier
protected final org.junit.runner.notification.RunNotifier notifier -
gotFailure
protected boolean gotFailure -
listener
protected final org.junit.runner.notification.RunListener listener -
base
protected final org.junit.runners.model.Statement base -
serial
protected int serial -
description
protected org.junit.runner.Description description
-
-
Constructor Details
-
RepeatStatement
protected RepeatStatement(RandomBug.Repeat someParams, org.junit.runner.notification.RunNotifier aNotifier, org.junit.runners.model.Statement aStatement, org.junit.runner.Description aDescription)
-
-
Method Details
-
displayName
-
onEnter
protected void onEnter(int serial) -
onLeave
protected void onLeave() -
evaluate
public void evaluate()- Specified by:
evaluate
in classorg.junit.runners.model.Statement
-
error
-
retryCount
protected abstract int retryCount() -
returnOnSuccess
protected abstract boolean returnOnSuccess() -
returnOnFailure
protected abstract boolean returnOnFailure()
-