C# Class Open.Testing.Models.MethodInfo

Represents a single test method.
Inheritance: Open.Core.ModelBase
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Méthode Description
FormatName ( string name ) : string

Formats a name into a display name (replace underscores with spaces etc.).

Invoke ( ) : Exception

Invokes the method.

IsTestMethod ( DictionaryEntry item ) : bool

Determines whether the specified DictionaryEntry represents a valid test-method.

LogError ( Exception error ) : void

Formats an error message.

MethodInfo ( ClassInfo classInfo, string name ) : System

Constructor.

Method Details

FormatName() public static méthode

Formats a name into a display name (replace underscores with spaces etc.).
public static FormatName ( string name ) : string
name string The name to format.
Résultat string

Invoke() public méthode

Invokes the method.
public Invoke ( ) : Exception
Résultat System.Exception

IsTestMethod() public static méthode

Determines whether the specified DictionaryEntry represents a valid test-method.
public static IsTestMethod ( DictionaryEntry item ) : bool
item System.Collections.DictionaryEntry The Dictionaty item to examine.
Résultat bool

LogError() public méthode

Formats an error message.
public LogError ( Exception error ) : void
error System.Exception The invoke error.
Résultat void

MethodInfo() public méthode

Constructor.
public MethodInfo ( ClassInfo classInfo, string name ) : System
classInfo ClassInfo The test-class that this method is a member of.
name string The name of the method.
Résultat System