Qorus Integration Engine®  4.0.3.p2_git
QorusInterfaceTest::CreateFileCsv Class Reference

action class to create a csv file as an input for an interface More...

Inheritance diagram for QorusInterfaceTest::CreateFileCsv:
QorusInterfaceTest::CreateFile QorusInterfaceTest::Action

Public Member Methods

 constructor (string f, *list< auto > c, *string separator)
 creates the action object based on the arguments More...
 
 run (QorusInterfaceTest t)
 checks whether the csv file with specified content was created More...
 
list< auto > getContent ()
 returns a list of hashes representing the CSV lines More...
 
string getSeparator ()
 returns the separator string More...
 
- Public Member Methods inherited from QorusInterfaceTest::CreateFile
 constructor (string f)
 
string getFile ()
 
- Public Member Methods inherited from QorusInterfaceTest::Action
 constructor ()
 creates the object
 

Detailed Description

action class to create a csv file as an input for an interface

Member Function Documentation

◆ constructor()

QorusInterfaceTest::CreateFileCsv::constructor ( string  f,
*list< auto >  c,
*string  separator 
)

creates the action object based on the arguments

Parameters
ffile that should be created
clist of hashes specifying data in csv file
separatorseparator in csv file

◆ getContent()

list<auto> QorusInterfaceTest::CreateFileCsv::getContent ( )

returns a list of hashes representing the CSV lines

Returns
list of csv lines in the form of hashes

◆ getSeparator()

string QorusInterfaceTest::CreateFileCsv::getSeparator ( )

returns the separator string

Returns
csv separator

◆ run()

QorusInterfaceTest::CreateFileCsv::run ( QorusInterfaceTest  t)
virtual

checks whether the csv file with specified content was created

Parameters
tQorusInterfaceTest test object

Implements QorusInterfaceTest::Action.


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