1//
2// StreamConverterTest.h
3//
4// Definition of the StreamConverterTest class.
5//
6// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef StreamConverterTest_INCLUDED
14#define StreamConverterTest_INCLUDED
15
16
17#include "Poco/Foundation.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class StreamConverterTest: public CppUnit::TestCase
22{
23public:
24 StreamConverterTest(const std::string& name);
25 ~StreamConverterTest();
26
27 void testIdentityASCIIIn();
28 void testIdentityASCIIOut();
29 void testIdentityUTF8In();
30 void testIdentityUTF8Out();
31 void testUTF8toASCIIIn();
32 void testUTF8toASCIIOut();
33 void testLatin1toUTF8In();
34 void testLatin1toUTF8Out();
35 void testErrorsIn();
36 void testErrorsOut();
37
38 void setUp();
39 void tearDown();
40
41 static CppUnit::Test* suite();
42
43private:
44};
45
46
47#endif // StreamConverterTest_INCLUDED
48