/* ====================================================================
* Copyright (c) 2006, Martin Hauner
* http://subcommander.tigris.org
*
* Subcommander is licensed as described in the file doc/COPYING, which
* you should have received as part of this distribution.
* ====================================================================
*/
#ifndef _UTF_TEST_H
#define _UTF_TEST_H
// cppunit
#include <cppunit/TestCase.h>
// util
#include "util/apr.h"
class UtfTest : public CppUnit::TestCase
{
public:
UtfTest();
virtual ~UtfTest();
static CppUnit::Test *suite();
void setUp();
void tearDown();
// Tests
void testUtf8();
void testUtf32be();
void testUtf32le();
void testUtf16be();
void testUtf16le();
private:
apr::Pool _pool;
};
#endif // _UTF_TEST_H
syntax highlighted by Code2HTML, v. 0.9.1