Namespaces | |
| namespace | WS |
Classes | |
| class | AcquiringGenICamEmuFixture |
| class | AcquiringServerFixture |
| class | CameraServerFixture |
| class | ConnectedGenICamEmuFixture |
| class | ConnectedServerFixture |
| class | GenICamEmuServerFixture |
| class | WebSocketClient |
| Simple WebSocket client for testing. More... | |
Functions | |
| void | initLogger () |
| int | findFreePort () |
| Find a free TCP port by binding to port 0. | |
| template<typename Pred> | |
| bool | waitFor (Pred pred, int timeout_ms=3000, int poll_ms=50) |
| Poll a predicate with timeout. Returns true if predicate became true. | |
| server::ServerConfig | buildTestConfig (int port, const std::string &rec_dir) |
| Build a minimal ServerConfig for integration tests. | |
| server::ServerConfig | buildGenICamEmuTestConfig (int port, const std::string &rec_dir) |
| Build a minimal ServerConfig for GenICam emulator integration tests. | |
|
inline |
Build a minimal ServerConfig for GenICam emulator integration tests.
|
inline |
Build a minimal ServerConfig for integration tests.
|
inline |
Find a free TCP port by binding to port 0.
|
inline |
| bool camcom::test::waitFor | ( | Pred | pred, |
| int | timeout_ms = 3000, | ||
| int | poll_ms = 50 ) |
Poll a predicate with timeout. Returns true if predicate became true.