summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-10 21:13:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-10 21:13:40 +0100
commitb6b4816d51e99d8843ade4cc6a64774683796119 (patch)
tree7845f60550834b102a66c3f51cb1af20738343bd /sal
parentcbf8a5c8b208c0a6b87a19f799dc5d5613e61e5f (diff)
cppcheck: help out unusedScopedObject false positive
Change-Id: I0df7a930ff970c26fbbb03d9333108ee3cae7ad4
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 5ab883645c5f..403490d66a15 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -1523,7 +1523,7 @@ namespace osl_Thread
/** Test of the osl::Thread::wait method
*/
- class wait : public CppUnit::TestFixture
+ class waittest : public CppUnit::TestFixture
{
public:
void setUp() SAL_OVERRIDE {}
@@ -1576,10 +1576,10 @@ namespace osl_Thread
}
- CPPUNIT_TEST_SUITE(wait);
+ CPPUNIT_TEST_SUITE(waittest);
CPPUNIT_TEST(wait_001);
CPPUNIT_TEST_SUITE_END();
- }; // class wait
+ }; // class waittest
/** osl::Thread::yield method: can not design good test scenario to test up to now
*/
@@ -1728,7 +1728,7 @@ namespace 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::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::schedule, "osl_Thread");
} // namespace osl_Thread