Qorus Integration Engine®  4.0.3.p1_git
QorusInterfaceTest::CheckFileCsv Class Reference

a check for csv file More...

Inheritance diagram for QorusInterfaceTest::CheckFileCsv:
QorusInterfaceTest::Action

Public Member Methods

 constructor (string f, list< auto > c, *string sep=';')
 
 run (QorusInterfaceTest t)
 
string getGlob ()
 
string getNewestFile (list< auto > files)
 
- Public Member Methods inherited from QorusInterfaceTest::Action
 constructor ()
 creates the object
 

Detailed Description

a check for csv file

Member Function Documentation

◆ constructor()

QorusInterfaceTest::CheckFileCsv::constructor ( string  f,
list< auto >  c,
*string  sep = ';' 
)
Parameters
fglob that the output file should match (the newest one from the matching ones is picked)
cexpected file content as list of hashes
sepseparator (default: ';')

◆ getGlob()

string QorusInterfaceTest::CheckFileCsv::getGlob ( )
Returns
glob to inspect

◆ getNewestFile()

string QorusInterfaceTest::CheckFileCsv::getNewestFile ( list< auto >  files)
Parameters
fileslist of existing files
Returns
the newest file name

◆ run()

QorusInterfaceTest::CheckFileCsv::run ( QorusInterfaceTest  t)
virtual
Parameters
tQorusInterfaceTest test object

checks the file content

Implements QorusInterfaceTest::Action.


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