]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/csdetest.h
2 **********************************************************************
3 * Copyright (C) 2005-2009, 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();
30 virtual void IBM424Test();
31 virtual void IBM420Test();
32 virtual void Ticket6394Test();
35 void checkEncoding(const UnicodeString
&testString
,
36 const UnicodeString
&encoding
, const UnicodeString
&id
);
38 virtual const char *getPath(char buffer
[2048], const char *filename
);