]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/csdetest.h
2 **********************************************************************
3 * Copyright (C) 2005-2006, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
11 #include "unicode/utypes.h"
12 #include "unicode/unistr.h"
16 class CharsetDetectionTest
: public IntlTest
{
19 CharsetDetectionTest();
20 virtual ~CharsetDetectionTest();
22 virtual void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
24 virtual void ConstructionTest();
25 virtual void UTF8Test();
26 virtual void UTF16Test();
27 virtual void C1BytesTest();
28 virtual void InputFilterTest();
29 virtual void DetectionTest();
32 void checkEncoding(const UnicodeString
&testString
,
33 const UnicodeString
&encoding
, const UnicodeString
&id
);
35 virtual const char *getPath(char buffer
[2048], const char *filename
);