#include <ConnectionSetup.hpp>
Inheritance diagram for ConnectionSetup:

Public Member Functions | |
| virtual void | setUp () |
| Creates the connection and connects to the running local controller. | |
| virtual void | tearDown () |
| Destroys the connection if applicable. | |
Static Public Attributes | |
| static const std::wstring | DEFAULT_HOST |
| Default controller host used for the tests. | |
| static const int | DEFAULT_PORT |
| Default controller port used for the tests. | |
Protected Attributes | |
| CarobNS::Connection * | connectionPtr |
| Valid connection on which data transferts are to be done. | |
Defines setUp() and tearDown() functions to connect to a controller (by default: host "localhost", db "myDB", user "user", etc. Modify default ctor below or even ConnectionSetup.cpp according to your needs.
Derive this class to get connected to a controller for free. No testing is done here! A controller *MUST* be running at the given address for test success.
1.5.0