Class TestResult

java.lang.Object
io.vertx.reactivex.ext.unit.report.TestResult
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class TestResult extends Object implements io.vertx.lang.rx.RxDelegate
The result of a test.

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<TestResult> __TYPE_ARG
  • Constructor Details

    • TestResult

      public TestResult(TestResult delegate)
    • TestResult

      public TestResult(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public TestResult getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • name

      public String name()
      The test description, may be null if none was provided.
      Returns:
    • beginTime

      public long beginTime()
      The time at which the test began in millis.
      Returns:
    • durationTime

      public long durationTime()
      How long the test lasted in millis.
      Returns:
    • succeeded

      public boolean succeeded()
      Did it succeed?
      Returns:
    • failed

      public boolean failed()
      Did it fail?
      Returns:
    • failure

      public Failure failure()
      An exception describing failure, null if the test succeeded.
      Returns:
    • newInstance

      public static TestResult newInstance(TestResult arg)