2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (c) 1997-2001, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
2000-01-15 02:00:06 +00:00
|
|
|
********************************************************************/
|
|
|
|
/********************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*
|
|
|
|
* File CJAPTST.H
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
* Name Description
|
|
|
|
* Madhu Katragadda Converted to C
|
2001-03-08 20:15:53 +00:00
|
|
|
* synwee Added TestBase, TestPlainDakutenHandakuten,
|
|
|
|
* TestSmallLarge, TestKatakanaHiragana,
|
|
|
|
* TestChooonKigoo
|
2000-08-14 23:35:57 +00:00
|
|
|
*********************************************************************************/
|
1999-08-16 21:50:52 +00:00
|
|
|
/**
|
|
|
|
* CollationKannaTest(JAPAN) is a third level test class. This tests the locale
|
|
|
|
* specific primary, secondary and tertiary rules. For example, the ignorable
|
|
|
|
* character '-' in string "black-bird". The en_US locale uses the default
|
|
|
|
* collation rules as its sorting sequence.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CJACOLLTST
|
|
|
|
#define _CJACOLLTST
|
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_COLLATION
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
#include "cintltst.h"
|
|
|
|
|
|
|
|
|
2001-03-30 03:49:29 +00:00
|
|
|
#define MAX_TOKEN_LEN 16
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2001-03-06 03:42:35 +00:00
|
|
|
/*perform test with strength TERTIARY*/
|
1999-08-16 21:50:52 +00:00
|
|
|
static void TestTertiary(void);
|
|
|
|
|
2001-03-08 20:15:53 +00:00
|
|
|
/* Testing base letters */
|
|
|
|
static void TestBase(void);
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2001-03-08 20:15:53 +00:00
|
|
|
/* Testing plain, Daku-ten, Handaku-ten letters */
|
|
|
|
static void TestPlainDakutenHandakuten(void);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test Small, Large letters
|
|
|
|
*/
|
|
|
|
static void TestSmallLarge(void);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test Katakana, Hiragana letters
|
|
|
|
*/
|
|
|
|
static void TestKatakanaHiragana(void);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test Choo-on kigoo
|
|
|
|
*/
|
|
|
|
static void TestChooonKigoo(void);
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_COLLATION */
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
#endif
|