Kaydet (Commit) b6b4816d authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: help out unusedScopedObject false positive

Change-Id: I0df7a930ff970c26fbbb03d9333108ee3cae7ad4
üst cbf8a5c8
...@@ -1523,7 +1523,7 @@ namespace osl_Thread ...@@ -1523,7 +1523,7 @@ namespace osl_Thread
/** Test of the osl::Thread::wait method /** Test of the osl::Thread::wait method
*/ */
class wait : public CppUnit::TestFixture class waittest : public CppUnit::TestFixture
{ {
public: public:
void setUp() SAL_OVERRIDE {} void setUp() SAL_OVERRIDE {}
...@@ -1576,10 +1576,10 @@ namespace osl_Thread ...@@ -1576,10 +1576,10 @@ namespace osl_Thread
} }
CPPUNIT_TEST_SUITE(wait); CPPUNIT_TEST_SUITE(waittest);
CPPUNIT_TEST(wait_001); CPPUNIT_TEST(wait_001);
CPPUNIT_TEST_SUITE_END(); CPPUNIT_TEST_SUITE_END();
}; // class wait }; // class waittest
/** osl::Thread::yield method: can not design good test scenario to test up to now /** osl::Thread::yield method: can not design good test scenario to test up to now
*/ */
...@@ -1728,7 +1728,7 @@ namespace osl_Thread ...@@ -1728,7 +1728,7 @@ namespace osl_Thread
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getPriority, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getPriority, "osl_Thread");
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getIdentifier, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getIdentifier, "osl_Thread");
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getCurrentIdentifier, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::getCurrentIdentifier, "osl_Thread");
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::wait, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::waittest, "osl_Thread");
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::yield, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::yield, "osl_Thread");
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::schedule, "osl_Thread"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Thread::schedule, "osl_Thread");
} // namespace osl_Thread } // namespace osl_Thread
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment