Méthode | Description | |
---|---|---|
Create ( UnitTestHarness harness ) : |
Initializes a new instance of the DataManager.
|
|
GetAssemblyModel ( IAssembly assembly ) : TestAssemblyData |
Gets or creates the data model object for an assembly.
|
|
GetClassModel ( ITestClass testClass ) : TestClassData |
Gets or creates the data model object for a test class.
|
|
GetMethodModel ( ITestMethod testMethod, TestClassData parentTestClass ) : TestMethodData |
Gets or creates the data model object for a test method.
|
|
Hook ( ) : void |
Connect to unit test harness events for processing and updating the underlying unit test run model.
|
|
Unhook ( ) : void |
Unhook from the unit test harness events.
|
Méthode | Description | |
---|---|---|
DataManager ( UnitTestHarness harness ) : System |
Initializes a new instance of the DataManager type.
|
|
OnTestClassCompleted ( object sender, TestClassCompletedEventArgs e ) : void |
Process the test class complete event.
|
|
OnTestClassStarting ( object sender, TestClassStartingEventArgs e ) : void |
Process the test class starting event.
|
|
OnTestMethodCompleted ( object sender, TestMethodCompletedEventArgs e ) : void |
Process the completion of test methods.
|
|
OnTestMethodStarting ( object sender, Microsoft.Silverlight.Testing.Harness.TestMethodStartingEventArgs e ) : void |
Process the start of a test method.
|
|
OnTestRunStarting ( object sender, TestRunStartingEventArgs e ) : void |
Process the starting of the test run.
|
|
ProcessResult ( |
Process a result.
|
public static Create ( UnitTestHarness harness ) : |
||
harness | Microsoft.Silverlight.Testing.Harness.UnitTestHarness | The unit test harness instance. |
Résultat |
public GetAssemblyModel ( IAssembly assembly ) : TestAssemblyData | ||
assembly | IAssembly | The test assembly. |
Résultat | TestAssemblyData |
public GetClassModel ( ITestClass testClass ) : TestClassData | ||
testClass | ITestClass | The test class. |
Résultat | TestClassData |
public GetMethodModel ( ITestMethod testMethod, TestClassData parentTestClass ) : TestMethodData | ||
testMethod | ITestMethod | The test method. |
parentTestClass | TestClassData | The parent test class data object. |
Résultat | TestMethodData |