1//
2// HTMLFormTest.h
3//
4// Definition of the HTMLFormTest class.
5//
6// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef HTMLFormTest_INCLUDED
14#define HTMLFormTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class HTMLFormTest: public CppUnit::TestCase
22{
23public:
24 HTMLFormTest(const std::string& name);
25 ~HTMLFormTest();
26
27 void testWriteUrl();
28 void testWriteMultipart();
29 void testReadUrlGET();
30 void testReadUrlGETMultiple();
31 void testReadUrlPOST();
32 void testReadUrlPUT();
33 void testReadUrlBOM();
34 void testReadMultipart();
35 void testSubmit1();
36 void testSubmit2();
37 void testSubmit3();
38 void testSubmit4();
39 void testSubmit5();
40 void testFieldLimitUrl();
41 void testFieldLimitMultipart();
42
43 void setUp();
44 void tearDown();
45
46 static CppUnit::Test* suite();
47
48private:
49};
50
51
52#endif // HTMLFormTest_INCLUDED
53