mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-19 05:59:27 +01:00
52 lines
911 B
C++
52 lines
911 B
C++
//
|
|
// HTMLFormTest.h
|
|
//
|
|
// Definition of the HTMLFormTest class.
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef HTMLFormTest_INCLUDED
|
|
#define HTMLFormTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
#include "Poco/CppUnit/TestCase.h"
|
|
|
|
|
|
class HTMLFormTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
HTMLFormTest(const std::string& name);
|
|
~HTMLFormTest();
|
|
|
|
void testWriteUrl();
|
|
void testWriteMultipart();
|
|
void testReadUrlGET();
|
|
void testReadUrlGETMultiple();
|
|
void testReadUrlPOST();
|
|
void testReadUrlPUT();
|
|
void testReadUrlBOM();
|
|
void testReadMultipart();
|
|
void testSubmit1();
|
|
void testSubmit2();
|
|
void testSubmit3();
|
|
void testSubmit4();
|
|
void testFieldLimitUrl();
|
|
void testFieldLimitMultipart();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // HTMLFormTest_INCLUDED
|