Method | Description | |
---|---|---|
AddProject ( Mock |
Adds a project to the mock VBE. Use a MockProjectBuilder to build the project.
|
|
Build ( ) : Mock |
Gets the mock VBE instance.
|
|
BuildFromSingleModule ( string content, vbext_ComponentType type, VBComponent &component ) : Mock |
||
BuildFromSingleStandardModule ( string content, VBComponent &component ) : Mock |
Gets a mock VBE instance, containing a single "TestProject1" VBProject and a single "TestModule1" VBComponent, with the specified content.
|
|
MockVbeBuilder ( ) : System.Collections | ||
ProjectBuilder ( string name, vbext_ProjectProtection protection ) : |
Creates a MockProjectBuilder to build a new project.
|
Method | Description | |
---|---|---|
CreateCodePanesMock ( ) : Mock |
||
CreateProjectsMock ( ) : Mock |
||
CreateVbeMock ( ) : Mock |
public AddProject ( Mock |
||
project | Mock |
A mock |
return |
public BuildFromSingleModule ( string content, vbext_ComponentType type, VBComponent &component ) : Mock |
||
content | string | |
type | vbext_ComponentType | |
component | VBComponent | |
return | Mock |
public BuildFromSingleStandardModule ( string content, VBComponent &component ) : Mock |
||
content | string | The VBA code associated to the component. |
component | VBComponent | The created |
return | Mock |
public MockVbeBuilder ( ) : System.Collections | ||
return | System.Collections |
public ProjectBuilder ( string name, vbext_ProjectProtection protection ) : |
||
name | string | The name of the project to build. |
protection | vbext_ProjectProtection | A value that indicates whether the project is protected. |
return |