GH #1050 CppUnit: fix gcc -Wshadow warnings

Also in Foundation tests.
This commit is contained in:
Miklos Vajna 2016-01-11 09:11:46 +01:00
parent 279ea9d0e2
commit c39c0aaf9d
121 changed files with 133 additions and 133 deletions

View File

@ -68,17 +68,17 @@ inline CppUnitException::CppUnitException(const CppUnitException& other): except
} }
inline CppUnitException::CppUnitException (const std::string& message, long lineNumber, const std::string& fileName): _message(message), _lineNumber(lineNumber), _data1lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _data2lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _fileName(fileName) inline CppUnitException::CppUnitException (const std::string& message, long exceptionLineNumber, const std::string& rFileName): _message(message), _lineNumber(exceptionLineNumber), _data1lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _data2lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _fileName(rFileName)
{ {
} }
inline CppUnitException::CppUnitException (const std::string& message, long lineNumber, long data1lineNumber, const std::string& fileName): _message(message), _lineNumber(lineNumber), _data1lineNumber(data1lineNumber), _data2lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _fileName(fileName) inline CppUnitException::CppUnitException (const std::string& message, long exceptionLineNumber, long data1lineNumber, const std::string& rFileName): _message(message), _lineNumber(exceptionLineNumber), _data1lineNumber(data1lineNumber), _data2lineNumber(CPPUNIT_UNKNOWNLINENUMBER), _fileName(rFileName)
{ {
} }
inline CppUnitException::CppUnitException (const std::string& message, long lineNumber, long data1lineNumber, long data2lineNumber, const std::string& fileName): _message(message), _lineNumber(lineNumber), _data1lineNumber(data1lineNumber), _data2lineNumber(data2lineNumber), _fileName(fileName) inline CppUnitException::CppUnitException (const std::string& message, long exceptionLineNumber, long data1lineNumber, long data2lineNumber, const std::string& rFileName): _message(message), _lineNumber(exceptionLineNumber), _data1lineNumber(data1lineNumber), _data2lineNumber(data2lineNumber), _fileName(rFileName)
{ {
} }

View File

@ -56,10 +56,10 @@ class TestCaller: public TestCase
typedef void (Fixture::*TestMethod)(); typedef void (Fixture::*TestMethod)();
public: public:
TestCaller(const std::string& name, TestMethod test): TestCaller(const std::string& rName, TestMethod test):
TestCase(name), TestCase(rName),
_test(test), _test(test),
_fixture(new Fixture(name)) _fixture(new Fixture(rName))
{ {
} }

View File

@ -173,7 +173,7 @@ protected:
// Constructs a test case // Constructs a test case
inline TestCase::TestCase(const std::string& name): _name (name) inline TestCase::TestCase(const std::string& rName): _name (rName)
{ {
} }

View File

@ -52,7 +52,7 @@ protected:
// Constructs a TestFailure with the given test and exception. // Constructs a TestFailure with the given test and exception.
inline TestFailure::TestFailure(Test* failedTest, CppUnitException* thrownException): _failedTest(failedTest), _thrownException(thrownException) inline TestFailure::TestFailure(Test* pFailedTest, CppUnitException* pThrownException): _failedTest(pFailedTest), _thrownException(pThrownException)
{ {
} }

View File

@ -39,8 +39,8 @@ class WorkNotification: public Notification
public: public:
typedef AutoPtr<WorkNotification> Ptr; typedef AutoPtr<WorkNotification> Ptr;
WorkNotification(int data): WorkNotification(int workData):
_data(data) _data(workData)
{ {
} }

View File

