API Documentation | All Packages | All Classes | Index | Frames No Frames |
ParameterizedAssertionError

Package | org.flexunit.experimental.theories.internals
Class | public class ParameterizedAssertionError
Inheritance | ParameterizedAssertionError AssertionError Error

Thrown when an assertion is false and provides the parameters that caused the test to fail.

Public Properties

| Property | Defined By
--- | --- | ---
|  | targetException : Error The exception that was thrown. | ParameterizedAssertionError

Public Methods

| Method | Defined By
--- | --- | ---
|  | ParameterizedAssertionError(targetException:Error, methodName:String, ... params) Constructor. | ParameterizedAssertionError
|  | join(delimiter:String, ... params):String [static] Performs an Array join on params. | ParameterizedAssertionError

Property Detail

targetException | property

`public var targetException:Error`

The exception that was thrown.

Constructor Detail

ParameterizedAssertionError | () | Constructor

`public function ParameterizedAssertionError(targetException:Error, methodName:String, ... params)`

Constructor.

Parameters

| `targetException:Error` — The exception that was thrown.
| `methodName:String` — The name of the method that threw the exception.
| `... params` — The parameters that were provided to the method that threw the exception.

Method Detail

join | () | method

`public static function join(delimiter:String, ... params):String`

Performs an Array join on params. Candidate for remocal in future refactor

Parameters

| `delimiter:String`
| `... params`

Returns

| `String` — a concatenated string

Thu Apr 10 2014, 08:07 AM +10:00