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 Details

    • 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 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

      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 class org.junit.runners.model.Statement
    • error

      protected abstract Error error()
    • retryCount

      protected abstract int retryCount()
    • returnOnSuccess

      protected abstract boolean returnOnSuccess()
    • returnOnFailure

      protected abstract boolean returnOnFailure()