public class TestFailedException extends AssertionError
| Constructor and Description |
|---|
TestFailedException(String message)
Creates a new TestFailedException instance.
|
TestFailedException(String message,
Throwable cause)
Creates an EyesException instance.
|
TestFailedException(TestResults testResults,
String message)
Creates a new TestFailedException instance.
|
| Modifier and Type | Method and Description |
|---|---|
TestResults |
getTestResults() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TestFailedException(TestResults testResults, String message)
testResults - The results of the current test if available,
null otherwise.message - A description string.public TestFailedException(String message)
message - A description string.public TestResults getTestResults()
null if the test has not
yet ended (e.g., when thrown due to
FailureReports.IMMEDIATE settings).Copyright © 2016. All rights reserved.