WinCE fixes

This commit is contained in:
Guenter Obiltschnig
2012-10-15 09:41:38 +00:00
parent b6963f0bc9
commit 83af8a3be7
4 changed files with 506 additions and 224 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -30,6 +30,9 @@
// //
#if !defined(_WIN32_WCE)
#include "WinConfigurationTest.h" #include "WinConfigurationTest.h"
#include "CppUnit/TestCaller.h" #include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h" #include "CppUnit/TestSuite.h"
@@ -147,3 +150,6 @@ CppUnit::Test* WinConfigurationTest::suite()
return pSuite; return pSuite;
} }
#endif // _WIN32_WCE

View File

@@ -30,6 +30,9 @@
// //
#if !defined(_WIN32_WCE)
#include "WinRegistryTest.h" #include "WinRegistryTest.h"
#include "CppUnit/TestCaller.h" #include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h" #include "CppUnit/TestSuite.h"
@@ -121,3 +124,6 @@ CppUnit::Test* WinRegistryTest::suite()
return pSuite; return pSuite;
} }
#endif // _WIN32_WCE

View File

@@ -31,16 +31,20 @@
#include "WindowsTestSuite.h" #include "WindowsTestSuite.h"
#ifndef _WIN32_WCE
#include "WinRegistryTest.h" #include "WinRegistryTest.h"
#include "WinConfigurationTest.h" #include "WinConfigurationTest.h"
#endif
CppUnit::Test* WindowsTestSuite::suite() CppUnit::Test* WindowsTestSuite::suite()
{ {
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WindowsTestSuite"); CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WindowsTestSuite");
#ifndef _WIN32_WCE
pSuite->addTest(WinRegistryTest::suite()); pSuite->addTest(WinRegistryTest::suite());
pSuite->addTest(WinConfigurationTest::suite()); pSuite->addTest(WinConfigurationTest::suite());
#endif
return pSuite; return pSuite;
} }