[Libreoffice-commits] core.git: sal/qa
Stephan Bergmann
sbergman at redhat.com
Tue Oct 14 08:56:10 PDT 2014
sal/qa/osl/process/osl_Thread.cxx | 17 -----------------
1 file changed, 17 deletions(-)
New commits:
commit 40f001b55074f1d0f5d722999c643406caad1b2b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Oct 14 17:55:43 2014 +0200
Remove spurious cpu_count
Change-Id: Ic90e806d279f8180d78f78597dbc549264338295
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 134a4ba..1840d3b 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -1581,23 +1581,6 @@ namespace osl_Thread
CPPUNIT_TEST_SUITE_END();
}; // class wait
- class cpu_count : public CppUnit::TestFixture
- {
- public:
- void setUp() SAL_OVERRIDE {}
- void tearDown() SAL_OVERRIDE {}
-
- void cpu_count_001()
- {
- sal_uInt32 nThreads = osl_getCPUThreadCount();
- CPPUNIT_ASSERT(false && nThreads > 0);
- }
-
- CPPUNIT_TEST_SUITE(cpu_count);
- CPPUNIT_TEST(cpu_count_001);
- CPPUNIT_TEST_SUITE_END();
- }; // class cpu_count
-
/** osl::Thread::yield method: can not design good test scenario to test up to now
*/
class yield : public CppUnit::TestFixture
More information about the Libreoffice-commits
mailing list