Méthode | Description | |
---|---|---|
CreateFilebasedProject ( string xml ) : |
Creates a new Project with output level Level.Info.
|
|
CreateFilebasedProject ( string xml, Level level ) : |
Creates a new Project with the given output level.
|
|
CreateFilebasedProject ( string xml, Level level, |
Creates a new Project with the given output level initialized using the specified configuration node.
|
|
CreateTempDir ( string name ) : string |
Creates a temporary directory. The directory is created and existance is checked. |
|
CreateTempFile ( string name ) : string |
Creates a temporary file in the temporary directory of the test. The file is created and existance is checked. |
|
CreateTempFile ( string name, string contents ) : string |
Creates a tempfile in the test temp directory. The file is created and existance is checked. |
|
ExecuteProject ( |
Executes the project and returns the console output as a string. Any exception that is thrown as part of the execution of the Project is wrapped in a TestBuildException. |
|
ExecuteTask ( NAnt.Core.Task task ) : string |
Executes a task and returns the console output as a string. Any exception that is thrown as part of the execution of the Task is wrapped in a TestBuildException. |
|
RunBuild ( string xml ) : string |
Runs the XML as a NAnt project and returns the console output as a string.
|
|
RunBuild ( string xml, IBuildListener listener ) : string |
Runs the XML as a NAnt project and returns the console output as a string.
|
|
RunBuild ( string xml, Level level ) : string |
Runs the XML as NAnt project and returns the console output as a string.
|
|
RunBuild ( string xml, Level level, IBuildListener listener ) : string |
Runs the XML as NAnt project and returns the console output as a string.
|
Méthode | Description | |
---|---|---|
CreateEmptyProject ( ) : |
Creates an empty project XmlDocument and loads it with a new project.
|
|
SetUp ( ) : void |
No need to add SetUp attribute to overriden method. Super classes that override SetUp must call the base class first. |
Méthode | Description | |
---|---|---|
NUnitSetUp ( ) : void | ||
TearDown ( ) : void |
protected CreateEmptyProject ( ) : |
||
Résultat |
public CreateFilebasedProject ( string xml ) : |
||
xml | string | The XML of the build file |
Résultat |
public CreateFilebasedProject ( string xml, Level level ) : |
||
xml | string | The XML of the build file |
level | Level | The build output level. |
Résultat |
public CreateFilebasedProject ( string xml, Level level, |
||
xml | string | The XML of the build file |
level | Level | The build output level. |
configNode | ||
Résultat |
public CreateTempDir ( string name ) : string | ||
name | string | The name of the directory to create (name only, no path info). |
Résultat | string |
public CreateTempFile ( string name ) : string | ||
name | string | The filename, should not be absolute. |
Résultat | string |
public CreateTempFile ( string name, string contents ) : string | ||
name | string | The filename, should not be absolute. |
contents | string | The content of the file. |
Résultat | string |
public static ExecuteProject ( |
||
p | The project to execute. | |
Résultat | string |
public static ExecuteTask ( NAnt.Core.Task task ) : string | ||
task | NAnt.Core.Task | The task to execute. |
Résultat | string |
public RunBuild ( string xml ) : string | ||
xml | string | XML representing the build file contents. |
Résultat | string |
public RunBuild ( string xml, IBuildListener listener ) : string | ||
xml | string | XML representing the build file contents. |
listener | IBuildListener | A |
Résultat | string |
public RunBuild ( string xml, Level level ) : string | ||
xml | string | XML representing the build file contents. |
level | Level | The build output threshold. |
Résultat | string |
public RunBuild ( string xml, Level level, IBuildListener listener ) : string | ||
xml | string | XML representing the build file contents. |
level | Level | The build output threshold. |
listener | IBuildListener | A |
Résultat | string |