Show / Hide Table of Contents

Class CustomTestParser<TFunction, TContext>

Parse custom test class

Inheritance
object
CustomTestParserBase
CustomTestParser<TFunction, TContext>
CaseCustomTestParser
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 class CustomTestParser<TFunction, TContext> : CustomTestParserBase where TFunction : CustomTestBase<TContext> where TContext : TestContextBase
Type Parameters
Name Description
TFunction
TContext

Constructors

CustomTestParser(string, List<string>)

Custom text parser constructor

Declaration
public CustomTestParser(string testName, List<string> sourceFiles)
Parameters
Type Name Description
string testName

The test name

List<string> sourceFiles

THe source files

Properties

TestType

The custom test type, maybe null

Declaration
public Type TestType { get; }
Property Value
Type Description
Type

Methods

GetDefaultAssemblies()

Get the test default assembly names

Declaration
protected virtual List<string> GetDefaultAssemblies()
Returns
Type Description
List<string>

Assembly name list

GetDefaultReferences()

Get the test default references

Declaration
protected virtual List<Type> GetDefaultReferences()
Returns
Type Description
List<Type>

Type reference list

GetTest(string, params Type[])

Get the test method

Declaration
public MethodInfo GetTest(string testName, params Type[] parameterTypes)
Parameters
Type Name Description
string testName

The test name

Type[] parameterTypes

The parameter types

Returns
Type Description
MethodInfo

THe test method info

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