Temporarily holds results from a TestStep, before they are propagated to the ResultListener by the TestPlan. See TestStep.Results
More...
|
void | AddParameter (ResultParameter param) |
| Adds an additional parameter to this TestStep run. More...
|
|
| ResultSource (TestStepRun stepRun, TestPlanRun planRun) |
| Creates a new ResultProxy. Done for each test step run. More...
|
|
void | Wait () |
| Waits for the propagation of results from all Proxies to the Listeners. Normally this is not necessary. However, if a step needs to change a property after it has written results, this method makes sure the ResultListeners record the previous/correct value before changing it.
|
|
void | Defer (Action action) |
| Defer an action from the current test step run. This means the action will be executed some time after the current run. More...
|
|
void | Publish< T > (T result) |
| Stores an object as a result. These results will be propagated to the ResultStore after the TestStep completes. More...
|
|
void | Publish (ResultTable result) |
| Publishes a result table.
|
|
void | Publish< T > (string name, T result) |
| Stores an object as a result. These results will be propagated to the ResultStore after the TestStep completes. More...
|
|
void | Publish (string name, List< string > columnNames, params IConvertible[] results) |
| Stores a result. These results will be propagated to the ResultStore after the TestStep completes. More...
|
|
void | PublishTable (string name, List< string > columnNames, params Array[] results) |
| The fastest way to store a result. These results will be propagated to the ResultStore after the TestStep completes. More...
|
|
void | PublishTable (ResultTable table) |
| Publishes a result table.
|
|
Temporarily holds results from a TestStep, before they are propagated to the ResultListener by the TestPlan. See TestStep.Results
◆ ResultSource()
Creates a new ResultProxy. Done for each test step run.
- Parameters
-
stepRun | TestStepRun that this result proxy is proxy for. |
planRun | TestPlanRun that this result proxy is proxy for. |
◆ AddParameter()
Adds an additional parameter to this TestStep run.
- Parameters
-
◆ Defer()
void OpenTap.ResultSource.Defer |
( |
Action |
action | ) |
|
|
inline |
Defer an action from the current test step run. This means the action will be executed some time after the current run.
- Parameters
-
Implements OpenTap.IResultSource.
◆ Publish()
void OpenTap.ResultSource.Publish |
( |
string |
name, |
|
|
List< string > |
columnNames, |
|
|
params IConvertible[] |
results |
|
) |
| |
|
inline |
Stores a result. These results will be propagated to the ResultStore after the TestStep completes.
- Parameters
-
name | Name of the result. |
columnNames | Titles of the columns. |
results | The values of the results to store. |
Implements OpenTap.IResultSource.
◆ Publish< T >() [1/2]
Stores an object as a result. These results will be propagated to the ResultStore after the TestStep completes.
- Template Parameters
-
- Parameters
-
name | The name of the result. |
result | The result whose properties should be stored. |
◆ Publish< T >() [2/2]
Stores an object as a result. These results will be propagated to the ResultStore after the TestStep completes.
- Template Parameters
-
- Parameters
-
result | The result whose properties should be stored. |
◆ PublishTable()
void OpenTap.ResultSource.PublishTable |
( |
string |
name, |
|
|
List< string > |
columnNames, |
|
|
params Array[] |
results |
|
) |
| |
|
inline |
The fastest way to store a result. These results will be propagated to the ResultStore after the TestStep completes.
- Parameters
-
name | Name of the result. |
columnNames | Titles of the columns. |
results | The columns of the results to store. |
This is the fastest way to store a large number of results.
Implements OpenTap.IResultSource.