]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/regiontst.h
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / test / intltest / regiontst.h
CommitLineData
51004dcb
A
1/************************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 2013, International Business Machines Corporation
4 * and others. All Rights Reserved.
5 ************************************************************************/
6
7#ifndef _REGIONTEST_
8#define _REGIONTEST_
9
10#include "unicode/utypes.h"
11
12#if !UCONFIG_NO_FORMATTING
13
14#include "unicode/region.h"
15#include "intltest.h"
16
17/**
18 * Performs various tests on Region APIs
19 **/
20class RegionTest: public IntlTest {
21 // IntlTest override
22 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
23
24public:
25 RegionTest();
26 virtual ~RegionTest();
27
28 void TestKnownRegions(void);
29 void TestGetInstanceString(void);
30 void TestGetInstanceInt(void);
31 void TestGetContainedRegions(void);
32 void TestGetContainedRegionsWithType(void);
33 void TestGetContainingRegion(void);
34 void TestGetContainingRegionWithType(void);
35 void TestGetPreferredValues(void);
36 void TestContains(void);
37 void TestAvailableTerritories(void);
38 void TestNoContainedRegions(void);
39
40private:
41
42 UBool optionv; // TRUE if @v option is given on command line
43};
44
45#endif /* #if !UCONFIG_NO_FORMATTING */
46
47#endif // _REGIONTEST_
48//eof