Show / Hide Table of Contents

Class TestBase<TIn, TOut>

Script base test

Inheritance
object
TestBase<TIn, TOut>
CaseScriptTest<TIn, TOut>
ReportScriptTest<TIn, TOut>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
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 TestBase<TIn, TOut>
Type Parameters
Name Description
TIn

The test input type

TOut

The test output type

Constructors

TestBase()

Declaration
protected TestBase()

Properties

Input

The test input

Declaration
public TIn Input { get; set; }
Property Value
Type Description
TIn

InputFile

The test input file name

Declaration
public string InputFile { get; set; }
Property Value
Type Description
string

Output

The test output

Declaration
public TOut Output { get; set; }
Property Value
Type Description
TOut

OutputFile

The test output file name

Declaration
public string OutputFile { get; set; }
Property Value
Type Description
string

TestCategory

The test category

Declaration
public string TestCategory { get; set; }
Property Value
Type Description
string

TestDescription

The test description

Declaration
public string TestDescription { get; set; }
Property Value
Type Description
string

TestName

The test name

Declaration
[Required]
public string TestName { get; set; }
Property Value
Type Description
string

Methods

InitTest()

Init the test

Declaration
public virtual void InitTest()

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