2000-01-15 02:00:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2004-05-19 21:19:13 +00:00
|
|
|
* Copyright (c) 1997-2004, International Business Machines Corporation and
|
2000-01-15 02:00:06 +00:00
|
|
|
* others. All Rights Reserved.
|
|
|
|
********************************************************************/
|
|
|
|
/********************************************************************************
|
1999-08-16 21:50:52 +00:00
|
|
|
*
|
|
|
|
* File CRESTST.H
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
* Name Description
|
|
|
|
* Madhu Katragadda Converted to C
|
|
|
|
*********************************************************************************
|
|
|
|
*/
|
|
|
|
#ifndef _CRESTST
|
|
|
|
#define _CRESTST
|
|
|
|
/* C API TEST FOR RESOURCEBUNDLE */
|
|
|
|
#include "cintltst.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void addTestResourceBundleTest(TestNode**);
|
|
|
|
|
2000-12-15 19:16:43 +00:00
|
|
|
/**
|
|
|
|
* Perform several extensive tests using the subtest routine testTag
|
|
|
|
*/
|
1999-08-16 21:50:52 +00:00
|
|
|
void TestResourceBundles(void);
|
|
|
|
/**
|
|
|
|
* Test construction of ResourceBundle accessing a custom test resource-file
|
2000-12-15 19:16:43 +00:00
|
|
|
*/
|
1999-08-16 21:50:52 +00:00
|
|
|
void TestConstruction1(void);
|
|
|
|
|
|
|
|
void TestConstruction2(void);
|
2000-05-15 18:44:20 +00:00
|
|
|
|
|
|
|
void TestAliasConflict(void);
|
2003-11-07 08:42:32 +00:00
|
|
|
|
|
|
|
static void TestGetSize(void);
|
|
|
|
|
|
|
|
static void TestGetLocaleByType(void);
|
|
|
|
|
2004-05-11 20:24:13 +00:00
|
|
|
static void TestGetFunctionalEquivalent(void);
|
|
|
|
|
|
|
|
static void TestGetKeywordValues(void);
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
/**
|
|
|
|
* extensive subtests called by TestResourceBundles
|
|
|
|
**/
|
2000-12-15 19:16:43 +00:00
|
|
|
|
2000-05-18 22:08:39 +00:00
|
|
|
UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
void record_pass(void);
|
|
|
|
void record_fail(void);
|
|
|
|
|
2000-12-15 19:16:43 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
int32_t pass;
|
|
|
|
int32_t fail;
|
|
|
|
|
|
|
|
#endif
|