summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChirag Manwani <cmkmanwani@gmail.com>2016-03-07 20:09:01 +0530
committerStephan Bergmann <sbergman@redhat.com>2016-03-08 16:54:50 +0000
commitb38f58a3f959b5e36813f8c2d88bdb2baf03a1b9 (patch)
tree4d54c16ddf85af689af95735c8366a29386ccf2a /sal
parent68b5875647dd3f39f9e01eec75383a5b9b3ef3a6 (diff)
tdf#97703 Removed empty setUp/tearDown methods
Change-Id: Ia62de30ae94bdae87cd5109c44eab40af4d020e5 Reviewed-on: https://gerrit.libreoffice.org/22985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/OStringBuffer/rtl_OStringBuffer.cxx8
-rw-r--r--sal/qa/osl/file/osl_File.cxx4
-rw-r--r--sal/qa/rtl/locale/rtl_locale.cxx24
-rw-r--r--sal/qa/rtl/process/rtl_Process.cxx17
-rw-r--r--sal/qa/rtl/random/rtl_random.cxx36
-rw-r--r--sal/qa/rtl/textenc/rtl_tencinfo.cxx21
-rw-r--r--sal/qa/rtl/uuid/rtl_Uuid.cxx18
7 files changed, 0 insertions, 128 deletions
diff --git a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
index 809665f74665..1571739f897c 100644
--- a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+++ b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
@@ -323,14 +323,6 @@ namespace rtl_OStringBuffer
class remove : public CppUnit::TestFixture
{
public:
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
void remove_001()
{
::rtl::OStringBuffer sb(
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 7a3913c5d545..2890c5f1c152 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -1086,10 +1086,6 @@ namespace osl_FileBase
nError = FileBase::getTempDirURL( aUStr );
}
- void tearDown() override
- {
- }
-
// test code.
void getTempDirURL_001()
{
diff --git a/sal/qa/rtl/locale/rtl_locale.cxx b/sal/qa/rtl/locale/rtl_locale.cxx
index fc99838ee573..0f7f2b24848c 100644
--- a/sal/qa/rtl/locale/rtl_locale.cxx
+++ b/sal/qa/rtl/locale/rtl_locale.cxx
@@ -44,10 +44,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
void getDefault_001()
{
rtl_Locale* pData = rtl_locale_getDefault();
@@ -107,10 +103,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
// insert your test code here.
void getLanguage_001()
{
@@ -145,10 +137,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
// insert your test code here.
void getCountry_001()
{
@@ -183,10 +171,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
// insert your test code here.
void getVariant_001()
{
@@ -221,10 +205,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
// insert your test code here.
void hashCode_001()
{
@@ -259,10 +239,6 @@ public:
rtl_locale::setDefaultLocale();
}
- void tearDown() override
- {
- }
-
// insert your test code here.
void equals_001()
{
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx
index e77f661db7f0..c7a70ce13cba 100644
--- a/sal/qa/rtl/process/rtl_Process.cxx
+++ b/sal/qa/rtl/process/rtl_Process.cxx
@@ -71,15 +71,6 @@ namespace rtl_Process
class getAppCommandArg : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
void getAppCommandArg_001()
{
#if defined(_WIN32)
@@ -196,14 +187,6 @@ void printUuidtoBuffer( sal_uInt8 *pNode, sal_Char * pBuffer )
class getGlobalProcessId : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
//gets a 16-byte fixed size identifier which is guaranteed not to change during the current process.
void getGlobalProcessId_001()
{
diff --git a/sal/qa/rtl/random/rtl_random.cxx b/sal/qa/rtl/random/rtl_random.cxx
index c91bb54ee9f6..2adafa5dca86 100644
--- a/sal/qa/rtl/random/rtl_random.cxx
+++ b/sal/qa/rtl/random/rtl_random.cxx
@@ -36,15 +36,6 @@ namespace rtl_random
class createPool : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
// insert your test code here.
// this is only demonstration code
void createPool_001()
@@ -71,15 +62,6 @@ public:
class destroyPool : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
// insert your test code here.
void destroyPool_000()
{
@@ -109,15 +91,6 @@ public:
class addBytes : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
// insert your test code here.
// this is only demonstration code
void addBytes_000()
@@ -242,15 +215,6 @@ public:
class getBytes : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
// insert your test code here.
void getBytes_000()
{
diff --git a/sal/qa/rtl/textenc/rtl_tencinfo.cxx b/sal/qa/rtl/textenc/rtl_tencinfo.cxx
index 2a3e43bdde28..b0f2dbda0fbf 100644
--- a/sal/qa/rtl/textenc/rtl_tencinfo.cxx
+++ b/sal/qa/rtl/textenc/rtl_tencinfo.cxx
@@ -33,10 +33,6 @@ namespace
class testBestMime : public CppUnit::TestFixture
{
public:
- void setUp() override
- {
- }
-
void check(rtl_TextEncoding eIn, rtl_TextEncoding eOut)
{
const sal_Char *pCharSet = rtl_getBestMimeCharsetFromTextEncoding(eIn);
@@ -485,10 +481,6 @@ namespace
class testBestUnix : public CppUnit::TestFixture
{
public:
- void setUp() override
- {
- }
-
void check(rtl_TextEncoding eIn, rtl_TextEncoding eOut)
{
const sal_Char *pCharSet = rtl_getBestUnixCharsetFromTextEncoding(eIn);
@@ -1017,10 +1009,6 @@ namespace
class testBestWindows : public CppUnit::TestFixture
{
public:
- void setUp() override
- {
- }
-
void check(rtl_TextEncoding nIn, rtl_TextEncoding nOut)
{
const sal_uInt8 nCharSet = rtl_getBestWindowsCharsetFromTextEncoding(nIn);
@@ -1580,15 +1568,6 @@ namespace
class testTextEncodingInfo: public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
// not implemented encoding test
void testTextEncodingInfo_001()
{
diff --git a/sal/qa/rtl/uuid/rtl_Uuid.cxx b/sal/qa/rtl/uuid/rtl_Uuid.cxx
index 3f661e453e41..7f1412357229 100644
--- a/sal/qa/rtl/uuid/rtl_Uuid.cxx
+++ b/sal/qa/rtl/uuid/rtl_Uuid.cxx
@@ -44,15 +44,6 @@ namespace rtl_Uuid
class createUuid : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
#define TEST_UUID 20
void createUuid_001()
{
@@ -115,15 +106,6 @@ public:
class createNamedUuid : public CppUnit::TestFixture
{
public:
- // initialise your test code values here.
- void setUp() override
- {
- }
-
- void tearDown() override
- {
- }
-
void createNamedUuid_001()
{
sal_uInt8 NameSpace_DNS[16] = RTL_UUID_NAMESPACE_DNS;