a check for database content
More...
|
| | 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
|
| |
|
*list< auto > | getRowData () |
| | returns the rows actually selected in the last execution of the action
|
| |
|
| constructor () |
| | creates the object
|
| |
| abstract auto | run (QorusInterfaceTest t) |
| | runs the test
|
| |
|
|
list< auto > | m_exp |
| | expected row data
|
| |
|
*list< auto > | m_rows |
| | the actual rows selected
|
| |
a check for database content
◆ constructor()
| QorusInterfaceTest::CheckDbTableRows::constructor |
( |
string |
dsname, |
|
|
string |
tablename, |
|
|
hash< auto > |
selectHash, |
|
|
softlist< auto > |
expectedValues |
|
) |
| |
- Parameters
-
| dsname | name of the datasource |
| tablename | table name |
| selectHash | a select hash specifying the rows added by the current interface and any other relevant parameters (orderby, etc) |
| expectedValues | list 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 |
( |
| ) |
|
◆ getTable()
| string QorusInterfaceTest::CheckDbTableRows::getTable |
( |
| ) |
|
- Returns
- table to be inspected
◆ run()
- Parameters
-
check for db content
The documentation for this class was generated from the following file: