Qorus Integration Engine® Enterprise Edition 6.0.19_prod
Loading...
Searching...
No Matches
QorusInterfaceTest::CallService Class Reference

Call any of Qorus services. More...

Inheritance diagram for QorusInterfaceTest::CallService:
[legend]
Collaboration diagram for QorusInterfaceTest::CallService:
[legend]

Public Member Methods

 constructor (string call)
 sets up the service method call 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
 
abstract auto run (QorusInterfaceTest t)
 runs the test More...
 

Detailed Description

Call any of Qorus services.

Member Function Documentation

◆ constructor()

QorusInterfaceTest::CallService::constructor ( string  call)

sets up the service method call

Parameters
calleither:
  • a service identifier string in a "service.method"
  • a service name; in this case (if the argument has no "." character in it), the following argument must be a string method name

Any additional arguments are used as a service method arguments.

# call system service method fs.ls("/tmp")
CallService call("fs.ls", "/tmp");
# this form is equivalent to the above
CallService call("fs", "ls", "/tmp");
Note
if the call argument is given with three elements, the first element is assumed to be a service type string and will be ignored (ex: "system.fs.ls")

◆ 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: