C# 클래스 Microsoft.Silverlight.Testing.Harness.TestRunFilter

A type to filter down complete sets of classes, tests and methods.
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 메소드들

메소드 설명
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