Rename TEST_ENV macro to BARRIER_TEST_ENV

As requested in #846.
This commit is contained in:
James Le Cuirot
2020-08-22 19:25:35 +01:00
parent c3aba1b20b
commit 1418196af1
22 changed files with 24 additions and 24 deletions

View File

@@ -174,7 +174,7 @@ public:
Config(IEventQueue* events);
virtual ~Config();
#ifdef TEST_ENV
#ifdef BARRIER_TEST_ENV
Config() : m_inputFilter(NULL) { }
#endif

View File

@@ -333,7 +333,7 @@ public:
InputFilter(const InputFilter&);
virtual ~InputFilter();
#ifdef TEST_ENV
#ifdef BARRIER_TEST_ENV
InputFilter() : m_primaryClient(NULL) { }
#endif

View File

@@ -37,7 +37,7 @@ public:
PrimaryClient(const std::string& name, barrier::Screen* screen);
~PrimaryClient();
#ifdef TEST_ENV
#ifdef BARRIER_TEST_ENV
PrimaryClient() : BaseClientProxy("") { }
#endif

View File

@@ -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