diff options
author | Jaskaran <jvsg1303@gmail.com> | 2016-02-19 00:03:22 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-19 06:26:04 +0000 |
commit | 9fe9f487a25a15558b77a8afc359e844922f1e83 (patch) | |
tree | 49dfb2e9f9dd96227901300f8f0ccefb1707a2fc /sal | |
parent | 1fccc616d205b7d7011d66d4e4c719b62876eec5 (diff) |
tdf#97703 Removed a few redundant calls to setUp and tearDown
Calls to CppUnit::TextFixture::setUp and CppUnit::TextFixture::tearDown
have been removed. I hope that saves a few milliseconds of build time :)
Change-Id: I611db2f5c5673ab86bf8f92beb4f6e8a70443b34
Reviewed-on: https://gerrit.libreoffice.org/22496
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 32 | ||||
-rw-r--r-- | sal/qa/rtl/cipher/rtl_cipher.cxx | 80 | ||||
-rw-r--r-- | sal/qa/rtl/crc32/rtl_crc32.cxx | 8 | ||||
-rw-r--r-- | sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 9 |
4 files changed, 0 insertions, 129 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 245c5baca750..0d0eb0f2eee9 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -1478,9 +1478,6 @@ namespace osl_Thread { public: // initialise your test code values here. - void setUp() override {} - - void tearDown() override {} void getIdentifier_001() { @@ -1497,9 +1494,6 @@ namespace osl_Thread class getCurrentIdentifier : public CppUnit::TestFixture { public: - void setUp() override {} - void tearDown() override {} - void getCurrentIdentifier_001() { oslThreadIdentifier oId; @@ -1604,8 +1598,6 @@ namespace osl_Thread class schedule : public CppUnit::TestFixture { public: - void setUp() override {} - void tearDown() override {} /** The requested thread will get terminate the next time schedule() is called. @@ -1814,14 +1806,6 @@ namespace osl_ThreadData class ctors : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } // insert your test code here. void ctor_001() @@ -1837,14 +1821,6 @@ namespace osl_ThreadData class setData : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } /** the same instance of the class can have different values in different threads */ @@ -1948,14 +1924,6 @@ namespace osl_ThreadData class getData : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } // After setData in child threads, get Data in the main thread, should be independent void getData_001() diff --git a/sal/qa/rtl/cipher/rtl_cipher.cxx b/sal/qa/rtl/cipher/rtl_cipher.cxx index 0a477699f464..e24e6c5c84c5 100644 --- a/sal/qa/rtl/cipher/rtl_cipher.cxx +++ b/sal/qa/rtl/cipher/rtl_cipher.cxx @@ -33,14 +33,6 @@ namespace rtl_cipher class create : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void create_001() { @@ -105,14 +97,6 @@ public: class createBF : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void createBF_001() { @@ -153,14 +137,6 @@ public: class decode : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void test_encode(sal_uInt8 _nKeyValue, sal_uInt8 _nArgValue, rtl::OString const& _sPlainTextStr) { @@ -290,14 +266,6 @@ public: class decodeBF : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void decodeBF_001() { @@ -314,14 +282,6 @@ public: class destroy : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void destroy_001() { @@ -341,14 +301,6 @@ public: class destroyBF : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void destroyBF_001() { @@ -370,14 +322,6 @@ public: class encode : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void test_encode(sal_uInt8 _nKeyValue, sal_uInt8 _nArgValue, sal_uInt8 _nDataValue) { @@ -443,14 +387,6 @@ public: class encodeBF : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void encodeBF_001() { @@ -467,14 +403,6 @@ public: class init : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void init_001() { @@ -580,14 +508,6 @@ public: class initBF : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } void initBF_001() { diff --git a/sal/qa/rtl/crc32/rtl_crc32.cxx b/sal/qa/rtl/crc32/rtl_crc32.cxx index cce0b40116d6..03e1f9826b37 100644 --- a/sal/qa/rtl/crc32/rtl_crc32.cxx +++ b/sal/qa/rtl/crc32/rtl_crc32.cxx @@ -30,14 +30,6 @@ namespace rtl_CRC32 class test : public CppUnit::TestFixture { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } // insert your test code here. void rtl_crc32_001() diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index 15bf66f98f94..faf2ebe3a71e 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -147,15 +147,6 @@ namespace rtl_DoubleLocking { public: - // initialise your test code values here. - void setUp() override - { - } - - void tearDown() override - { - } - void getValue_001() { rtl::OUString aStr = Gregorian::get(); |