Schnittstelle TestAssertionFailure

Alle Superschnittstellen:
Failure, TestFailure
Alle bekannten Unterschnittstellen:
FileComparisonTestAssertionFailure

@Incubating public interface TestAssertionFailure extends TestFailure
Represent a test assertion failure where the test fails due to a broken assertion.
Seit:
7.6
  • Methodendetails

    • getExpected

      @Nullable String getExpected()
      Returns the string representation of the expected value.
      Gibt zurück:
      the expected value or null if the test framework doesn't supply detailed information on assertion failures
    • getActual

      @Nullable String getActual()
      Returns the string representation of the actual value.
      Gibt zurück:
      the actual value or null if the test framework doesn't supply detailed information on assertion failures