Qorus Integration Engine®  4.0.3.p1_git
QorusInterfaceTest::RunJobResult Class Reference

runs a job and compares the result status and optionally job instance information More...

Inheritance diagram for QorusInterfaceTest::RunJobResult:
QorusInterfaceTest::RunJob QorusInterfaceTest::Action

Public Member Methods

 constructor (string expected_status, *hash< auto > expected_info)
 creates the object with the expected status value and an optional info hash More...
 
 run (QorusJobTest t)
 runs the job and gets the job result information hash; tests for the expected status and any job information given in the constructor More...
 
- Public Member Methods inherited from QorusInterfaceTest::RunJob
 constructor ()
 creates the object with no parameters
 
 run (QorusInterfaceTest t)
 runs the job and gets the job result information hash More...
 
hash< auto > getJobResult ()
 returns a hash of job instance information created by the run() method
 
- Public Member Methods inherited from QorusInterfaceTest::Action
 constructor ()
 creates the object
 

Additional Inherited Members

- Private Member Methods inherited from QorusInterfaceTest::RunJob
string getDesc (string assert)
 get assertion description
 
- Private Attributes inherited from QorusInterfaceTest::RunJob
hash< auto > m_jobresult
 the result of running the job
 

Detailed Description

runs a job and compares the result status and optionally job instance information

Member Function Documentation

◆ constructor()

QorusInterfaceTest::RunJobResult::constructor ( string  expected_status,
*hash< auto >  expected_info 
)

creates the object with the expected status value and an optional info hash

Parameters
expected_statusthe expected status of the job instance
expected_infothe optional expected info hash of the job instance

◆ run()

QorusInterfaceTest::RunJobResult::run ( QorusJobTest  t)

runs the job and gets the job result information hash; tests for the expected status and any job information given in the constructor

Parameters
tQorusInterfaceTest test object

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