diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-03 10:00:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-03 10:00:55 +0300 |
commit | 335cd830b0bd430d282687df58a91a69dac2c528 (patch) | |
tree | 3d49d43ed0c07d643b9fd081e6eb0522b57851c2 /sal/qa/osl/mutex | |
parent | c04f4393f5ec63dbd546b5c503ddc82d9cd2377e (diff) |
Kill superfluous vertical whitespace
Change-Id: I8c37b9ec45836f9c0e2dc0cf232f96f23c7c36d3
Diffstat (limited to 'sal/qa/osl/mutex')
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex.cxx | 31 | ||||
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex_Const.h | 1 |
2 files changed, 0 insertions, 32 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index dce24e73e8c4..e06acee5e542 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - // include files #include <sal/types.h> @@ -30,10 +29,8 @@ using namespace osl; using namespace rtl; - // helper functions - /** print a UNI_CODE String. */ inline void printUString( const ::rtl::OUString & str ) @@ -75,12 +72,8 @@ namespace ThreadHelper } } - - // Beginning of the test cases for osl_Mutex class - - /** mutually exclusive data */ struct resource { @@ -145,7 +138,6 @@ protected: } }; - /** chain structure used in Threads as critical resource */ struct chain { @@ -262,8 +254,6 @@ protected: } }; - - namespace osl_Mutex { @@ -361,7 +351,6 @@ namespace osl_Mutex CPPUNIT_TEST_SUITE_END( ); }; // class ctor - /** Test of the osl::Mutex::acquire method */ class acquire : public CppUnit::TestFixture @@ -416,7 +405,6 @@ namespace osl_Mutex CPPUNIT_TEST_SUITE_END( ); }; // class acquire - /** Test of the osl::Mutex::tryToAcquire method */ class tryToAcquire : public CppUnit::TestFixture @@ -497,8 +485,6 @@ namespace osl_Mutex CPPUNIT_TEST_SUITE_END( ); }; // class release - - /** Test of the osl::Mutex::getGlobalMutex method */ class getGlobalMutex : public CppUnit::TestFixture @@ -548,7 +534,6 @@ namespace osl_Mutex CPPUNIT_TEST_SUITE_END(); }; // class getGlobalMutex - CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Mutex::ctor, "osl_Mutex"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Mutex::acquire, "osl_Mutex"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Mutex::tryToAcquire, "osl_Mutex"); @@ -556,11 +541,8 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Mutex::release, "osl_Mutex"); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Mutex::getGlobalMutex, "osl_Mutex"); } // namespace osl_Mutex - - // Beginning of the test cases for osl_Guard class - class GuardThread : public Thread { public: @@ -582,7 +564,6 @@ protected: } }; - namespace osl_Guard { class ctor : public CppUnit::TestFixture @@ -636,15 +617,11 @@ namespace osl_Guard CPPUNIT_TEST_SUITE_END(); }; // class ctor - CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Guard::ctor, "osl_Guard"); } // namespace osl_Guard - - // Beginning of the test cases for osl_ClearableGuard class - /** Thread for test ClearableGuard */ class ClearGuardThread : public Thread @@ -673,7 +650,6 @@ protected: } }; - namespace osl_ClearableGuard { @@ -777,16 +753,12 @@ namespace osl_ClearableGuard CPPUNIT_TEST_SUITE_END( ); }; // class clear - CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( osl_ClearableGuard::ctor, "osl_ClearableGuard" ); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( osl_ClearableGuard::clear, "osl_ClearableGuard" ); } // namespace osl_ClearableGuard - - // Beginning of the test cases for osl_ResettableGuard class - /** Thread for test ResettableGuard */ class ResetGuardThread : public Thread @@ -813,7 +785,6 @@ protected: } }; - namespace osl_ResettableGuard { class ctor : public CppUnit::TestFixture @@ -847,7 +818,6 @@ namespace osl_ResettableGuard bRes); } - CPPUNIT_TEST_SUITE(ctor); CPPUNIT_TEST(ctor_001); CPPUNIT_TEST(ctor_002); @@ -903,7 +873,6 @@ namespace osl_ResettableGuard CPPUNIT_TEST_SUITE_END(); }; // class reset - CPPUNIT_TEST_SUITE_REGISTRATION(osl_ResettableGuard::ctor); CPPUNIT_TEST_SUITE_REGISTRATION(osl_ResettableGuard::reset); } // namespace osl_ResettableGuard diff --git a/sal/qa/osl/mutex/osl_Mutex_Const.h b/sal/qa/osl/mutex/osl_Mutex_Const.h index 133f1f02e231..fb6bfaa5f1eb 100644 --- a/sal/qa/osl/mutex/osl_Mutex_Const.h +++ b/sal/qa/osl/mutex/osl_Mutex_Const.h @@ -32,7 +32,6 @@ #define BUFFER_SIZE 16 - #endif /* _OSL_MUTEX_CONST_H_ */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |