]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/regiontst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /************************************************************************
5 * Copyright (c) 2013, International Business Machines Corporation
6 * and others. All Rights Reserved.
7 ************************************************************************/
12 #include "unicode/utypes.h"
14 #if !UCONFIG_NO_FORMATTING
16 #include "unicode/region.h"
20 * Performs various tests on Region APIs
22 class RegionTest
: public IntlTest
{
24 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
);
28 virtual ~RegionTest();
30 void TestKnownRegions(void);
31 void TestGetInstanceString(void);
32 void TestGetInstanceInt(void);
33 void TestGetContainedRegions(void);
34 void TestGetContainedRegionsWithType(void);
35 void TestGetContainingRegion(void);
36 void TestGetContainingRegionWithType(void);
37 void TestGetPreferredValues(void);
38 void TestContains(void);
39 void TestAvailableTerritories(void);
40 void TestNoContainedRegions(void);
44 UBool optionv
; // TRUE if @v option is given on command line
47 #endif /* #if !UCONFIG_NO_FORMATTING */
49 #endif // _REGIONTEST_