C# 클래스 Microsoft.Protocols.TestManager.Kernel.TestCaseGroup

A test case group in the run page.
상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 메소드들

메소드 설명
AddTestCase ( TestCase testcase ) : void

Add a test case to the group.

CheckAllSubItems ( bool isChecked ) : void

Checks all the sub items.

HoldUpdatingHeader ( ) : void

Holds updating the header in the test case list. Updating the header is a high-cost operation. If changing the status of a large number of test cases, hold it to improve the performance.

RemoveTestCase ( TestCase testcase ) : void

Remove the test case from the group.

ResumeUpdatingHeader ( ) : void

Resumes updating the header int the test case list.

TestCaseGroup ( string name, int totalCasesCnt ) : System

The constuctor of TestCaseGroup.

UpdateHeader ( ) : void

Updates the header.

비공개 메소드들

메소드 설명
ChangeRunningCaseToTop ( TestCase runningTestCase ) : void

Update running case to be the first case in a group.

OnPropertyChanged ( string name ) : void
TestcasePropertyChanged ( object sender, PropertyChangedEventArgs args ) : void

메소드 상세

AddTestCase() 공개 메소드

Add a test case to the group.
public AddTestCase ( TestCase testcase ) : void
testcase TestCase The test case.
리턴 void

CheckAllSubItems() 공개 메소드

Checks all the sub items.
public CheckAllSubItems ( bool isChecked ) : void
isChecked bool Flags to indicate a case should be checked or not
리턴 void

HoldUpdatingHeader() 공개 정적인 메소드

Holds updating the header in the test case list. Updating the header is a high-cost operation. If changing the status of a large number of test cases, hold it to improve the performance.
public static HoldUpdatingHeader ( ) : void
리턴 void

RemoveTestCase() 공개 메소드

Remove the test case from the group.
public RemoveTestCase ( TestCase testcase ) : void
testcase TestCase The test case.
리턴 void

ResumeUpdatingHeader() 공개 정적인 메소드

Resumes updating the header int the test case list.
public static ResumeUpdatingHeader ( ) : void
리턴 void

TestCaseGroup() 공개 메소드

The constuctor of TestCaseGroup.
public TestCaseGroup ( string name, int totalCasesCnt ) : System
name string
totalCasesCnt int
리턴 System

UpdateHeader() 공개 메소드

Updates the header.
public UpdateHeader ( ) : void
리턴 void