Property | Type | Description |
---|
Method | Description | |
---|---|---|
AssignExtra ( |
Assigns the parameters detected with BuildTestObject to an explicitly specified constructor create expression to a specified method and creates field initialization expressions for each parameter.
|
|
AssignOnly ( |
Assigns the parameters detected with BuildTestObject to an explicitly specified constructor create expression without initializing extra fields like in AssignExtra.
|
|
AssignParameters ( |
Assigns the parameters detected with BuildTestObject to the constructor create expression stored in TestObjectMemberFieldCreateExpression. Simply means, to add the calculated fields to the specified testClassDeclaration. |
|
AssignParameters ( |
Assigns the parameters detected with BuildTestObject to the specified constructor create expression.
|
|
BuildTestObject ( MemberVisibility visibility ) : |
Creates a code generation expression for an object to test with a member field and initialization in the previous specified SetUpMethod method.
|
Method | Description | |
---|---|---|
AddAssignStatement ( |
Add a assign statement to the test object initializer method.
|
|
TestObjectComposerBase ( |
Initializes a new instance of the TestObjectComposerBase class.
|
protected AddAssignStatement ( |
||
assignStatement | The code assign statement. | |
return | void |
public abstract AssignExtra ( |
||
testClassDeclaration | The test class declaration. | |
testMethod | The test method, to add the assign-statements to. | |
testObjectConstructor | The object constructor to create the parameter initializers for. | |
ctorAssignments | AssignmentInfoCollection | The list of constructor assignments that specify the parameter to add. |
return | void |
public abstract AssignOnly ( |
||
testClassDeclaration | The test class declaration. | |
testMethod | The test method, to add the assign-statements to. | |
testObjectConstructor | The object constructor to create the parameter initializers for. | |
ctorAssignments | AssignmentInfoCollection | The list of constructor assignments that specify the parameter to add. |
return | void |
public AssignParameters ( |
||
testClassDeclaration | The test class declaration. | |
return | void |
public abstract AssignParameters ( |
||
testClassDeclaration | The test class declaration. | |
testObjectConstructor | The object constructor to create the parameter initializers for. | |
return | void |
public abstract BuildTestObject ( MemberVisibility visibility ) : |
||
visibility | MemberVisibility | The visibility level of the objects to parse. Default should be public. |
return |
protected TestObjectComposerBase ( |
||
buildData | The build data dictionary. | |
setUpMethod | The method where the test object is initialized | |
testObjectMemberField | The member field creation expression for the object under test. | |
testObjectName | string | The name of the test object. |
testObjectType | Type of the test object. | |
return | System |