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

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

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

Public Member Methods

 CheckDbTableRows (String dsname, String tablename, Map< String, Object > selectHash, Map< String, Object >[] expectedValues) throws Throwable
 creates the object from the arguments supplied More...
 
Object run (QorusInterfaceTest t) throws Throwable
 runs the test action: verifies the table content as provided in the constructor More...
 
String getTable () throws Throwable
 returns the table to be inspected More...
 
HashMap< String, ObjectgetSelectHash () throws Throwable
 
HashMap< String, Object > [] getData () throws Throwable
 returns the expected values More...
 
HashMap< String, Object > [] getRowData () throws Throwable
 returns the rows actually selected in the last execution of the action
 

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

◆ CheckDbTableRows()

com.qoretechnologies.qorus.test.CheckDbTableRows.CheckDbTableRows ( String  dsname,
String  tablename,
Map< String, Object selectHash,
Map< String, Object > []  expectedValues 
) throws Throwable
inline

creates the object from the arguments supplied

Parameters
dsnamename of the datasource
tablenametable name
selectHasha select hash specifying the rows added by the current interface and any other relevant parameters (orderby, etc)
expectedValueslist of hashes of expected values that should be in selected rows

Member Function Documentation

◆ getData()

HashMap<String, Object> [] com.qoretechnologies.qorus.test.CheckDbTableRows.getData ( ) throws Throwable
inline

returns the expected values

Returns
expected values

◆ getSelectHash()

HashMap<String, Object> com.qoretechnologies.qorus.test.CheckDbTableRows.getSelectHash ( ) throws Throwable
inline
Returns
select hash

◆ getTable()

String com.qoretechnologies.qorus.test.CheckDbTableRows.getTable ( ) throws Throwable
inline

returns the table to be inspected

Returns
table to be inspected

◆ run()

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

runs the test action: verifies the table content as provided in the constructor

Parameters
tQorusInterfaceTest test object

check for db content


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