Qorus Integration Engine®  4.0.3_git
QorusInterfaceTest::CallService Class Reference

Call any of Qorus services. More...

Inheritance diagram for QorusInterfaceTest::CallService:
QorusInterfaceTest::Action

Public Member Methods

 constructor (string call)
 
 constructor (string service, string method)
 call a service method with the arguments given in the constructor More...
 
 run (QorusInterfaceTest t)
 
auto getResult ()
 Returns anything that the service method returned in the run() call.
 
- Public Member Methods inherited from QorusInterfaceTest::Action
 constructor ()
 creates the object
 

Detailed Description

Call any of Qorus services.

Member Function Documentation

◆ constructor() [1/2]

QorusInterfaceTest::CallService::constructor ( string  call)
Parameters
calla service identifier string in a type.name.method form.

Any additional arguments are used as a service method arguments.

# call system service method fs.ls("/tmp")
CallService call("fs.ls", "/tmp");

◆ constructor() [2/2]

QorusInterfaceTest::CallService::constructor ( string  service,
string  method 
)

call a service method with the arguments given in the constructor

Parameters
servicethe name of the service
methodthe method to call

Any additional arguments are used as a service method arguments.

# call system service method fs.ls("/tmp")
CallService call("fs", "ls", "/tmp");

◆ run()

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

checks if the service call was performed

Implements QorusInterfaceTest::Action.


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