Class TestResult


  • public final class TestResult
    extends java.lang.Object
    • Constructor Detail

      • TestResult

        @ConstructorProperties({"testId","outcome","priority","message"})
        public TestResult​(java.lang.String testId,
                          TestOutcome outcome,
                          Priority priority,
                          java.lang.String message)
    • Method Detail

      • getTestId

        public java.lang.String getTestId()
      • getPriority

        public Priority getPriority()
      • getMessage

        public java.lang.String getMessage()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withTestId

        public TestResult withTestId​(java.lang.String testId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withOutcome

        public TestResult withOutcome​(TestOutcome outcome)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPriority

        public TestResult withPriority​(Priority priority)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withMessage

        public TestResult withMessage​(java.lang.String message)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).