mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-15 17:27:12 +01:00
50 lines
824 B
C
50 lines
824 B
C
|
//
|
||
|
// HTTPRequestTest.h
|
||
|
//
|
||
|
// Definition of the HTTPRequestTest class.
|
||
|
//
|
||
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
||
|
// and Contributors.
|
||
|
//
|
||
|
// SPDX-License-Identifier: BSL-1.0
|
||
|
//
|
||
|
|
||
|
|
||
|
#ifndef HTTPRequestTest_INCLUDED
|
||
|
#define HTTPRequestTest_INCLUDED
|
||
|
|
||
|
|
||
|
#include "Poco/Net/Net.h"
|
||
|
#include "CppUnit/TestCase.h"
|
||
|
|
||
|
|
||
|
class HTTPRequestTest: public CppUnit::TestCase
|
||
|
{
|
||
|
public:
|
||
|
HTTPRequestTest(const std::string& name);
|
||
|
~HTTPRequestTest();
|
||
|
|
||
|
void testWrite1();
|
||
|
void testWrite2();
|
||
|
void testWrite3();
|
||
|
void testWrite4();
|
||
|
void testRead1();
|
||
|
void testRead2();
|
||
|
void testRead3();
|
||
|
void testRead4();
|
||
|
void testInvalid1();
|
||
|
void testInvalid2();
|
||
|
void testInvalid3();
|
||
|
void testCookies();
|
||
|
|
||
|
void setUp();
|
||
|
void tearDown();
|
||
|
|
||
|
static CppUnit::Test* suite();
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // HTTPRequestTest_INCLUDED
|