|
TestPackage | GetTestPackage () |
| Gets a test package for the primary or active configuration within the project. The package includes all the assemblies and any settings specified in the project format. More...
|
|
TestPackage | GetTestPackage (string configName) |
| Gets a TestPackage for a specific configuration within the project. The package includes all the assemblies and any settings specified in the project format. More...
|
|
void | Load (string filename) |
|
void | LoadXml (string xmlText) |
|
string | GetSetting (string name) |
|
string | GetSetting (string name, string defaultValue) |
|
string | GetProjectBasePath () |
| GetProjectBasePath uses the BasePath if present and otherwise defaults to the directory part of the ProjectPath. More...
|
|
|
string | ProjectPath [get, private set] |
| Gets the path to the file storing this project, if any. If the project has not been saved, this is null. More...
|
|
string | ActiveConfigName [get] |
| Gets the active configuration, as defined by the particular project. For an NUnit project, we use the activeConfig attribute if present and otherwise return the first config found. More...
|
|
IList< string > | ConfigNames [get] |
|
string | ProjectPath [get] |
| Gets the path to the file storing this project, if any. If the project has not been saved, this is null. More...
|
|
string | ActiveConfigName [get] |
| Gets the active configuration, as defined by the particular project. More...
|
|
IList< string > | ConfigNames [get] |
| Gets a list of the configs for this project More...
|
|
|
XmlDocument | xmlDoc = new XmlDocument() |
| The XmlDocument representing the loaded doc. It is generated from the text when the doc is loaded unless an exception is thrown. It is modified as the user makes changes. More...
|
|
TestPackage NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetTestPackage |
( |
| ) |
|
|
inline |
TestPackage NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetTestPackage |
( |
string |
configName | ) |
|
|
inline |
Gets a TestPackage for a specific configuration within the project. The package includes all the assemblies and any settings specified in the project format.
- Parameters
-
configName | The name of the config to use |
- Returns
- A TestPackage for the named configuration.
Implements NUnit.Engine.Extensibility.IProject.
void NUnit.Engine.Services.ProjectLoaders.NUnitProject.Load |
( |
string |
filename | ) |
|
|
inline |
void NUnit.Engine.Services.ProjectLoaders.NUnitProject.LoadXml |
( |
string |
xmlText | ) |
|
|
inline |
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetSetting |
( |
string |
name | ) |
|
|
inline |
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetSetting |
( |
string |
name, |
|
|
string |
defaultValue |
|
) |
| |
|
inline |
XmlNode NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetConfigNode |
( |
string |
name | ) |
|
|
inlineprivate |
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetProjectBasePath |
( |
| ) |
|
|
inline |
GetProjectBasePath uses the BasePath if present and otherwise defaults to the directory part of the ProjectPath.
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetBasePathForConfig |
( |
XmlNode |
configNode | ) |
|
|
inlineprivate |
IDictionary<string, object> NUnit.Engine.Services.ProjectLoaders.NUnitProject.GetSettingsForConfig |
( |
XmlNode |
configNode | ) |
|
|
inlineprivate |
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.NormalizePath |
( |
string |
path | ) |
|
|
inlineprivate |
XmlDocument NUnit.Engine.Services.ProjectLoaders.NUnitProject.xmlDoc = new XmlDocument() |
|
private |
The XmlDocument representing the loaded doc. It is generated from the text when the doc is loaded unless an exception is thrown. It is modified as the user makes changes.
readonly char [] NUnit.Engine.Services.ProjectLoaders.NUnitProject.PATH_SEPARATORS = new char[] { '/', '\\' } |
|
staticprivate |
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.ProjectPath |
|
getprivate set |
Gets the path to the file storing this project, if any. If the project has not been saved, this is null.
string NUnit.Engine.Services.ProjectLoaders.NUnitProject.ActiveConfigName |
|
get |
Gets the active configuration, as defined by the particular project. For an NUnit project, we use the activeConfig attribute if present and otherwise return the first config found.
IList<string> NUnit.Engine.Services.ProjectLoaders.NUnitProject.ConfigNames |
|
get |
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/NUnitEngine/Addins/nunit-project-loader/NUnitProject.cs