Class TestRunnerCommon
Signs binary files using windows utility signtool.exe and list of servers
Inheritance
object
TestRunnerCommon
Namespace: BuildSystem.TestRunner.Common
Assembly: BuildSystem.Core.dll
Syntax
public class TestRunnerCommon : Object, ITestRunner, IManager
Constructors
TestRunnerCommon(ILogger?, ITestRunnerProps, string)
Signs binary files using windows utility signtool.exe and list of servers
Declaration
public TestRunnerCommon(ILogger? logger, ITestRunnerProps props, string tempFolder)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logger |
ITestRunnerProps | props | Props of running utility |
string | tempFolder | Parent folder for temp files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "TestRunner.Common"
Field Value
Type | Description |
---|---|
string |
Properties
Logger
Declaration
public ILogger? Logger { get; }
Property Value
Type | Description |
---|---|
ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
Type | Description |
---|---|
IManagerProp |
Methods
RunTests(string[], Dictionary<string, string>, out Dictionary<string, string>)
Run test cases. Each test case is a command to be executed as separate test
Declaration
public bool RunTests(string[] tests, Dictionary<string, string> testParams, out Dictionary<string, string> results)
Parameters
Type | Name | Description |
---|---|---|
string[] | tests | List of commands to be executed |
System.Collections.Generic.Dictionary<,><string, string> | testParams | List of params provided to object, which will run tests |
System.Collections.Generic.Dictionary<,><string, string> | results | In key - test case, in value - exit code or other result of executing |
Returns
Type | Description |
---|---|
bool |