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
Fields Modifier and Type Field Description protected org.junit.runners.model.Statementbaseprotected org.junit.runner.Descriptiondescriptionprotected booleangotFailureprotected org.junit.runner.notification.RunListenerlistenerprotected org.junit.runner.notification.RunNotifiernotifierprotected RandomBug.Repeatparamsprotected intserial
-
Constructor Summary
Constructors Modifier Constructor Description protectedRepeatStatement(RandomBug.Repeat someParams, org.junit.runner.notification.RunNotifier aNotifier, org.junit.runners.model.Statement aStatement, org.junit.runner.Description aDescription)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringdisplayName(org.junit.runner.Description desc)protected abstract Errorerror()voidevaluate()protected voidonEnter(int serial)protected voidonLeave()protected abstract intretryCount()protected abstract booleanreturnOnFailure()protected abstract booleanreturnOnSuccess()
-
-
-
Field Detail
-
params
protected final RandomBug.Repeat 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 Detail
-
RepeatStatement
protected RepeatStatement(RandomBug.Repeat someParams, org.junit.runner.notification.RunNotifier aNotifier, org.junit.runners.model.Statement aStatement, org.junit.runner.Description aDescription)
-
-
Method Detail
-
displayName
protected String displayName(org.junit.runner.Description desc)
-
onEnter
protected void onEnter(int serial)
-
onLeave
protected void onLeave()
-
evaluate
public void evaluate()
- Specified by:
evaluatein classorg.junit.runners.model.Statement
-
error
protected abstract Error error()
-
retryCount
protected abstract int retryCount()
-
returnOnSuccess
protected abstract boolean returnOnSuccess()
-
returnOnFailure
protected abstract boolean returnOnFailure()
-
-