mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-14 03:37:16 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
48 lines
888 B
C++
48 lines
888 B
C++
//
|
|
// StreamConverterTest.h
|
|
//
|
|
// Definition of the StreamConverterTest class.
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef StreamConverterTest_INCLUDED
|
|
#define StreamConverterTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class StreamConverterTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
StreamConverterTest(const std::string& name);
|
|
~StreamConverterTest();
|
|
|
|
void testIdentityASCIIIn();
|
|
void testIdentityASCIIOut();
|
|
void testIdentityUTF8In();
|
|
void testIdentityUTF8Out();
|
|
void testUTF8toASCIIIn();
|
|
void testUTF8toASCIIOut();
|
|
void testLatin1toUTF8In();
|
|
void testLatin1toUTF8Out();
|
|
void testErrorsIn();
|
|
void testErrorsOut();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // StreamConverterTest_INCLUDED
|