Qorus Integration Engine®
4.0.3.p2_git
|
Selects data from a remote DB and compares to expected data. More...
Public Member Methods | |
RemoteDbSelectAction (String remote, String dsname, String tableName, Map< String, Object > sh, Map< String, Object >[] data, Map< String, Object > opts) throws Throwable | |
Creates the object according to the arguments. More... | |
RemoteDbSelectAction (String remote, String dsname, String tableName, Map< String, Object > sh, Map< String, Object >[] data) throws Throwable | |
Creates the object according to the arguments. More... | |
Object | run (QorusInterfaceTest t) throws Throwable |
runs the test; comparing all rows and then the row count More... | |
void | checkRowImpl (QorusInterfaceTest t, Map< String, Object > row) throws Throwable |
compares each row to the expected row values | |
Public Member Methods inherited from com.qoretechnologies.qorus.test.AbstractRemoteDbSelectAction | |
AbstractRemoteDbSelectAction (QoreObject obj) throws Throwable | |
creates the object as a wrapper for the given Qore object More... | |
Object | run (QorusInterfaceTest t) throws Throwable |
runs the test by streaming the remote data and calling checkRowImpl() for each row More... | |
Additional Inherited Members | |
Private Member Methods inherited from com.qoretechnologies.qorus.test.Action | |
Action (QoreObject obj) | |
protected constructor to create the wrapper object | |
Selects data from a remote DB and compares to expected data.
|
inline |
Creates the object according to the arguments.
remote | the name of the remote connection |
dsname | the name of the remote datasource |
tableName | the primary table name for the select stream |
sh | the select hash for the select stream |
data | the expected row data in the remote database; must be a list of hashes |
opts | select stream options; see OMQ::DbRemoteReceive::constructor() for information; note that the "select" stream option is added automaticallty using the sh argument when opening the stream |
|
inline |
Creates the object according to the arguments.
remote | the name of the remote connection |
dsname | the name of the remote datasource |
tableName | the primary table name for the select stream |
sh | the select hash for the select stream |
data | the expected row data in the remote database; must be a list of hashes |
|
inline |
runs the test; comparing all rows and then the row count
t | QorusInterfaceTest test object |