mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-07 21:37:14 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
46 lines
828 B
C++
46 lines
828 B
C++
//
|
|
// POP3ClientSessionTest.h
|
|
//
|
|
// Definition of the POP3ClientSessionTest class.
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef POP3ClientSessionTest_INCLUDED
|
|
#define POP3ClientSessionTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class POP3ClientSessionTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
POP3ClientSessionTest(const std::string& name);
|
|
~POP3ClientSessionTest();
|
|
|
|
void testLogin();
|
|
void testLoginFail();
|
|
void testMessageCount();
|
|
void testList();
|
|
void testRetrieveMessage();
|
|
void testRetrieveHeader();
|
|
void testRetrieveMessages();
|
|
void testDeleteMessage();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // POP3ClientSessionTest_INCLUDED
|