1//
2// MessageHeaderTest.h
3//
4// Definition of the MessageHeaderTest 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 MessageHeaderTest_INCLUDED
14#define MessageHeaderTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class MessageHeaderTest: public CppUnit::TestCase
22{
23public:
24 MessageHeaderTest(const std::string& name);
25 ~MessageHeaderTest();
26
27 void testWrite();
28 void testRead1();
29 void testRead2();
30 void testRead3();
31 void testRead4();
32 void testRead5();
33 void testReadFolding1();
34 void testReadFolding2();
35 void testReadFolding3();
36 void testReadFolding4();
37 void testReadFolding5();
38 void testReadInvalid1();
39 void testReadInvalid2();
40 void testSplitElements();
41 void testSplitParameters();
42 void testFieldLimit();
43 void testDecodeWord();
44
45 void setUp();
46 void tearDown();
47
48 static CppUnit::Test* suite();
49
50private:
51};
52
53
54#endif // MessageHeaderTest_INCLUDED
55