Binds a value to a test parameter.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
void BindTestParameter( PatternTestInstanceState testInstanceState, Object value ) |
| Visual Basic (Declaration) |
|---|
Sub BindTestParameter ( _ testInstanceState As PatternTestInstanceState, _ value As Object _ ) |
Parameters
- testInstanceState
- Type: Gallio.Framework.Pattern..::.PatternTestInstanceState
The test instance state, never null.
- value
- Type: System..::.Object
The value to bind to the parameter.
Remarks
The following actions are typically performed during this phase:
- Associated a value with a slot on the test fixture or test method.
- Storing the object for later use during the test run.
The following actions are forbidden during this phase because they would either go unnoticed or have undesirable side-effects upon test execution:
- Modifying the PatternTest object in any way.
- Modifying the PatternTestState object in any way.
