blob: 8496e81f6022b9b84db030bcc498ba7056a3a5da [file] [log] [blame]
/*
*****************************************************************************************
* *
* COPYRIGHT: *
* (C) Copyright Taligent, Inc., 1996 *
* (C) Copyright International Business Machines Corporation, 1999 *
* Licensed Material - Program-Property of IBM - All Rights Reserved. *
* US Government Users Restricted Rights - Use, duplication, or disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
* *
*****************************************************************************************
********************************************************************************
*
* File CLOCTST.H
*
* Modification History:
* Name Description
* Madhu Katragadda Converted to C
*********************************************************************************
*/
#ifndef _CLOCTEST
#define _CLOCTEST
#include "cintltst.h"
/*C API TEST FOR LOCALE */
static void addLocaleTests(TestNode**);
/**
Test functions to set and get data fields
/**/
static void TestBasicGetters(void);
/**
* Use Locale to access Resource file data and compare against expected values
**/
static void TestSimpleResourceInfo(void);
/**
* Use Locale to access Resource file display names and compare against expected values
**/
static void TestDisplayNames(void);
/**
* Test functions for basic object behaviour
**/
static void TestSimpleObjectStuff(void);
/**
* Test Locale::getAvailableLocales
**/
static void TestGetAvailableLocales(void);
/**
* Test functions to set and access a custom data directory
**/
static void TestDataDirectory(void);
/**
* Test functions to test get ISO countries and Languages
**/
static void TestISOFunctions(void);
/*
* routine to perform subtests, used by TestDisplayNames
**/
static void doTestDisplayNames(const char* inLocale, int32_t compareIndex, int32_t defaultIsFrench);
/**
* additional intialization for datatables storing expected values
**/
static void setUpDataTable(void);
void displayDataTable(void);
#endif