|
| | IntraTestFixture () |
| | Construct a new IntraTestFixture object.
|
| template<typename T> |
| void | RegisterServiceType () |
| | Register a service type to the client and server nodes.
|
| RobotRaconteur::ServerContextPtr | RegisterService (const std::string &name, const std::string &type, const boost::shared_ptr< RRObject > &obj) const |
| | Register a service to the server node.
|
| boost::shared_ptr< RRObject > | ConnectService (const std::string &url) const |
| | Connect to a service on the server node.
|
| void | Shutdown () |
| | Shutdown the client and server nodes.
|
A test fixture for intra-process testing using Robot Raconteur.
The IntraTestFixture class provides a convenient way to set up and tear down the necessary components for intra-process testing using Robot Raconteur. It initializes client and server nodes, registers transport, service types, and provides methods to register services and connect to services.
To use this test fixture, create an instance of IntraTestFixture in your test and call the necessary methods to set up the test environment. The fixture will automatically clean up the resources when it goes out of scope.