diff options
author | Chirag Manwani <cmkmanwani@gmail.com> | 2016-03-07 02:14:49 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-07 09:13:53 +0000 |
commit | cc84aaf70ac56092b32d1d329143eca0550dce12 (patch) | |
tree | 2b4d72f227f20c9b59baa476c7118bb1ddacb649 /sal/qa/osl | |
parent | 472d900e81722fd1ce3808c3f46160abcd265f77 (diff) |
tdf#97703 removed empty setUp/tearDown methods
Change-Id: I244d481bce4723d172e26c0d31aab0a541334604
Reviewed-on: https://gerrit.libreoffice.org/22959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/qa/osl')
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex.cxx | 4 | ||||
-rw-r--r-- | sal/qa/osl/pipe/osl_Pipe.cxx | 8 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 86 |
3 files changed, 0 insertions, 98 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index 67924d245df3..83c1b6872cdf 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -254,10 +254,6 @@ namespace osl_Mutex m_Res.data2 = 0; } - void tearDown() override - { - } - /** Create two threads to write data to the same buffer, use Mutex to assure during one thread write data five times, the other thread should not begin writing. the two threads wrote two different datas: their thread ID, so we can check the datas diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx index 568f0472923d..ce184f0a03a4 100644 --- a/sal/qa/osl/pipe/osl_Pipe.cxx +++ b/sal/qa/osl/pipe/osl_Pipe.cxx @@ -122,14 +122,6 @@ namespace osl_Pipe public: bool bRes, bRes1; - void setUp( ) override - { - } - - void tearDown( ) override - { - } - void ctors_none( ) { ::osl::Pipe aPipe; diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 0d0eb0f2eee9..28080b41b52f 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -449,16 +449,6 @@ namespace osl_Thread class create : public CppUnit::TestFixture { public: - - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** Simple create a thread. Create a simple thread, it just does add 1 to value(which initialized 0), @@ -518,15 +508,6 @@ namespace osl_Thread class createSuspended : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** Create a suspended thread, use the same class as create_001 after create, wait enough time, check the value, if it's still the initial value, pass @@ -599,15 +580,6 @@ namespace osl_Thread class suspend : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** Use a thread which has a flag added 1 every second ALGORITHM: @@ -653,15 +625,6 @@ namespace osl_Thread class resume : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** check if the thread run samely as usual after suspend and resume ALGORITHM: @@ -738,15 +701,6 @@ namespace osl_Thread class terminate : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** Check after call terminate if the running thread running go on executing ALGORITHM: @@ -817,15 +771,6 @@ namespace osl_Thread class join : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - /** Check after call terminate if the thread running function will not go on executing the next statement after join will not exec before the thread terminate @@ -909,17 +854,6 @@ namespace osl_Thread class isRunning : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - - /** - */ void isRunning_001() { OCountThread *aCountThread = new OCountThread(); @@ -975,15 +909,6 @@ namespace osl_Thread class setPriority : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - // insert your test code here. rtl::OString getPrioName(oslThreadPriority _aPriority) { @@ -1433,11 +1358,6 @@ namespace osl_Thread class getPriority : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override {} - - void tearDown() override {} - // insert your test code here. void getPriority_001() { @@ -1520,9 +1440,6 @@ namespace osl_Thread class waittest : public CppUnit::TestFixture { public: - void setUp() override {} - void tearDown() override {} - /** call wait in the run method ALGORITHM: @@ -1580,9 +1497,6 @@ namespace osl_Thread class yield : public CppUnit::TestFixture { public: - void setUp() override {} - void tearDown() override {} - void yield_001() { // insert your test code here. |