Class 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 Detail

      • __TYPE_ARG

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

      • TestResult

        public TestResult​(TestResult delegate)
      • TestResult

        public TestResult​(Object delegate)
    • Method Detail

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