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>
This commit is contained in:
Chirag Manwani 2016-03-07 20:09:01 +05:30 committed by Stephan Bergmann
parent 68b5875647
commit b38f58a3f9
17 changed files with 0 additions and 192 deletions

View File

@ -132,10 +132,6 @@ public:
"31-24 33-22 34-20 35-18 36-16 37-15 39-12 40-11z";
}
void tearDown() override
{
}
void impex()
{
B2DPolyPolygon aPoly;
@ -369,10 +365,6 @@ public:
maPerspective.set(2,2, 9.0);
}
void tearDown() override
{
}
void equal()
{
B2DHomMatrix aIdentity;

View File

@ -169,10 +169,6 @@ public:
#endif
}
void tearDown() override
{
}
B2DPolyPolygon normalizePoly( const B2DPolyPolygon& rPoly )
{
B2DPolyPolygon aRes;

View File

@ -86,9 +86,6 @@ public:
aSubtract.subtractRange(aEast);
}
void tearDown() override
{}
void verifyPoly(const char* sName, const char* sSvg, const tools::B2DClipState& toTest)
{
#if OSL_DEBUG_LEVEL > 2

View File

@ -66,7 +66,6 @@ namespace {
class Test: public CppUnit::TestFixture {
public:
virtual void setUp() override;
virtual void tearDown() override;
void testKeyFetch();
void testKeySet();
@ -212,10 +211,6 @@ void Test::setUp()
comphelper::getProcessComponentContext() );
}
void Test::tearDown()
{
}
void Test::testKeyFetch()
{
OUString s;

View File

@ -20,12 +20,6 @@ using namespace svgi;
class TestParser : public CppUnit::TestFixture
{
public:
void setUp()
{}
void tearDown()
{}
void testParseColor()
{
ARGBColor aTmp;

View File

@ -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(

View File

@ -1086,10 +1086,6 @@ namespace osl_FileBase
nError = FileBase::getTempDirURL( aUStr );
}
void tearDown() override
{
}
// test code.
void getTempDirURL_001()
{

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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;

View File

@ -48,8 +48,6 @@ class ConverterTest
: public ::CppUnit::TestFixture
{
public:
virtual void setUp() override;
virtual void tearDown() override;
void testDuration();
void testDateTime();
@ -78,14 +76,6 @@ public:
private:
};
void ConverterTest::setUp()
{
}
void ConverterTest::tearDown()
{
}
static void doTest(util::Duration const & rid, char const*const pis,
char const*const i_pos = nullptr)
{

View File

@ -22,9 +22,6 @@ class ControllerItemTest
: public ::CppUnit::TestFixture
{
public:
virtual void setUp() override {}
virtual void tearDown() override {}
void test();
CPPUNIT_TEST_SUITE(ControllerItemTest);

View File

@ -44,9 +44,6 @@ class MetadatableTest
: public ::CppUnit::TestFixture
{
public:
virtual void setUp() override;
virtual void tearDown() override;
void test();
CPPUNIT_TEST_SUITE(MetadatableTest);
@ -56,15 +53,6 @@ public:
private:
};
void MetadatableTest::setUp()
{
}
void MetadatableTest::tearDown()
{
}
class MockMetadatable
: public ::sfx2::Metadatable
{

View File

@ -43,8 +43,6 @@ private:
LPSTREAM pStream;
public:
Test();
void setUp() {}
void tearDown() {}
void test_file_directory();
void test_file_hasContentCaseInSensitive();
void test_file_getContent();

View File

@ -28,9 +28,6 @@ class WriterfilterMiscTest
: public ::CppUnit::TestFixture
{
public:
virtual void setUp() override;
virtual void tearDown() override;
void testTwipConversions();
void testFieldParameters();
@ -40,14 +37,6 @@ public:
CPPUNIT_TEST_SUITE_END();
};
void WriterfilterMiscTest::setUp()
{
}
void WriterfilterMiscTest::tearDown()
{
}
void WriterfilterMiscTest::testTwipConversions()
{
using writerfilter::dmapper::ConversionHelper::convertTwipToMM100;