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

Package | org.flexunit.experimental.theories.internals
Class | public class AllMembersSupplier
Inheritance | AllMembersSupplier Object
Implements | IParameterSupplier

The `AllMembersSupplier` determines what values can be applied to parameters in theories in a specific theory test method.

Public Methods

| Method | Defined By
--- | --- | ---
|  | AllMembersSupplier(testClass:TestClass) Constructor. | AllMembersSupplier
|  | getValueSources(sig:ParameterSignature):Array Generates an Array containing all possible values that a particular ParameterSignature could have. | AllMembersSupplier

Constructor Detail

AllMembersSupplier | () | Constructor

`public function AllMembersSupplier(testClass:TestClass)`

Constructor.

Parameters

| `testClass:TestClass` — The Class that is being tested for theories.

Method Detail

getValueSources | () | method

`public function getValueSources(sig:ParameterSignature):Array`

Generates an Array containing all possible values that a particular `ParameterSignature` could have.

Parameters

| `sig:ParameterSignature` — The provided parameter signature.

Returns

| `Array` — an Array containing all possible values that a particular `ParameterSignature` could have.

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