Qorus Integration Engine®  4.0.3_git
com.qoretechnologies.qorus.test.CheckFileCsv Class Reference

abstract class representing an action in a test case More...

Inheritance diagram for com.qoretechnologies.qorus.test.CheckFileCsv:
com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 CheckFileCsv (String f, Map< String, Object >[] c, String sep) throws Throwable
 creates the action from the arguments passed More...
 
 CheckFileCsv (String f, Map< String, Object >[] c) throws Throwable
 creates the action from the arguments passed More...
 
Object run (QorusInterfaceTest t) throws Throwable
 runs rhe action to check the CSV file's content More...
 
String getGlob () throws Throwable
 returns the file glob as given in the constructor More...
 
String getNewestFile (Map< String, Object >[] files) throws Throwable
 returns the newest file name from a list of files More...
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

abstract class representing an action in a test case

Constructor & Destructor Documentation

◆ CheckFileCsv() [1/2]

com.qoretechnologies.qorus.test.CheckFileCsv.CheckFileCsv ( String  f,
Map< String, Object > []  c,
String  sep 
) throws Throwable
inline

creates the action from the arguments passed

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: ';')

◆ CheckFileCsv() [2/2]

com.qoretechnologies.qorus.test.CheckFileCsv.CheckFileCsv ( String  f,
Map< String, Object > []  c 
) throws Throwable
inline

creates the action from the arguments passed

Parameters
fglob that the output file should match (the newest one from the matching ones is picked)
cexpected file content as list of hashes

The default separator ';' is assumed.

Member Function Documentation

◆ getGlob()

String com.qoretechnologies.qorus.test.CheckFileCsv.getGlob ( ) throws Throwable
inline

returns the file glob as given in the constructor

Returns
glob to inspect

◆ getNewestFile()

String com.qoretechnologies.qorus.test.CheckFileCsv.getNewestFile ( Map< String, Object > []  files) throws Throwable
inline

returns the newest file name from a list of files

Parameters
fileslist of existing files
Returns
the newest file name

◆ run()

Object com.qoretechnologies.qorus.test.CheckFileCsv.run ( QorusInterfaceTest  t) throws Throwable
inline

runs rhe action to check the CSV file's content

Parameters
tQorusInterfaceTest test object

checks the file content


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