C# 클래스 Microsoft.Silverlight.Testing.UnitTesting.Metadata.VisualStudio.TestMethod

A provider wrapper for a test method.
상속: ITestMethod
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 메소드들

메소드 설명
DecorateInstance ( object instance ) : void

Decorates a test class instance with the unit test framework's specific test context capability, if supported.

GetDynamicAttributes ( ) : IEnumerable

Get any attribute on the test method that are provided dynamically.

Invoke ( object instance ) : void

Invoke the test method.

TestMethod ( MethodInfo methodInfo ) : System

Creates a new test method wrapper object.

ToString ( ) : string

Exposes the name of the test method as a string.

비공개 메소드들

메소드 설명
OnWriteLine ( string s ) : void

Call the WriteLine method.

TestMethod ( ) : System

Private constructor, the constructor requires the method reflection object.

메소드 상세

DecorateInstance() 공개 메소드

Decorates a test class instance with the unit test framework's specific test context capability, if supported.
public DecorateInstance ( object instance ) : void
instance object Instance to decorate.
리턴 void

GetDynamicAttributes() 공개 메소드

Get any attribute on the test method that are provided dynamically.
public GetDynamicAttributes ( ) : IEnumerable
리턴 IEnumerable

Invoke() 공개 메소드

Invoke the test method.
public Invoke ( object instance ) : void
instance object Instance of the test class.
리턴 void

TestMethod() 공개 메소드

Creates a new test method wrapper object.
public TestMethod ( MethodInfo methodInfo ) : System
methodInfo System.Reflection.MethodInfo The reflected method.
리턴 System

ToString() 공개 메소드

Exposes the name of the test method as a string.
public ToString ( ) : string
리턴 string