Show / Hide Table of Contents

Class ReportBuildTestRunner

Report build test runner.

Inheritance
object
TestRunnerBase
ReportScriptTestRunner
ReportBuildTestRunner
Inherited Members
ReportScriptTestRunner.NewResult(ReportTestType, string, string, object, object)
ReportScriptTestRunner.NewResult(bool, ReportTestType, string, string, object, object)
ReportScriptTestRunner.NewFailedResult(ReportTestType, string, string, object, object)
ReportScriptTestRunner.NewResult(HttpRequestException, string, object)
ReportScriptTestRunner.GetRegulationAsync(int, string)
ReportScriptTestRunner.GetReportAsync(int, int, string)
ReportScriptTestRunner.BuildReportAsync(int, int, int, ReportRequest)
ReportScriptTestRunner.Context
ReportScriptTestRunner.Tenant
ReportScriptTestRunner.User
TestRunnerBase.GetTenantAsync(string)
TestRunnerBase.DeleteTenantAsync(int)
TestRunnerBase.DeleteEmployeeAsync(int, int)
TestRunnerBase.GetUserAsync(int, string)
TestRunnerBase.GetEmployeeAsync(int, string)
TestRunnerBase.HttpClient
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Test.Report
Assembly: PayrollEngine.Client.Test.dll
Syntax
public class ReportBuildTestRunner : ReportScriptTestRunner

Constructors

ReportBuildTestRunner(PayrollHttpClient, ReportTestContext)

new instance of ReportBuildTestRunnersee

Declaration
public ReportBuildTestRunner(PayrollHttpClient httpClient, ReportTestContext context)
Parameters
Type Name Description
PayrollHttpClient httpClient

The payroll http client

ReportTestContext context

The test context

Methods

CompareReport(string, List<ReportParameter>, List<ReportParameter>)

Compare expected report with received report

Declaration
protected virtual List<ReportScriptTestResult> CompareReport(string testName, List<ReportParameter> expected, List<ReportParameter> actual)
Parameters
Type Name Description
string testName

The test name

List<ReportParameter> expected

The expected report

List<ReportParameter> actual

The actual report

Returns
Type Description
List<ReportScriptTestResult>

TupleThe value case field matching the name, null on missing case field

Test(ReportBuildTest)

Test the report build

Declaration
public virtual Task<IList<ReportScriptTestResult>> Test(ReportBuildTest test)
Parameters
Type Name Description
ReportBuildTest test

The test

Returns
Type Description
Task<IList<ReportScriptTestResult>>

The test results

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