1//
2// MultipartReaderTest.h
3//
4// Definition of the MultipartReaderTest 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 MultipartReaderTest_INCLUDED
14#define MultipartReaderTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class MultipartReaderTest: public CppUnit::TestCase
22{
23public:
24 MultipartReaderTest(const std::string& name);
25 ~MultipartReaderTest();
26
27 void testReadOnePart();
28 void testReadTwoParts();
29 void testReadEmptyLines();
30 void testReadLongPart();
31 void testGuessBoundary();
32 void testPreamble();
33 void testBadBoundary();
34 void testRobustness();
35 void testUnixLineEnds();
36
37 void setUp();
38 void tearDown();
39
40 static CppUnit::Test* suite();
41
42private:
43};
44
45
46#endif // MultipartReaderTest_INCLUDED
47