mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-03 16:56:45 +00:00
29 lines
539 B
C++
29 lines
539 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
/*
|
|
* Contains global variables for use in tests.
|
|
*/
|
|
struct TestGlobals {
|
|
std::string backendHost = "127.0.0.1";
|
|
std::string backendKeyspace = "clio_test";
|
|
|
|
static TestGlobals&
|
|
instance();
|
|
|
|
void
|
|
parse(int argc, char* argv[]);
|
|
|
|
private:
|
|
TestGlobals() = default;
|
|
|
|
public:
|
|
TestGlobals(TestGlobals const&) = delete;
|
|
TestGlobals(TestGlobals&&) = delete;
|
|
TestGlobals&
|
|
operator=(TestGlobals const&) = delete;
|
|
TestGlobals&
|
|
operator=(TestGlobals&&) = delete;
|
|
};
|