mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 00:58:14 +08:00
@@ -174,7 +174,7 @@ public:
|
||||
Config(IEventQueue* events);
|
||||
virtual ~Config();
|
||||
|
||||
#ifdef TEST_ENV
|
||||
#ifdef BARRIER_TEST_ENV
|
||||
Config() : m_inputFilter(NULL) { }
|
||||
#endif
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@ public:
|
||||
InputFilter(const InputFilter&);
|
||||
virtual ~InputFilter();
|
||||
|
||||
#ifdef TEST_ENV
|
||||
#ifdef BARRIER_TEST_ENV
|
||||
InputFilter() : m_primaryClient(NULL) { }
|
||||
#endif
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
PrimaryClient(const std::string& name, barrier::Screen* screen);
|
||||
~PrimaryClient();
|
||||
|
||||
#ifdef TEST_ENV
|
||||
#ifdef BARRIER_TEST_ENV
|
||||
PrimaryClient() : BaseClientProxy("") { }
|
||||
#endif
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
barrier::Screen* screen, IEventQueue* events, ServerArgs const& args);
|
||||
~Server();
|
||||
|
||||
#ifdef TEST_ENV
|
||||
#ifdef BARRIER_TEST_ENV
|
||||
Server() : m_mock(true), m_config(NULL) { }
|
||||
void setActive(BaseClientProxy* active) { m_active = active; }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user