C# Class NStub.CSharp.BuildContext.SetupAndTearDownContext

Implementation of a data class used by SetUp and TearDown test-method generation.
Inheritance: SetupAndTearDownContextBase
Exibir arquivo Open project: Jedzia/NStub

Public Methods

Method Description
SetupAndTearDownContext ( BuildDataDictionary buildData, CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeMemberMethod setUpMethod, CodeMemberMethod tearDownMethod, ITestObjectComposer creator ) : System.CodeDom

Initializes a new instance of the SetupAndTearDownContext class.

Method Details

SetupAndTearDownContext() public method

Initializes a new instance of the SetupAndTearDownContext class.
public SetupAndTearDownContext ( BuildDataDictionary buildData, CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeMemberMethod setUpMethod, CodeMemberMethod tearDownMethod, ITestObjectComposer creator ) : System.CodeDom
buildData NStub.CSharp.ObjectGeneration.BuildDataDictionary The build data dictionary.
codeNamespace System.CodeDom.CodeNamespace The code namespace of the test.
testClassDeclaration System.CodeDom.CodeTypeDeclaration The test class declaration.( early testObject ).
setUpMethod System.CodeDom.CodeMemberMethod A reference to the test setup method.
tearDownMethod System.CodeDom.CodeMemberMethod The tear down method.
creator ITestObjectComposer The test object member field generator of the test SetUp method.
return System.CodeDom