Qorus Integration Engine®  4.0.3.p2_git
com.qoretechnologies.qorus.test.CheckDbTableRow Class Reference

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

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

Public Member Methods

 CheckDbTableRow (String dsname, String tablename, Map< String, Object > selectHash, Map< String, Object > expectedValue) 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, ObjectgetData () throws Throwable
 returns the expected row value More...
 
HashMap< String, ObjectgetRowData () throws Throwable
 returns the row 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

◆ CheckDbTableRow()

com.qoretechnologies.qorus.test.CheckDbTableRow.CheckDbTableRow ( String  dsname,
String  tablename,
Map< String, Object selectHash,
Map< String, Object expectedValue 
) 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)
expectedValuethe expected row value as a hash

Member Function Documentation

◆ getData()

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

returns the expected row value

Returns
the expected row value

◆ getSelectHash()

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

◆ getTable()

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

returns the table to be inspected

Returns
table to be inspected

◆ run()

Object com.qoretechnologies.qorus.test.CheckDbTableRow.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: