Qorus Integration Engine® Enterprise Edition 6.0.25_prod
Loading...
Searching...
No Matches
QorusInterfaceTest::CheckDbTableRows Class Reference

a check for database content More...

Inheritance diagram for QorusInterfaceTest::CheckDbTableRows:
[legend]
Collaboration diagram for QorusInterfaceTest::CheckDbTableRows:
[legend]

Public Member Methods

 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
 
abstract auto run (QorusInterfaceTest t)
 runs the test More...
 

Private Attributes

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::CheckDbTableRows::constructor ( string  dsname,
string  tablename,
hash< auto >  selectHash,
softlist< 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)
expectedValueslist of hashes of expected values that should be in selected rows

◆ getData()

list< auto > QorusInterfaceTest::CheckDbTableRows::getData ( )

returns the expected values

Returns
expected values

◆ getSelectHash()

hash< auto > QorusInterfaceTest::CheckDbTableRows::getSelectHash ( )
Returns
select hash

◆ getTable()

string QorusInterfaceTest::CheckDbTableRows::getTable ( )
Returns
table to be inspected

◆ run()

QorusInterfaceTest::CheckDbTableRows::run ( QorusInterfaceTest  t)
virtual
Parameters
tQorusInterfaceTest test object

check for db content

Implements QorusInterfaceTest::Action.


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