Class SynchronizedTestMethodAttribute
A test method attribute that runs the test with a running Dispatcher and a DispatcherSynchronizationContext.
TestMethodAttribute.ExecuteAsync(ITestMethod)
TestMethodAttribute.DisplayName
TestMethodAttribute.UnfoldingStrategy
TestMethodAttribute.DeclaringFilePath
TestMethodAttribute.DeclaringLineNumber
Namespace: Sartorius.SAF.QualityTools
Assembly: Sartorius.SAF.QualityTools.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public sealed class SynchronizedTestMethodAttribute : TestMethodAttribute
Properties
View SourceTimeout
Gets or sets the timeout in milliseconds.
Declaration
public int Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
View SourceExecute(ITestMethod)
Executes a test method.
Declaration
public TestResult[] Execute(ITestMethod testMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| ITestMethod | testMethod | The test method to execute. |
Returns
| Type | Description |
|---|---|
| TestResult[] | An array of TestResult objects that represent the outcome(s) of the test. |