public interface FailureFactory
Modifier and Type | Method and Description |
---|---|
Error |
createFailure(String message) |
Error |
createFailure(String message,
String expected,
String actual)
Creates a new failure object which can have different types, depending on
the testing framework you are currently using (e.g.
|
Error createFailure(String message, String expected, String actual)
message
- The reason for the failureexpected
- The expected resultactual
- The actual resultCopyright © 2002–2024. All rights reserved.