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.Statement
base
protected org.junit.runner.Description
description
protected boolean
gotFailure
protected org.junit.runner.notification.RunListener
listener
protected org.junit.runner.notification.RunNotifier
notifier
protected RandomBug.Repeat
params
protected int
serial
-
Constructor Summary
Constructors Modifier Constructor Description protected
RepeatStatement(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 String
displayName(org.junit.runner.Description desc)
protected abstract Error
error()
void
evaluate()
protected void
onEnter(int serial)
protected void
onLeave()
protected abstract int
retryCount()
protected abstract boolean
returnOnFailure()
protected abstract boolean
returnOnSuccess()
-
-
-
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:
evaluate
in 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()
-
-