SF #111 FTP Client logging

apparently code that never got transferred from svn trunk
(see https://sourceforge.net/p/poco/patches/111/)
This commit is contained in:
aleks-f
2012-12-11 23:07:38 -06:00
parent e3d49fe766
commit 98c3709b59
6 changed files with 303 additions and 82 deletions

View File

@@ -1,7 +1,7 @@
//
// FTPClientSessionTest.h
//
// $Id: //poco/1.4/Net/testsuite/src/FTPClientSessionTest.h#1 $
// $Id: //poco/svn/Net/testsuite/src/FTPClientSessionTest.h#2 $
//
// Definition of the FTPClientSessionTest class.
//
@@ -40,13 +40,24 @@
#include "CppUnit/TestCase.h"
namespace Poco {
namespace Net {
class FTPClientSession;
} }
class DialogServer;
class FTPClientSessionTest: public CppUnit::TestCase
{
public:
FTPClientSessionTest(const std::string& name);
~FTPClientSessionTest();
void testLogin();
void testLogin1();
void testLogin2();
void testLogin3();
void testLoginFailed1();
void testLoginFailed2();
void testCommands();
@@ -63,6 +74,7 @@ public:
static CppUnit::Test* suite();
private:
void login(DialogServer& server, Poco::Net::FTPClientSession& session);
};