camcom 1.0.0-pre2
 
Loading...
Searching...
No Matches
camcom::test::AcquiringServerFixture Class Reference

#include <test_fixture.hpp>

Inheritance diagram for camcom::test::AcquiringServerFixture:
camcom::test::ConnectedServerFixture camcom::test::CameraServerFixture

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
- Protected Member Functions inherited from camcom::test::ConnectedServerFixture
void SetUp () override
 
void TearDown () override
 
- Protected Member Functions inherited from camcom::test::CameraServerFixture
void SetUp () override
 
void TearDown () override
 
httplib::Clientclient ()
 
const server::ServerConfigconfig () const
 
server::CameraServerserver ()
 
int port () const
 
const std::filesystem::path & recDir () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from camcom::test::CameraServerFixture
static std::string jsonStr (const std::string &body, const std::string &key)
 Parse JSON string value: {"key":"value"} → value.
 
static bool jsonBool (const std::string &body, const std::string &key)
 Parse JSON bool value: {"key":true} → true.
 
static int jsonInt (const std::string &body, const std::string &key)
 Parse JSON int value: {"key":42} → 42.
 
static double jsonDouble (const std::string &body, const std::string &key)
 Parse JSON double value: {"key":1.5} → 1.5.
 

Member Function Documentation

◆ SetUp()

void camcom::test::AcquiringServerFixture::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void camcom::test::AcquiringServerFixture::TearDown ( )
inlineoverrideprotected

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