C# Класс NStub.CSharp.BuildContext.SetupAndTearDownContext

Implementation of a data class used by SetUp and TearDown test-method generation.
Наследование: SetupAndTearDownContextBase
Показать файл Открыть проект

Открытые методы

Метод Описание
SetupAndTearDownContext ( BuildDataDictionary buildData, CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeMemberMethod setUpMethod, CodeMemberMethod tearDownMethod, ITestObjectComposer creator ) : System.CodeDom

Initializes a new instance of the SetupAndTearDownContext class.

Описание методов

SetupAndTearDownContext() публичный Метод

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.
Результат System.CodeDom