Property | Type | Description | |
---|---|---|---|
_BuildTempConfigXmlFile | void | ||
_CheckToolPath | void | ||
_CleanupConfigFile | void | ||
_GetConfigFilename | string | ||
_WriteCoverExclusionsFromPairsToTempConfigFile | void | ||
_WriteCoverExclusionsFromXmlToTempConfigFile | void | ||
_WriteModuleThresholdsToTempConfigFile | void |
Method | Description | |
---|---|---|
Execute ( ) : bool |
Executes the task.
|
|
NCoverExplorer ( ) : System |
Initializes a new instance of the NCoverExplorer class.
|
Method | Description | |
---|---|---|
GenerateCommandLineCommands ( ) : string |
Returns a string value containing the command line arguments to pass directly to the executable file.
|
|
GenerateFullPathToTool ( ) : string |
Returns the fully qualified path to the executable file.
|
|
LogToolCommand ( string message ) : void |
Logs the starting point of the run to all registered loggers.
|
|
ValidateParameters ( ) : bool |
Validate the parameters supplied to this task.
|
Method | Description | |
---|---|---|
_BuildTempConfigXmlFile ( ) : void |
Builds a temporary NCoverExplorer configuration file which we can pass in the command line. We require this as the command line itself does not directly support all the argument combinations.
|
|
_CheckToolPath ( ) : void |
Determine the path to NCoverExplorer. Either the user can specify it in the arguments to the task, or we look in the registry, program files and finally just assume it is in the path.
|
|
_CleanupConfigFile ( ) : void |
Removes generated settings file after process has run.
|
|
_GetConfigFilename ( ) : string |
Return a temporary filename for the config file for executing NCoverExplorer.Console.
|
|
_WriteCoverExclusionsFromPairsToTempConfigFile ( |
The coverage exclusions have been inlined as type=pattern semi-colon delimited pairs. Break apart and write to the temp config file.
|
|
_WriteCoverExclusionsFromXmlToTempConfigFile ( |
The coverage exclusions have been inlined as type=pattern semi-colon delimited pairs. Break apart and write to the temp config file.
|
|
_WriteModuleThresholdsToTempConfigFile ( |
Iterate through the module thresholds and write their values into the configuration file.
|
protected GenerateCommandLineCommands ( ) : string | ||
return | string |
protected GenerateFullPathToTool ( ) : string | ||
return | string |
protected LogToolCommand ( string message ) : void | ||
message | string | A descriptive message to provide loggers, usually the command line and switches. |
return | void |