Method | Description | |
---|---|---|
CSharpMbUnitRhinoMocksCodeGenerator ( IBuildSystem buildSystem, |
Initializes a new instance of the CSharpMbUnitRhinoMocksCodeGenerator class based the given CodeNamespace which will output to the given directory.
|
Method | Description | |
---|---|---|
ComposeTestSetupMockery ( ISetupAndTearDownCreationContext context, |
Compose additional items of the test setup method.
|
|
GenerateSetupAndTearDownAdditional ( ISetupAndTearDownCreationContext context, string testObjectName, |
Generates the setup and tear down additional members and fields.
|
Method | Description | |
---|---|---|
AddMockObject ( |
||
AddMockRepository ( |
Adds the mock repository.
|
|
CreateMocker ( |
public CSharpMbUnitRhinoMocksCodeGenerator ( IBuildSystem buildSystem, |
||
buildSystem | IBuildSystem | The build system. |
codeNamespace | The code namespace. | |
testBuilders | IMemberBuilderFactory | The test builder repository. |
configuration | ICodeGeneratorParameters | The configuration of the generator. |
return | System |
protected ComposeTestSetupMockery ( ISetupAndTearDownCreationContext context, |
||
context | ISetupAndTearDownCreationContext | The setup context. |
testObjectMemberField | The member field of the object under test. | |
testObjectName | string | The name of the object under test. |
return | IEnumerable |
protected GenerateSetupAndTearDownAdditional ( ISetupAndTearDownCreationContext context, string testObjectName, |
||
context | ISetupAndTearDownCreationContext | Contains data specific to SetUp and TearDown test-method generation. |
testObjectName | string | Name of the test object. |
testObjectMemberField | The test object member field. | |
return | void |