2016-06-15 18:58:17 +00:00
|
|
|
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2000-03-10 00:42:27 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (c) 1996-2012, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
2000-03-10 00:42:27 +00:00
|
|
|
********************************************************************/
|
|
|
|
/********************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*
|
|
|
|
* File CALLTEST.C
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
* Creation: Madhu Katragadda
|
|
|
|
*********************************************************************************
|
|
|
|
*/
|
|
|
|
/* THE FILE WHERE ALL C API TESTS ARE ADDED TO THE ROOT */
|
|
|
|
|
|
|
|
|
|
|
|
#include "cintltst.h"
|
|
|
|
|
|
|
|
void addUtility(TestNode** root);
|
|
|
|
void addBreakIter(TestNode** root);
|
2000-08-10 01:33:28 +00:00
|
|
|
void addStandardNamesTest(TestNode **root);
|
1999-08-16 21:50:52 +00:00
|
|
|
void addFormatTest(TestNode** root);
|
|
|
|
void addConvert(TestNode** root);
|
|
|
|
void addCollTest(TestNode** root);
|
1999-09-30 23:47:52 +00:00
|
|
|
void addComplexTest(TestNode** root);
|
2000-03-03 01:09:33 +00:00
|
|
|
void addUDataTest(TestNode** root);
|
2000-05-03 20:54:37 +00:00
|
|
|
void addUTF16Test(TestNode** root);
|
2000-07-26 02:05:15 +00:00
|
|
|
void addUTF8Test(TestNode** root);
|
2000-06-27 16:27:02 +00:00
|
|
|
void addUTransTest(TestNode** root);
|
2000-07-12 23:33:20 +00:00
|
|
|
void addPUtilTest(TestNode** root);
|
2001-09-18 03:43:45 +00:00
|
|
|
void addUCharTransformTest(TestNode** root);
|
2002-06-04 23:31:13 +00:00
|
|
|
void addUSetTest(TestNode** root);
|
2003-07-24 23:23:19 +00:00
|
|
|
void addUStringPrepTest(TestNode** root);
|
|
|
|
void addIDNATest(TestNode** root);
|
2003-08-05 01:25:54 +00:00
|
|
|
void addHeapMutexTest(TestNode **root);
|
2003-11-12 07:00:38 +00:00
|
|
|
void addUTraceTest(TestNode** root);
|
2004-03-22 22:35:35 +00:00
|
|
|
void addURegexTest(TestNode** root);
|
2005-06-14 01:10:10 +00:00
|
|
|
void addUTextTest(TestNode** root);
|
2006-02-10 23:49:09 +00:00
|
|
|
void addUCsdetTest(TestNode** root);
|
2008-08-04 21:56:02 +00:00
|
|
|
void addCnvSelTest(TestNode** root);
|
2009-03-09 23:40:15 +00:00
|
|
|
void addUSpoofTest(TestNode** root);
|
2012-10-18 19:51:28 +00:00
|
|
|
#if !UCONFIG_NO_FORMATTING
|
2012-10-11 18:52:55 +00:00
|
|
|
void addGendInfoForTest(TestNode** root);
|
2012-10-18 19:51:28 +00:00
|
|
|
#endif
|
1999-09-30 23:47:52 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
void addAllTests(TestNode** root)
|
|
|
|
{
|
2008-08-04 21:56:02 +00:00
|
|
|
addCnvSelTest(root);
|
2002-04-25 21:49:16 +00:00
|
|
|
addUDataTest(root);
|
2009-06-15 03:06:50 +00:00
|
|
|
addHeapMutexTest(root);
|
2000-05-03 20:54:37 +00:00
|
|
|
addUTF16Test(root);
|
2000-07-26 02:05:15 +00:00
|
|
|
addUTF8Test(root);
|
2000-08-10 01:33:28 +00:00
|
|
|
addUtility(root);
|
2006-10-11 15:40:43 +00:00
|
|
|
addUTraceTest(root);
|
|
|
|
addUTextTest(root);
|
1999-08-16 21:50:52 +00:00
|
|
|
addConvert(root);
|
2002-04-25 21:49:16 +00:00
|
|
|
addUCharTransformTest(root);
|
2002-04-25 21:52:13 +00:00
|
|
|
addStandardNamesTest(root);
|
2006-10-11 15:40:43 +00:00
|
|
|
addUCsdetTest(root);
|
|
|
|
addComplexTest(root);
|
|
|
|
addUSetTest(root);
|
|
|
|
#if !UCONFIG_NO_IDNA
|
|
|
|
addUStringPrepTest(root);
|
|
|
|
addIDNATest(root);
|
|
|
|
#endif
|
|
|
|
#if !UCONFIG_NO_REGULAR_EXPRESSIONS
|
|
|
|
addURegexTest(root);
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif
|
|
|
|
#if !UCONFIG_NO_BREAK_ITERATION
|
2002-04-25 21:49:16 +00:00
|
|
|
addBreakIter(root);
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif
|
2006-10-11 15:40:43 +00:00
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
addFormatTest(root);
|
|
|
|
#endif
|
2002-09-20 17:54:45 +00:00
|
|
|
#if !UCONFIG_NO_COLLATION
|
2001-01-26 00:12:23 +00:00
|
|
|
addCollTest(root);
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif
|
|
|
|
#if !UCONFIG_NO_TRANSLITERATION
|
2000-06-27 16:27:02 +00:00
|
|
|
addUTransTest(root);
|
2002-09-20 17:54:45 +00:00
|
|
|
#endif
|
2009-08-04 21:09:17 +00:00
|
|
|
#if !UCONFIG_NO_REGULAR_EXPRESSIONS && !UCONFIG_NO_NORMALIZATION
|
2009-03-09 23:40:15 +00:00
|
|
|
addUSpoofTest(root);
|
2009-05-04 05:45:27 +00:00
|
|
|
#endif
|
2009-09-18 06:38:49 +00:00
|
|
|
addPUtilTest(root);
|
2012-10-18 19:51:28 +00:00
|
|
|
#if !UCONFIG_NO_FORMATTING
|
2012-10-11 18:52:55 +00:00
|
|
|
addGendInfoForTest(root);
|
2012-10-18 19:51:28 +00:00
|
|
|
#endif
|
1999-08-16 21:50:52 +00:00
|
|
|
}
|