C# 클래스 Open.Testing.Models.MethodInfo

Represents a single test method.
상속: Open.Core.ModelBase
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

FormatName() 공개 정적인 메소드

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

Invoke() 공개 메소드

Invokes the method.
public Invoke ( ) : Exception
리턴 System.Exception

IsTestMethod() 공개 정적인 메소드

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.
리턴 bool

LogError() 공개 메소드

Formats an error message.
public LogError ( Exception error ) : void
error System.Exception The invoke error.
리턴 void

MethodInfo() 공개 메소드

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.
리턴 System