Show / Hide Table of Contents

Class CustomTestBase<TContext>

Base class for custom tests

Inheritance
object
CustomTestBase<TContext>
CaseCustomTest
ReportCustomTest
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 CustomTestBase<TContext> where TContext : TestContextBase
Type Parameters
Name Description
TContext

Constructors

CustomTestBase(PayrollHttpClient, TContext)

New instance of CustomTestBase<TContext>

Declaration
protected CustomTestBase(PayrollHttpClient httpClient, TContext context)
Parameters
Type Name Description
PayrollHttpClient httpClient

The payroll http client

TContext context

The test context

Properties

Context

The test context

Declaration
public TContext Context { get; }
Property Value
Type Description
TContext

HttpClient

The Payroll http client

Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
Type Description
PayrollHttpClient

Tenant

The Tenant

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

User

The user

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

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