C# Класс Open.Testing.MethodHelper

Helper classes for examining methods.
Показать файл Открыть проект

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

Метод Описание
IsClassCleanup ( string methodName ) : bool

Determines whether the specified method-name represents the 'ClassCleanup' method.

IsClassInitialize ( string methodName ) : bool

Determines whether the specified method-name represents the 'ClassInitialize' method.

IsConstructor ( string methodName ) : bool

Determines whether the specified method-name represents a constructor.

IsSpecial ( string methodName ) : bool

Determines whether the specified DictionaryEntry is one of the special Setup/Teardown methods.

IsTestCleanup ( string methodName ) : bool

Determines whether the specified method-name represents the 'TestCleanup' method.

IsTestInitialize ( string methodName ) : bool

Determines whether the specified method-name represents the 'TestInitialize' method.

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

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

Determines whether the specified method-name represents the 'ClassCleanup' method.
public static IsClassCleanup ( string methodName ) : bool
methodName string The name of the method.
Результат bool

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

Determines whether the specified method-name represents the 'ClassInitialize' method.
public static IsClassInitialize ( string methodName ) : bool
methodName string The name of the method.
Результат bool

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

Determines whether the specified method-name represents a constructor.
public static IsConstructor ( string methodName ) : bool
methodName string The name of the method.
Результат bool

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

Determines whether the specified DictionaryEntry is one of the special Setup/Teardown methods.
public static IsSpecial ( string methodName ) : bool
methodName string
Результат bool

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

Determines whether the specified method-name represents the 'TestCleanup' method.
public static IsTestCleanup ( string methodName ) : bool
methodName string The name of the method.
Результат bool

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

Determines whether the specified method-name represents the 'TestInitialize' method.
public static IsTestInitialize ( string methodName ) : bool
methodName string The name of the method.
Результат bool