]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/csdetest.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 **********************************************************************
5 * Copyright (C) 2005-2012, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
13 #include "unicode/utypes.h"
14 #include "unicode/unistr.h"
18 class CharsetDetectionTest
: public IntlTest
{
21 CharsetDetectionTest();
22 virtual ~CharsetDetectionTest();
24 virtual void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
26 virtual void ConstructionTest();
27 virtual void UTF8Test();
28 virtual void UTF16Test();
29 virtual void C1BytesTest();
30 virtual void InputFilterTest();
31 virtual void DetectionTest();
32 virtual void IBM424Test();
33 virtual void IBM420Test();
34 virtual void Ticket6394Test();
35 virtual void Ticket6954Test();
38 void checkEncoding(const UnicodeString
&testString
,
39 const UnicodeString
&encoding
, const UnicodeString
&id
);
41 virtual const char *getPath(char buffer
[2048], const char *filename
);