From b6b4816d51e99d8843ade4cc6a64774683796119 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 10 May 2015 21:13:40 +0100 Subject: cppcheck: help out unusedScopedObject false positive Change-Id: I0df7a930ff970c26fbbb03d9333108ee3cae7ad4 --- sal/qa/osl/process/osl_Thread.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sal') 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 -- cgit v1.2.3