C# 클래스 VisualUIAVerify.Features.AutomationTest

class encapsulating automation test
파일 보기 프로젝트 열기: geeksree/cSharpGeeks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Method System.Reflection.MethodInfo
TestCaseAttribute Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute

공개 메소드들

메소드 설명
AutomationTest ( AutomationTest originalTest, TestPriorities testPriority, TestTypes testType ) : System

initializes new instance with the testPriority and testType

AutomationTest ( Microsoft.Test.UIAutomation.TestManager testCaseAttribute, MethodInfo method ) : System

initializes new instance, extracts test priority and test type

Equals ( object obj ) : bool

this method is used for comparison of two instances of automation tests. Two tests are consideded equal if both are the same method of the same class and there is assigned the same TestType.

GetHashCode ( ) : int

have to override because the compiler warning which is treated as error

IsControlTestForControlType ( string ControlTypeName ) : bool

Gets true if the test is ControlType test for ControlTypeName

IsPatternTestForSupportedPatterns ( string PatternName ) : bool

Gets true if the test is Pattern test for PatternName

비공개 메소드들

메소드 설명
ExtractTestType ( ) : void

This method extracts test type of the test.

ReadTestPriority ( ) : void

This method translates WUILib.TestCaseAttribute.Priority to TestPriority enum value.

메소드 상세

AutomationTest() 공개 메소드

initializes new instance with the testPriority and testType
public AutomationTest ( AutomationTest originalTest, TestPriorities testPriority, TestTypes testType ) : System
originalTest AutomationTest
testPriority TestPriorities
testType TestTypes
리턴 System

AutomationTest() 공개 메소드

initializes new instance, extracts test priority and test type
public AutomationTest ( Microsoft.Test.UIAutomation.TestManager testCaseAttribute, MethodInfo method ) : System
testCaseAttribute Microsoft.Test.UIAutomation.TestManager
method System.Reflection.MethodInfo
리턴 System

Equals() 공개 메소드

this method is used for comparison of two instances of automation tests. Two tests are consideded equal if both are the same method of the same class and there is assigned the same TestType.
public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

have to override because the compiler warning which is treated as error
public GetHashCode ( ) : int
리턴 int

IsControlTestForControlType() 공개 메소드

Gets true if the test is ControlType test for ControlTypeName
public IsControlTestForControlType ( string ControlTypeName ) : bool
ControlTypeName string
리턴 bool

IsPatternTestForSupportedPatterns() 공개 메소드

Gets true if the test is Pattern test for PatternName
public IsPatternTestForSupportedPatterns ( string PatternName ) : bool
PatternName string
리턴 bool

프로퍼티 상세

Method 공개적으로 프로퍼티

Method reflection info.
public MethodInfo,System.Reflection Method
리턴 System.Reflection.MethodInfo

TestCaseAttribute 공개적으로 프로퍼티

TestCaseAttribute
public TestCaseAttribute,Microsoft.Test.UIAutomation.TestManager TestCaseAttribute
리턴 Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute