1ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/******************************************************************** 2ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * COPYRIGHT: 3ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * Copyright (c) 1997-2001, International Business Machines Corporation and 4ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * others. All Rights Reserved. 5ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ********************************************************************/ 6ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/******************************************************************************** 7ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 8ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* File CJAPTST.H 9ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 10ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Modification History: 11ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Name Description 12ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Madhu Katragadda Converted to C 13ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* synwee Added TestBase, TestPlainDakutenHandakuten, 14ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* TestSmallLarge, TestKatakanaHiragana, 15ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* TestChooonKigoo 16ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*********************************************************************************/ 17ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/** 18ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * CollationKannaTest(JAPAN) is a third level test class. This tests the locale 19ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * specific primary, secondary and tertiary rules. For example, the ignorable 20ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * character '-' in string "black-bird". The en_US locale uses the default 21ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru * collation rules as its sorting sequence. 22ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru */ 23ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 24ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#ifndef _CJACOLLTST 25ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#define _CJACOLLTST 26ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 27ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include "unicode/utypes.h" 28ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 29ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#if !UCONFIG_NO_COLLATION 30ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 31ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include "cintltst.h" 32ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 33ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 34ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#define MAX_TOKEN_LEN 16 35ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 36ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 37ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru /*perform test with strength TERTIARY*/ 38ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestTertiary(void); 39ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 40ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* Testing base letters */ 41ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestBase(void); 42ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 43ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* Testing plain, Daku-ten, Handaku-ten letters */ 44ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestPlainDakutenHandakuten(void); 45ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 46ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* 47ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Test Small, Large letters 48ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*/ 49ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestSmallLarge(void); 50ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 51ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* 52ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Test Katakana, Hiragana letters 53ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*/ 54ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestKatakanaHiragana(void); 55ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 56ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* 57ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Test Choo-on kigoo 58ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*/ 59ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic void TestChooonKigoo(void); 60ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 61ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif /* #if !UCONFIG_NO_COLLATION */ 62ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 63ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 64