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

a check for database content More...

Inheritance diagram for QorusInterfaceTest::CheckDbTableRow:
QorusInterfaceTest::CheckDbTableRows QorusInterfaceTest::Action

Public Member Methods

 constructor (string dsname, string tablename, hash< auto > selectHash, *hash< auto > expectedValues)
 
hash< auto > getData ()
 
*hash< auto > getRowData ()
 returns the row actually selected in the last execution of the action
 
- Public Member Methods inherited from QorusInterfaceTest::CheckDbTableRows
 constructor (string dsname, string tablename, hash< auto > selectHash, softlist< auto > expectedValues)
 
 run (QorusInterfaceTest t)
 
string getTable ()
 
hash< auto > getSelectHash ()
 
list< auto > getData ()
 returns the expected values More...
 
*list< auto > getRowData ()
 returns the rows actually selected in the last execution of the action
 
- Public Member Methods inherited from QorusInterfaceTest::Action
 constructor ()
 creates the object
 

Additional Inherited Members

- Private Attributes inherited from QorusInterfaceTest::CheckDbTableRows
list< auto > m_exp
 expected row data
 
*list< auto > m_rows
 the actual rows selected
 

Detailed Description

a check for database content

Member Function Documentation

◆ constructor()

QorusInterfaceTest::CheckDbTableRow::constructor ( string  dsname,
string  tablename,
hash< auto >  selectHash,
*hash< auto >  expectedValues 
)
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)
expectedValuesrow hash of expected values that should be in the single selected row

◆ getData()

hash<auto> QorusInterfaceTest::CheckDbTableRow::getData ( )
Returns
expected values

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