@ -90,7 +90,7 @@ namespace
} }
ActiveDispatcherTest::ActiveDispatcherTest(const std::string& name): CppUnit::TestCase(name) ActiveDispatcherTest::ActiveDispatcherTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -92,7 +92,7 @@ namespace
} }
ActiveMethodTest::ActiveMethodTest(const std::string& name): CppUnit::TestCase(name) ActiveMethodTest::ActiveMethodTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -60,7 +60,7 @@ namespace
} }
ActivityTest::ActivityTest(const std::string& name): CppUnit::TestCase(name) ActivityTest::ActivityTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -42,7 +42,7 @@ public:
}; };
AnyTest::AnyTest(const std::string& name): CppUnit::TestCase(name) AnyTest::AnyTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -18,7 +18,7 @@
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
ArrayTest::ArrayTest(const std::string& name): CppUnit::TestCase(name) ArrayTest::ArrayTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -67,7 +67,7 @@ namespace
} }
AutoPtrTest::AutoPtrTest(const std::string& name): CppUnit::TestCase(name) AutoPtrTest::AutoPtrTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -65,7 +65,7 @@ namespace
} }
AutoReleasePoolTest::AutoReleasePoolTest(const std::string& name): CppUnit::TestCase(name) AutoReleasePoolTest::AutoReleasePoolTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::Base32Decoder;
using Poco::DataFormatException; using Poco::DataFormatException;
Base32Test::Base32Test(const std::string& name): CppUnit::TestCase(name) Base32Test::Base32Test(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::Base64Decoder;
using Poco::DataFormatException; using Poco::DataFormatException;
Base64Test::Base64Test(const std::string& name): CppUnit::TestCase(name) Base64Test::Base64Test(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -27,7 +27,7 @@ using namespace Poco;
#define LARGEINC 100 #define LARGEINC 100
BasicEventTest::BasicEventTest(const std::string& name): CppUnit::TestCase(name) BasicEventTest::BasicEventTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -30,7 +30,7 @@ using Poco::Int64;
using Poco::UInt64; using Poco::UInt64;
BinaryReaderWriterTest::BinaryReaderWriterTest(const std::string& name): CppUnit::TestCase(name) BinaryReaderWriterTest::BinaryReaderWriterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -27,7 +27,7 @@ using Poco::UInt64;
#endif #endif
ByteOrderTest::ByteOrderTest(const std::string& name): CppUnit::TestCase(name) ByteOrderTest::ByteOrderTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -47,7 +47,7 @@ public:
}; };
ChannelTest::ChannelTest(const std::string& name): CppUnit::TestCase(name) ChannelTest::ChannelTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -27,7 +27,7 @@ using Poco::NotFoundException;
using Poco::InvalidAccessException; using Poco::InvalidAccessException;
ClassLoaderTest::ClassLoaderTest(const std::string& name): CppUnit::TestCase(name) ClassLoaderTest::ClassLoaderTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -22,7 +22,7 @@ using Poco::Clock;
using Poco::Thread; using Poco::Thread;
ClockTest::ClockTest(const std::string& name): CppUnit::TestCase(name) ClockTest::ClockTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -92,7 +92,7 @@ namespace
} }
ConditionTest::ConditionTest(const std::string& name): CppUnit::TestCase(name) ConditionTest::ConditionTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -112,7 +112,7 @@ struct Large
#define ENABLE_BUGCHECK_TEST 0 #define ENABLE_BUGCHECK_TEST 0
CoreTest::CoreTest(const std::string& name): CppUnit::TestCase(name) CoreTest::CoreTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@ using Poco::CountingInputStream;
using Poco::CountingOutputStream; using Poco::CountingOutputStream;
CountingStreamTest::CountingStreamTest(const std::string& name): CppUnit::TestCase(name) CountingStreamTest::CountingStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -25,8 +25,8 @@ using Poco::DateTimeFormat;
using Poco::DateTimeFormatter; using Poco::DateTimeFormatter;
DateTimeFormatterTest::DateTimeFormatterTest(const std::string& name) DateTimeFormatterTest::DateTimeFormatterTest(const std::string& rName)
: CppUnit::TestCase(name) : CppUnit::TestCase(rName)
{ {
// Linker regresion SF #3288584 // Linker regresion SF #3288584
std::string message; std::string message;

View File

@ -27,7 +27,7 @@ using Poco::Timestamp;
using Poco::SyntaxException; using Poco::SyntaxException;
DateTimeParserTest::DateTimeParserTest(const std::string& name): CppUnit::TestCase(name) DateTimeParserTest::DateTimeParserTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -25,7 +25,7 @@ using Poco::Timespan;
using Poco::AssertionViolationException; using Poco::AssertionViolationException;
DateTimeTest::DateTimeTest(const std::string& name): CppUnit::TestCase(name) DateTimeTest::DateTimeTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -25,7 +25,7 @@ using Poco::DigestEngine;
using Poco::MD5Engine; using Poco::MD5Engine;
DigestStreamTest::DigestStreamTest(const std::string& name): CppUnit::TestCase(name) DigestStreamTest::DigestStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -23,8 +23,8 @@
using namespace Poco; using namespace Poco;
DirectoryIteratorsTest::DirectoryIteratorsTest(const std::string& name): DirectoryIteratorsTest::DirectoryIteratorsTest(const std::string& rName):
CppUnit::TestCase(name) CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,8 +26,8 @@
using Poco::DirectoryWatcher; using Poco::DirectoryWatcher;
DirectoryWatcherTest::DirectoryWatcherTest(const std::string& name): DirectoryWatcherTest::DirectoryWatcherTest(const std::string& rName):
CppUnit::TestCase(name), CppUnit::TestCase(rName),
_error(false) _error(false)
{ {
} }

View File

@ -46,7 +46,7 @@ namespace
} }
DynamicFactoryTest::DynamicFactoryTest(const std::string& name): CppUnit::TestCase(name) DynamicFactoryTest::DynamicFactoryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -28,7 +28,7 @@ using namespace Poco;
#define DURWAIT 300 #define DURWAIT 300
ExpireCacheTest::ExpireCacheTest(const std::string& name): CppUnit::TestCase(name) ExpireCacheTest::ExpireCacheTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -28,7 +28,7 @@ using namespace Poco;
#define DURWAIT 300 #define DURWAIT 300
ExpireLRUCacheTest::ExpireLRUCacheTest(const std::string& name): CppUnit::TestCase(name) ExpireLRUCacheTest::ExpireLRUCacheTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -23,7 +23,7 @@ using Poco::FIFOBufferStream;
using Poco::delegate; using Poco::delegate;
FIFOBufferStreamTest::FIFOBufferStreamTest(const std::string& name): CppUnit::TestCase(name) FIFOBufferStreamTest::FIFOBufferStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -31,8 +31,8 @@ using Poco::delegate;
using std::memcpy; using std::memcpy;
FIFOBufferTest::FIFOBufferTest(const std::string& name): FIFOBufferTest::FIFOBufferTest(const std::string& rName):
CppUnit::TestCase(name), CppUnit::TestCase(rName),
_notToReadable(0), _notToReadable(0),
_notToWritable(0), _notToWritable(0),
_readableToNot(0), _readableToNot(0),

