Method | Description | |
---|---|---|
AppendAssertInconclusive ( |
Appends a 'Assert.Inconclusive("Text")' statement to the specified method.
|
|
CreateAndInitializeCollectionField ( string memberCollectionField ) : |
Creates a reference to a collection based member field and initializes it with a new instance of the specified parameter type and adds a collection item to it. Sample values are used as the initializing expression. With a custom Type, this method produces a statement with a initializer like: |
|
CreateAndInitializeMemberField ( |
Creates a reference to a member field and initializes it with a new instance of the specified parameter type. Sample values are used as the initializing expression. With a custom Type, this method produces a statement with a initializer like: |
|
CreateExpressionByType ( |
||
CreateTestStubForMethod ( |
Creates the stub for the specified code member method. This method actually implements the method body for the test method.
|
public static AppendAssertInconclusive ( |
||
codeMemberMethod | The code member method. | |
inconclusiveText | string | The warning parameter text of the Assert.Inconclusive call. |
return | void |
public static CreateAndInitializeCollectionField ( string memberCollectionField ) : |
||
memberCollectionField | string | Name of the referenced collection field. |
return |
public static CreateAndInitializeMemberField ( |
||
type | Defines the type of the new object. | |
memberField | string | Name of the referenced member field. |
return |
public static CreateExpressionByType ( |
||
type | ||
memberField | string | |
return | System.CodeDom.CodeExpression |
public static CreateTestStubForMethod ( |
||
codeMemberMethod | The code member method. | |
return | void |