C# Class Open.Testing.MethodHelper

Helper classes for examining methods.
Mostrar archivo Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
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.

Method Details

IsClassCleanup() public static method

Determines whether the specified method-name represents the 'ClassCleanup' method.
public static IsClassCleanup ( string methodName ) : bool
methodName string The name of the method.
return bool

IsClassInitialize() public static method

Determines whether the specified method-name represents the 'ClassInitialize' method.
public static IsClassInitialize ( string methodName ) : bool
methodName string The name of the method.
return bool

IsConstructor() public static method

Determines whether the specified method-name represents a constructor.
public static IsConstructor ( string methodName ) : bool
methodName string The name of the method.
return bool

IsSpecial() public static method

Determines whether the specified DictionaryEntry is one of the special Setup/Teardown methods.
public static IsSpecial ( string methodName ) : bool
methodName string
return bool

IsTestCleanup() public static method

Determines whether the specified method-name represents the 'TestCleanup' method.
public static IsTestCleanup ( string methodName ) : bool
methodName string The name of the method.
return bool

IsTestInitialize() public static method

Determines whether the specified method-name represents the 'TestInitialize' method.
public static IsTestInitialize ( string methodName ) : bool
methodName string The name of the method.
return bool