View File

@ -26,7 +26,7 @@ using namespace Poco;
#define LARGEINC 100 #define LARGEINC 100
FIFOEventTest::FIFOEventTest(const std::string& name): CppUnit::TestCase(name) FIFOEventTest::FIFOEventTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -19,7 +19,7 @@
using Poco::FPE; using Poco::FPE;
FPETest::FPETest(const std::string& name): CppUnit::TestCase(name) FPETest::FPETest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -48,7 +48,7 @@ using Poco::DirectoryIterator;
using Poco::InvalidArgumentException; using Poco::InvalidArgumentException;
FileChannelTest::FileChannelTest(const std::string& name): CppUnit::TestCase(name) FileChannelTest::FileChannelTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -19,7 +19,7 @@
#include "Poco/Exception.h" #include "Poco/Exception.h"
FileStreamTest::FileStreamTest(const std::string& name): CppUnit::TestCase(name) FileStreamTest::FileStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -30,7 +30,7 @@ using Poco::Timestamp;
using Poco::Thread; using Poco::Thread;
FileTest::FileTest(const std::string& name): CppUnit::TestCase(name) FileTest::FileTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::Int64;
using Poco::UInt64; using Poco::UInt64;
FormatTest::FormatTest(const std::string& name): CppUnit::TestCase(name) FormatTest::FormatTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::File;
using Poco::Path; using Poco::Path;
GlobTest::GlobTest(const std::string& name): CppUnit::TestCase(name) GlobTest::GlobTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -22,7 +22,7 @@ using Poco::MD5Engine;
using Poco::DigestEngine; using Poco::DigestEngine;
HMACEngineTest::HMACEngineTest(const std::string& name): CppUnit::TestCase(name) HMACEngineTest::HMACEngineTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@
using Poco::HashMap; using Poco::HashMap;
HashMapTest::HashMapTest(const std::string& name): CppUnit::TestCase(name) HashMapTest::HashMapTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@ using Poco::Hash;
using Poco::HashSet; using Poco::HashSet;
HashSetTest::HashSetTest(const std::string& name): CppUnit::TestCase(name) HashSetTest::HashSetTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using namespace Poco; using namespace Poco;
HashTableTest::HashTableTest(const std::string& name): CppUnit::TestCase(name) HashTableTest::HashTableTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::HexBinaryDecoder;
using Poco::DataFormatException; using Poco::DataFormatException;
HexBinaryTest::HexBinaryTest(const std::string& name): CppUnit::TestCase(name) HexBinaryTest::HexBinaryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -22,7 +22,7 @@
using namespace Poco; using namespace Poco;
LRUCacheTest::LRUCacheTest(const std::string& name): CppUnit::TestCase(name) LRUCacheTest::LRUCacheTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::OutputLineEndingConverter;
using Poco::StreamCopier; using Poco::StreamCopier;
LineEndingConverterTest::LineEndingConverterTest(const std::string& name): CppUnit::TestCase(name) LineEndingConverterTest::LineEndingConverterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -28,7 +28,7 @@ using Poco::Stopwatch;
using Poco::NumberFormatter; using Poco::NumberFormatter;
LinearHashTableTest::LinearHashTableTest(const std::string& name): CppUnit::TestCase(name) LinearHashTableTest::LinearHashTableTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@
using Poco::ListMap; using Poco::ListMap;
ListMapTest::ListMapTest(const std::string& name): CppUnit::TestCase(name) ListMapTest::ListMapTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -36,7 +36,7 @@ using std::strftime;
#endif #endif
LocalDateTimeTest::LocalDateTimeTest(const std::string& name): CppUnit::TestCase(name) LocalDateTimeTest::LocalDateTimeTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@ using Poco::Message;
using Poco::AutoPtr; using Poco::AutoPtr;
LogStreamTest::LogStreamTest(const std::string& name): CppUnit::TestCase(name) LogStreamTest::LogStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::Message;
using Poco::AutoPtr; using Poco::AutoPtr;
LoggerTest::LoggerTest(const std::string& name): CppUnit::TestCase(name) LoggerTest::LoggerTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -61,7 +61,7 @@ namespace
} }
LoggingFactoryTest::LoggingFactoryTest(const std::string& name): CppUnit::TestCase(name) LoggingFactoryTest::LoggingFactoryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -27,7 +27,7 @@ using Poco::PatternFormatter;
using Poco::AutoPtr; using Poco::AutoPtr;
LoggingRegistryTest::LoggingRegistryTest(const std::string& name): CppUnit::TestCase(name) LoggingRegistryTest::LoggingRegistryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@ using Poco::MD4Engine;
using Poco::DigestEngine; using Poco::DigestEngine;
MD4EngineTest::MD4EngineTest(const std::string& name): CppUnit::TestCase(name) MD4EngineTest::MD4EngineTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@ using Poco::MD5Engine;
using Poco::DigestEngine; using Poco::DigestEngine;
MD5EngineTest::MD5EngineTest(const std::string& name): CppUnit::TestCase(name) MD5EngineTest::MD5EngineTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -32,7 +32,7 @@ class MfTestObject: public MfTestBase
}; };
ManifestTest::ManifestTest(const std::string& name): CppUnit::TestCase(name) ManifestTest::ManifestTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using Poco::MemoryPool; using Poco::MemoryPool;
MemoryPoolTest::MemoryPoolTest(const std::string& name): CppUnit::TestCase(name) MemoryPoolTest::MemoryPoolTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -22,7 +22,7 @@ using Poco::MemoryInputStream;
using Poco::MemoryOutputStream; using Poco::MemoryOutputStream;
MemoryStreamTest::MemoryStreamTest(const std::string& name): CppUnit::TestCase(name) MemoryStreamTest::MemoryStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -62,7 +62,7 @@ namespace
} }
MutexTest::MutexTest(const std::string& name): CppUnit::TestCase(name) MutexTest::MutexTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using Poco::NDC; using Poco::NDC;
NDCTest::NDCTest(const std::string& name): CppUnit::TestCase(name) NDCTest::NDCTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -51,7 +51,7 @@ namespace
} }
NamedEventTest::NamedEventTest(const std::string& name): CppUnit::TestCase(name) NamedEventTest::NamedEventTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -77,7 +77,7 @@ namespace
} }
NamedMutexTest::NamedMutexTest(const std::string& name): CppUnit::TestCase(name) NamedMutexTest::NamedMutexTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -34,7 +34,7 @@ using Poco::NotFoundException;
using Poco::InvalidArgumentException; using Poco::InvalidArgumentException;
NamedTuplesTest::NamedTuplesTest(const std::string& name): CppUnit::TestCase(name) NamedTuplesTest::NamedTuplesTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -31,7 +31,7 @@ class TestNotification: public Notification
}; };
NotificationCenterTest::NotificationCenterTest(const std::string& name): CppUnit::TestCase(name) NotificationCenterTest::NotificationCenterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -49,7 +49,7 @@ namespace
} }
NotificationQueueTest::NotificationQueueTest(const std::string& name): CppUnit::TestCase(name) NotificationQueueTest::NotificationQueueTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@ using Poco::NullInputStream;
using Poco::NullOutputStream; using Poco::NullOutputStream;
NullStreamTest::NullStreamTest(const std::string& name): CppUnit::TestCase(name) NullStreamTest::NullStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@ using Poco::Int64;
using Poco::UInt64; using Poco::UInt64;
NumberFormatterTest::NumberFormatterTest(const std::string& name): CppUnit::TestCase(name) NumberFormatterTest::NumberFormatterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -42,7 +42,7 @@ using Poco::decimalSeparator;
using Poco::thousandSeparator; using Poco::thousandSeparator;
NumberParserTest::NumberParserTest(const std::string& name): CppUnit::TestCase(name) NumberParserTest::NumberParserTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using Poco::ObjectPool; using Poco::ObjectPool;
ObjectPoolTest::ObjectPoolTest(const std::string& name): CppUnit::TestCase(name) ObjectPoolTest::ObjectPoolTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -24,7 +24,7 @@ using Poco::SHA1Engine;
using Poco::DigestEngine; using Poco::DigestEngine;
PBKDF2EngineTest::PBKDF2EngineTest(const std::string& name): CppUnit::TestCase(name) PBKDF2EngineTest::PBKDF2EngineTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -34,7 +34,7 @@ using Poco::PathSyntaxException;
using Poco::Environment; using Poco::Environment;
PathTest::PathTest(const std::string& name): CppUnit::TestCase(name) PathTest::PathTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -23,7 +23,7 @@ using Poco::Message;
using Poco::DateTime; using Poco::DateTime;
PatternFormatterTest::PatternFormatterTest(const std::string& name): CppUnit::TestCase(name) PatternFormatterTest::PatternFormatterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@ using namespace Poco;
#define LARGEINC 100 #define LARGEINC 100
PriorityEventTest::PriorityEventTest(const std::string& name): CppUnit::TestCase(name) PriorityEventTest::PriorityEventTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -49,7 +49,7 @@ namespace
} }
PriorityNotificationQueueTest::PriorityNotificationQueueTest(const std::string& name): CppUnit::TestCase(name) PriorityNotificationQueueTest::PriorityNotificationQueueTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@ using Poco::PipeInputStream;
using Poco::PipeOutputStream; using Poco::PipeOutputStream;
ProcessTest::ProcessTest(const std::string& name): CppUnit::TestCase(name) ProcessTest::ProcessTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -121,7 +121,7 @@ private:
}; };
RWLockTest::RWLockTest(const std::string& name): CppUnit::TestCase(name) RWLockTest::RWLockTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@
using Poco::RandomInputStream; using Poco::RandomInputStream;
RandomStreamTest::RandomStreamTest(const std::string& name): CppUnit::TestCase(name) RandomStreamTest::RandomStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@
using Poco::UInt32; using Poco::UInt32;
RandomTest::RandomTest(const std::string& name): CppUnit::TestCase(name) RandomTest::RandomTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@ using Poco::RegularExpression;
using Poco::RegularExpressionException; using Poco::RegularExpressionException;
RegularExpressionTest::RegularExpressionTest(const std::string& name): CppUnit::TestCase(name) RegularExpressionTest::RegularExpressionTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@ using Poco::SHA1Engine;
using Poco::DigestEngine; using Poco::DigestEngine;
SHA1EngineTest::SHA1EngineTest(const std::string& name): CppUnit::TestCase(name) SHA1EngineTest::SHA1EngineTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -69,7 +69,7 @@ private:
}; };
SemaphoreTest::SemaphoreTest(const std::string& name): CppUnit::TestCase(name) SemaphoreTest::SemaphoreTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@ using Poco::LibraryAlreadyLoadedException;
typedef int (*GimmeFiveFunc)(); typedef int (*GimmeFiveFunc)();
SharedLibraryTest::SharedLibraryTest(const std::string& name): CppUnit::TestCase(name) SharedLibraryTest::SharedLibraryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -25,7 +25,7 @@
using Poco::SharedMemory; using Poco::SharedMemory;
SharedMemoryTest::SharedMemoryTest(const std::string& name): CppUnit::TestCase(name) SharedMemoryTest::SharedMemoryTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@ namespace
class TestObject class TestObject
{ {
public: public:
TestObject(const std::string& data): _data(data) TestObject(const std::string& rData): _data(rData)
{ {
++_count; ++_count;
} }
@ -71,7 +71,7 @@ namespace
} }
SharedPtrTest::SharedPtrTest(const std::string& name): CppUnit::TestCase(name) SharedPtrTest::SharedPtrTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -33,7 +33,7 @@ using Poco::DateTimeFormatter;
using Poco::AutoPtr; using Poco::AutoPtr;
SimpleFileChannelTest::SimpleFileChannelTest(const std::string& name): CppUnit::TestCase(name) SimpleFileChannelTest::SimpleFileChannelTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using namespace Poco; using namespace Poco;
SimpleHashTableTest::SimpleHashTableTest(const std::string& name): CppUnit::TestCase(name) SimpleHashTableTest::SimpleHashTableTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -23,7 +23,7 @@ using Poco::Timestamp;
using Poco::Thread; using Poco::Thread;
StopwatchTest::StopwatchTest(const std::string& name): CppUnit::TestCase(name) StopwatchTest::StopwatchTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -29,7 +29,7 @@ using Poco::ASCIIEncoding;
using Poco::StreamCopier; using Poco::StreamCopier;
StreamConverterTest::StreamConverterTest(const std::string& name): CppUnit::TestCase(name) StreamConverterTest::StreamConverterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -20,7 +20,7 @@
using Poco::StreamCopier; using Poco::StreamCopier;
StreamCopierTest::StreamCopierTest(const std::string& name): CppUnit::TestCase(name) StreamCopierTest::StreamCopierTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -105,7 +105,7 @@ public:
}; };
StreamTokenizerTest::StreamTokenizerTest(const std::string& name): CppUnit::TestCase(name) StreamTokenizerTest::StreamTokenizerTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -64,7 +64,7 @@ using Poco::Stopwatch;
using Poco::RangeException; using Poco::RangeException;
StringTest::StringTest(const std::string& name): CppUnit::TestCase(name) StringTest::StringTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -22,7 +22,7 @@ using Poco::RangeException;
using Poco::NotFoundException; using Poco::NotFoundException;
StringTokenizerTest::StringTokenizerTest(const std::string& name): CppUnit::TestCase(name) StringTokenizerTest::StringTokenizerTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -234,7 +234,7 @@ namespace
} }
TaskManagerTest::TaskManagerTest(const std::string& name): CppUnit::TestCase(name) TaskManagerTest::TaskManagerTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -58,7 +58,7 @@ namespace
} }
TaskTest::TaskTest(const std::string& name): CppUnit::TestCase(name) TaskTest::TaskTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -21,7 +21,7 @@ using Poco::TeeInputStream;
using Poco::TeeOutputStream; using Poco::TeeOutputStream;
TeeStreamTest::TeeStreamTest(const std::string& name): CppUnit::TestCase(name) TeeStreamTest::TeeStreamTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -25,7 +25,7 @@ using Poco::UTF8Encoding;
using Poco::UTF16Encoding; using Poco::UTF16Encoding;
TextBufferIteratorTest::TextBufferIteratorTest(const std::string& name): CppUnit::TestCase(name) TextBufferIteratorTest::TextBufferIteratorTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -27,7 +27,7 @@
using namespace Poco; using namespace Poco;
TextConverterTest::TextConverterTest(const std::string& name): CppUnit::TestCase(name) TextConverterTest::TextConverterTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

View File

@ -26,7 +26,7 @@
using namespace Poco; using namespace Poco;
TextEncodingTest::TextEncodingTest(const std::string& name): CppUnit::TestCase(name) TextEncodingTest::TextEncodingTest(const std::string& rName): CppUnit::TestCase(rName)
{ {
} }

Some files were not shown because too many files have changed in this diff Show More