diff options
Diffstat (limited to 'src/test/DBusMainLoopIntegrationTest.cpp')
-rwxr-xr-x | src/test/DBusMainLoopIntegrationTest.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/DBusMainLoopIntegrationTest.cpp b/src/test/DBusMainLoopIntegrationTest.cpp index 0b080b5..7e2fe53 100755 --- a/src/test/DBusMainLoopIntegrationTest.cpp +++ b/src/test/DBusMainLoopIntegrationTest.cpp @@ -5,6 +5,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef WIN32 && ENABLE_DEMO_MAINLOOP #include <gtest/gtest.h> #include <cassert> @@ -130,8 +131,8 @@ TEST_F(DBusBasicMainLoopTest, PrioritiesAreHandledCorrectlyInDemoMainloop) { mainLoop->wakeup(); mainLoop->doSingleIteration(CommonAPI::TIMEOUT_INFINITE); - std::string reference1("ECABD");
- std::string reference2("ECBAD");
+ std::string reference1("ECABD"); + std::string reference2("ECBAD"); ASSERT_TRUE(reference1 == result || reference2 == result); } @@ -615,4 +616,6 @@ int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } +#endif + #endif
\ No newline at end of file |