| Package | org.flexunit.reporting |
| Class | public class FailureFormatter |
| Inheritance | FailureFormatter Object |
FailureFormatter is responsible for formatting potential failures.
| Method | Defined By | ||
|---|---|---|---|
isError(error:Error):Boolean [static]
Returns a Boolean indicating whether the the provided error is an actual failure or
if the error is an expected failure. | FailureFormatter | ||
xmlEscapeMessage(message:String):String [static]
Filters XML characters out of a provided message. | FailureFormatter | ||
| isError | () | method |
public static function isError(error:Error):Boolean
Returns a Boolean indicating whether the the provided error is an actual failure or
if the error is an expected failure.
Parameters
error:Error — The Error to check and determine if it is an actual or expected Error.
|
Boolean — A Boolean value indicating whehter error was an actual or expected Error.
|
| xmlEscapeMessage | () | method |
public static function xmlEscapeMessage(message:String):String
Filters XML characters out of a provided message.
Parameters
message:String — The String that will have XML characters filtered out of it.
|
String — the message without XML characters.
|