C# Class HpToolsLauncher.Launcher

Exibir arquivo Open project: hpsa/hp-application-automation-tools-plugin Class Usage Examples

Public Methods

Method Description
Launcher ( string failOnTestFailed, string paramFileName, TestStorageType runtype ) : System

constructor

Run ( ) : void

analyzes and runs the tests given in the param file.

Private Methods

Method Description
CreateRunner ( TestStorageType runType, JavaProperties ciParams ) : IAssetRunner

creates the correct runner according to the given type

Decrypt ( string textToDecrypt, string key ) : string

decrypts strings which were encrypted by Encrypt (in the c# or java code, mainly for qc passwords)

Encrypt ( string textToEncrypt, string key ) : string

encrypts strings to be decrypted by decrypt function(in the c# or java code, mainly for qc passwords)

GetParamsWithPrefix ( string prefix ) : List
RunTests ( IAssetRunner runner, string resultsFile ) : void

used by the run fuction to run the tests

WriteToConsole ( string message ) : void

writes to console using the ConsolWriter class

Method Details

Launcher() public method

constructor
public Launcher ( string failOnTestFailed, string paramFileName, TestStorageType runtype ) : System
failOnTestFailed string
paramFileName string
runtype TestStorageType
return System

Run() public method

analyzes and runs the tests given in the param file.
public Run ( ) : void
return void