C# 클래스 NStub.CSharp.BuildContext.MemberBuildContext

Implementation of a data class used to create new unit tests.
상속: MemberBuildContextBase
파일 보기 프로젝트 열기: Jedzia/NStub 1 사용 예제들

공개 메소드들

메소드 설명
MemberBuildContext ( CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeTypeMember typeMember, BuildDataDictionary buildData, ISetupAndTearDownContext setUpTearDownContext, string baseKey ) : System

Initializes a new instance of the MemberBuildContext class.

보호된 메소드들

메소드 설명
GetTestMethodInfo ( CodeTypeMember typeMember ) : MethodInfo

Gets the test method info for this test object member.

GetTestObjectClassType ( CodeTypeDeclaration testClassDeclaration ) : Type

Gets the type of the object under test.

메소드 상세

GetTestMethodInfo() 보호된 메소드

Gets the test method info for this test object member.
protected GetTestMethodInfo ( CodeTypeMember typeMember ) : MethodInfo
typeMember System.CodeDom.CodeTypeMember The type member that hold the User data of the current test object member.
리턴 System.Reflection.MethodInfo

GetTestObjectClassType() 보호된 메소드

Gets the type of the object under test.
protected GetTestObjectClassType ( CodeTypeDeclaration testClassDeclaration ) : Type
testClassDeclaration System.CodeDom.CodeTypeDeclaration The test class declaration.
리턴 System.Type

MemberBuildContext() 공개 메소드

Initializes a new instance of the MemberBuildContext class.
public MemberBuildContext ( CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeTypeMember typeMember, BuildDataDictionary buildData, ISetupAndTearDownContext setUpTearDownContext, string baseKey ) : System
codeNamespace System.CodeDom.CodeNamespace The code namespace of the test.
testClassDeclaration System.CodeDom.CodeTypeDeclaration The test class declaration.( early testObject ).
typeMember System.CodeDom.CodeTypeMember The current type to create a test method for.
buildData NStub.CSharp.ObjectGeneration.BuildDataDictionary The additional build data lookup.
setUpTearDownContext ISetupAndTearDownContext Contains data specific to SetUp and TearDown test-methods.
baseKey string The base string of the . Is amended by the /// identifier, normalized and fixed by a .
리턴 System