C# 클래스 Microsoft.Protocols.TestSuites.MS_CPSWS.TestSuiteBase

상속: Microsoft.Protocols.TestTools.TestClassBase
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
DepthFirstTraverse ( SPProviderHierarchyNode node, ArrayOfString &providerNames ) : void

A method used to do a depth first traverse in a given Provider Hierarchy tree to gather provider names and save them in the list of providerNames.

GenerateGUID ( ) : string

A method used to generate random GUID.

GenerateInvalidUser ( ) : string

A method used to generate an invalid domain user.

GenerateProviderSearchArgumentsInput_Valid ( ) : SPProviderSearchArguments

A method used to generate a valid SPProviderSearchArguments of IClaimProviderWebService_Search_InputMessage.

GenerateRandomString ( int size ) : string

A method used to generate random string in the range A-Z with the specified string size.

GenerateSPClaimResolveInput_Invalid ( ) : SPClaim

A method used to generate an invalid SPClaim of ResolveInput.

GenerateSPClaimResolveInput_Valid ( ) : SPClaim

A method used to generate a valid SPClaim of ResolveInput which is used in the ResolveClaim operation.

GenerateSearchAllInput_Valid ( ) : void

A method used to generate a valid input condition of SearchAll.

GetAllProviders ( ) : SPProviderHierarchyTree[]

A method used to get all existed claims providers hierarchy tree in the server.

GetClaimTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString

A method used to get claim types by SUT control adapter.

GetClaimValueTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString

A method used to get claim value types by SUT control.

GetEntityTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString

A method used to get entity types by SUT control.

VerificationSutResultsAndProResults ( ArrayOfString resultByProtocol, ArrayOfString resultBySutAdapter ) : bool

A method used to verify types that are defined by protocol.

VerifyArgumentNullException ( System.ServiceModel.FaultException faultException, string argumentName ) : bool

A method used to verify argument null exception.

VerifyArgumentOutOfRangeException ( System.ServiceModel.FaultException faultException, string argumentName ) : bool

A method used to verify argument out of range exception.

VierfyRemoveDuplicate ( ArrayOfString resultByProtocol ) : bool

A method used to verify remove the duplicated item.

비공개 메소드들

메소드 설명
InputClaimProviderNames ( ArrayOfString inputClaimProviderNames ) : string

A method used to convert ArrayOfString type to String type.

TestSuiteBaseCleanup ( ) : void
TestSuiteBaseInitialize ( ) : void
TestSuiteClassCleanup ( ) : void
TestSuiteClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void

메소드 상세

DepthFirstTraverse() 공개 메소드

A method used to do a depth first traverse in a given Provider Hierarchy tree to gather provider names and save them in the list of providerNames.
public DepthFirstTraverse ( SPProviderHierarchyNode node, ArrayOfString &providerNames ) : void
node SPProviderHierarchyNode A parameter represents a provider hierarchy node.
providerNames ArrayOfString A parameter represents a list of provider names.
리턴 void

GenerateGUID() 공개 메소드

A method used to generate random GUID.
public GenerateGUID ( ) : string
리턴 string

GenerateInvalidUser() 공개 메소드

A method used to generate an invalid domain user.
public GenerateInvalidUser ( ) : string
리턴 string

GenerateProviderSearchArgumentsInput_Valid() 공개 메소드

A method used to generate a valid SPProviderSearchArguments of IClaimProviderWebService_Search_InputMessage.
public GenerateProviderSearchArgumentsInput_Valid ( ) : SPProviderSearchArguments
리턴 SPProviderSearchArguments

GenerateRandomString() 공개 메소드

A method used to generate random string in the range A-Z with the specified string size.
public GenerateRandomString ( int size ) : string
size int A parameter represents the generated string size.
리턴 string

GenerateSPClaimResolveInput_Invalid() 공개 메소드

A method used to generate an invalid SPClaim of ResolveInput.
public GenerateSPClaimResolveInput_Invalid ( ) : SPClaim
리턴 SPClaim

GenerateSPClaimResolveInput_Valid() 공개 메소드

A method used to generate a valid SPClaim of ResolveInput which is used in the ResolveClaim operation.
public GenerateSPClaimResolveInput_Valid ( ) : SPClaim
리턴 SPClaim

GenerateSearchAllInput_Valid() 공개 메소드

A method used to generate a valid input condition of SearchAll.
public GenerateSearchAllInput_Valid ( ) : void
리턴 void

GetAllProviders() 공개 정적인 메소드

A method used to get all existed claims providers hierarchy tree in the server.
public static GetAllProviders ( ) : SPProviderHierarchyTree[]
리턴 SPProviderHierarchyTree[]

GetClaimTypesResultBySutAdapter() 공개 메소드

A method used to get claim types by SUT control adapter.
public GetClaimTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString
claimProviderNames ArrayOfString A parameter represents a group of provider name.
리턴 ArrayOfString

GetClaimValueTypesResultBySutAdapter() 공개 메소드

A method used to get claim value types by SUT control.
public GetClaimValueTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString
claimProviderNames ArrayOfString A parameter represents a group of provider name.
리턴 ArrayOfString

GetEntityTypesResultBySutAdapter() 공개 메소드

A method used to get entity types by SUT control.
public GetEntityTypesResultBySutAdapter ( ArrayOfString claimProviderNames ) : ArrayOfString
claimProviderNames ArrayOfString A parameter represents a group of provider name.
리턴 ArrayOfString

VerificationSutResultsAndProResults() 공개 메소드

A method used to verify types that are defined by protocol.
public VerificationSutResultsAndProResults ( ArrayOfString resultByProtocol, ArrayOfString resultBySutAdapter ) : bool
resultByProtocol ArrayOfString A parameter represents an expected type list from protocol.
resultBySutAdapter ArrayOfString A parameter represents an actual type list from SUT adapter.
리턴 bool

VerifyArgumentNullException() 공개 메소드

A method used to verify argument null exception.
public VerifyArgumentNullException ( System.ServiceModel.FaultException faultException, string argumentName ) : bool
faultException System.ServiceModel.FaultException A parameter represents a fault exception.
argumentName string A parameter represents an argument name.
리턴 bool

VerifyArgumentOutOfRangeException() 공개 메소드

A method used to verify argument out of range exception.
public VerifyArgumentOutOfRangeException ( System.ServiceModel.FaultException faultException, string argumentName ) : bool
faultException System.ServiceModel.FaultException A parameter represents a fault exception.
argumentName string A parameter represents an argument name.
리턴 bool

VierfyRemoveDuplicate() 공개 메소드

A method used to verify remove the duplicated item.
public VierfyRemoveDuplicate ( ArrayOfString resultByProtocol ) : bool
resultByProtocol ArrayOfString A parameter represents an expected type list from protocol.
리턴 bool