Show / Hide Table of Contents

Class TestCommandBase

Test command base

Inheritance
object
CommandBase
TestCommandBase
TestCommandBase<TArgs>
Implements
ICommand
Inherited Members
CommandBase.GetParameters(CommandLineParser)
CommandBase.ExecuteAsync(CommandContext, ICommandParameters)
CommandBase.OnExecute(CommandContext, ICommandParameters)
CommandBase.ShowHelp(ICommandConsole)
CommandBase.DisplayTitle(ICommandConsole, string)
CommandBase.ProcessError(ICommandConsole, Exception)
CommandBase.DisplayResponseContent(ICommandConsole, HttpResponseMessage)
CommandBase.ToString()
CommandBase.Name
CommandBase.BackendCommand
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Test
Assembly: PayrollEngine.Client.Test.dll
Syntax
public abstract class TestCommandBase : CommandBase, ICommand

Constructors

TestCommandBase()

Declaration
protected TestCommandBase()

Methods

DisplayTestResults<TResult>(ILogger, ICommandConsole, TestDisplayMode, ICollection<TResult>)

Display test results using the standard mode

Declaration
protected static void DisplayTestResults<TResult>(ILogger logger, ICommandConsole console, TestDisplayMode displayMode, ICollection<TResult> results) where TResult : ScriptTestResultBase
Parameters
Type Name Description
ILogger logger

Logger

ICommandConsole console

Console

TestDisplayMode displayMode

Display mode

ICollection<TResult> results

Test results

Type Parameters
Name Description
TResult

GetTestFileNames(string)

Get test file names by mask

Declaration
protected static List<string> GetTestFileNames(string fileMask)
Parameters
Type Name Description
string fileMask

File name or glob mask

Returns
Type Description
List<string>

Implements

ICommand

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX