Qorus Integration Engine®  4.0.3_git
com.qoretechnologies.qorus.test.RunJobResult Class Reference

This class will run the current job and compares the result status and optionally job instance information; must be used with QorusJobTest tests. More...

Inheritance diagram for com.qoretechnologies.qorus.test.RunJobResult:
com.qoretechnologies.qorus.test.RunJob com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 RunJobResult (String expected_status, Map< String, Object > expected_info) throws Throwable
 creates the object with the expected status value and an optional info hash More...
 
 RunJobResult (String expected_status) throws Throwable
 creates the object with the expected status value More...
 
Object run (QorusInterfaceTest t) throws Throwable
 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 com.qoretechnologies.qorus.test.RunJob
 RunJob (QoreObject obj) throws Throwable
 creates the action with no parameters
 
 RunJob () throws Throwable
 creates the action with no parameters
 
Object run (QorusInterfaceTest t) throws Throwable
 runs the current job More...
 
HashMap< String, ObjectgetJobResult () throws Throwable
 returns a hash of job instance information created by the run() method
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

This class will run the current job and compares the result status and optionally job instance information; must be used with QorusJobTest tests.

Constructor & Destructor Documentation

◆ RunJobResult() [1/2]

com.qoretechnologies.qorus.test.RunJobResult.RunJobResult ( String  expected_status,
Map< String, Object expected_info 
) throws Throwable
inline

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

◆ RunJobResult() [2/2]

com.qoretechnologies.qorus.test.RunJobResult.RunJobResult ( String  expected_status) throws Throwable
inline

creates the object with the expected status value

Parameters
expected_statusthe expected status of the job instance

Member Function Documentation

◆ run()

Object com.qoretechnologies.qorus.test.RunJobResult.run ( QorusInterfaceTest  t) throws Throwable
inline

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; must be a QorusJobTest object, or the test will fail

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