OpenPetra
Free Administration Software for Non-Profits
Tests.MReporting.Tools.TReportTestingTools Class Reference

tools for testing the finance reports More...

Static Public Member Functions

static int SetupTestLedgerWithPostedBatches ()
 setup a ledger with simple test data More...
 
static void CalculateReport (string AReportParameterJsonFile, string AReportResultFile, TParameterList ASpecificParameters, int ALedgerNumber=-1)
 calculate the report and save the result and returned parameters to file More...
 
static void TestResult (string AResultsFile, int ALedgerNumber=-1)
 compare the written result and parameter files with the files approved by a domain expert More...
 

Detailed Description

tools for testing the finance reports

Member Function Documentation

◆ CalculateReport()

static void Tests.MReporting.Tools.TReportTestingTools.CalculateReport ( string  AReportParameterJsonFile,
string  AReportResultFile,
TParameterList  ASpecificParameters,
int  ALedgerNumber = -1 
)
inlinestatic

calculate the report and save the result and returned parameters to file

◆ SetupTestLedgerWithPostedBatches()

static int Tests.MReporting.Tools.TReportTestingTools.SetupTestLedgerWithPostedBatches ( )
inlinestatic

setup a ledger with simple test data

◆ TestResult()

static void Tests.MReporting.Tools.TReportTestingTools.TestResult ( string  AResultsFile,
int  ALedgerNumber = -1 
)
inlinestatic

compare the written result and parameter files with the files approved by a domain expert


The documentation for this class was generated from the following file: