C# Класс Microsoft.Protocol.TestSuites.CommonUtility

Common helper class
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetProperty() публичный статический Метод

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
Результат string

IsRequirementVerificationDisabled() публичный статический Метод

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.
Результат bool