C# Класс Microsoft.Silverlight.Testing.Harness.TestRunFilter

A type to filter down complete sets of classes, tests and methods.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
TestRunFilter ( UnitTestSettings settings, UnitTestHarness harness ) : System

Initializes a new test run filter using an existing settings file.

Защищенные методы

Метод Описание
FilterCustomTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void

Perform any custom filtering that the TestRunFilter needs.

FilterCustomTestMethods ( IList methods ) : void

Perform any custom filtering that the TestRunFilter needs.

FilterExclusiveTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void

If any exclusive classes are found, filter them.

FilterExclusiveTestMethods ( IList methods ) : void

If any exclusive classes are found, filter them.

FilterLegacyTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void

If specific string-contains filters are present.

FilterTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void

Filter out tests based on the standard-supported methods.

FilterTestMethods ( IList methods ) : void

Filter the test methods.

SortTestClasses ( IList tests ) : void

Sort the test classes if the settings for alphabetical sorting are present.

SortTestMethods ( IList methods ) : void

Sorts the test methods, if requested.

Приватные методы

Метод Описание
GetTestClasses ( IAssembly assembly, TestClassInstanceDictionary instances ) : List
GetTestMethods ( ITestClass test, object instance ) : List

Описание методов

FilterCustomTestClasses() защищенный Метод

Perform any custom filtering that the TestRunFilter needs.
protected FilterCustomTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void
classes IList List of test classes.
instances TestClassInstanceDictionary Test class instance dictionary.
Результат void

FilterCustomTestMethods() защищенный Метод

Perform any custom filtering that the TestRunFilter needs.
protected FilterCustomTestMethods ( IList methods ) : void
methods IList List of test methods.
Результат void

FilterExclusiveTestClasses() защищенный Метод

If any exclusive classes are found, filter them.
protected FilterExclusiveTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void
classes IList List of test classes.
instances TestClassInstanceDictionary Test class instance dictionary.
Результат void

FilterExclusiveTestMethods() защищенный Метод

If any exclusive classes are found, filter them.
protected FilterExclusiveTestMethods ( IList methods ) : void
methods IList List of test methods.
Результат void

FilterLegacyTestClasses() защищенный Метод

If specific string-contains filters are present.
protected FilterLegacyTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void
classes IList List of test classes.
instances TestClassInstanceDictionary Test class instance dictionary.
Результат void

FilterTestClasses() защищенный Метод

Filter out tests based on the standard-supported methods.
protected FilterTestClasses ( IList classes, TestClassInstanceDictionary instances ) : void
classes IList List of test classes.
instances TestClassInstanceDictionary Test class instance dictionary.
Результат void

FilterTestMethods() защищенный Метод

Filter the test methods.
protected FilterTestMethods ( IList methods ) : void
methods IList List of test methods.
Результат void

SortTestClasses() защищенный Метод

Sort the test classes if the settings for alphabetical sorting are present.
protected SortTestClasses ( IList tests ) : void
tests IList List of test classes.
Результат void

SortTestMethods() защищенный Метод

Sorts the test methods, if requested.
protected SortTestMethods ( IList methods ) : void
methods IList List of test methods.
Результат void

TestRunFilter() публичный Метод

Initializes a new test run filter using an existing settings file.
public TestRunFilter ( UnitTestSettings settings, UnitTestHarness harness ) : System
settings UnitTestSettings A unit test settings instance.
harness UnitTestHarness The unit test harness.
Результат System