C# Class Microsoft.Protocol.TestSuites.CommonUtility

Common helper class
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
GetProperty ( ITestSite site, string propName ) : string

This method is used to retrieve the value from the PTFConfig

IsRequirementVerificationDisabled ( ITestSite site, string protocolName, int requirementId ) : bool

This method checks if a requirement verification needs to be disabled.

Method Details

GetProperty() public static method

This method is used to retrieve the value from the PTFConfig
public static GetProperty ( ITestSite site, string propName ) : string
site ITestSite The related ITestSite instance.
propName string The need property name
return string

IsRequirementVerificationDisabled() public static method

This method checks if a requirement verification needs to be disabled.
public static IsRequirementVerificationDisabled ( ITestSite site, string protocolName, int requirementId ) : bool
site ITestSite The related ITestSite instance.
protocolName string The protocol short name
requirementId int The requirement ID to be checked.
return bool