]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/restsnew.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / restsnew.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/********************************************************************
4 * COPYRIGHT:
374ca955 5 * Copyright (c) 1997-2003, International Business Machines Corporation and
b75a7d8f
A
6 * others. All Rights Reserved.
7 ********************************************************************/
8
9#ifndef NEW_RESOURCEBUNDLETEST_H
10#define NEW_RESOURCEBUNDLETEST_H
11
12#include "intltest.h"
13
14/**
15 * Tests for class ResourceBundle
16 **/
17class NewResourceBundleTest: public IntlTest {
18public:
19 NewResourceBundleTest();
20 virtual ~NewResourceBundleTest();
21
22 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
23
24 /**
25 * Perform several extensive tests using the subtest routine testTag
26 **/
27 void TestResourceBundles(void);
28 /**
29 * Test construction of ResourceBundle accessing a custom test resource-file
30 **/
31 void TestConstruction(void);
32
33 void TestIteration(void);
34
35 void TestOtherAPI(void);
36
374ca955 37 void TestNewTypes(void);
b75a7d8f 38
73c04bcf
A
39 void TestGetByFallback(void);
40
3d1f044b 41 void TestFilter(void);
340931cb
A
42 void TestIntervalAliasFallbacks(void);
43
44#if U_ENABLE_TRACING
45 void TestTrace(void);
46#endif
3d1f044b 47
b75a7d8f
A
48private:
49 /**
50 * The assignment operator has no real implementation.
51 * It is provided to make the compiler happy. Do not call.
52 */
53 NewResourceBundleTest& operator=(const NewResourceBundleTest&) { return *this; }
54
55 /**
56 * extensive subtests called by TestResourceBundles
57 **/
58 UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
59
60 void record_pass(void);
61 void record_fail(void);
62
63 int32_t pass;
64 int32_t fail;
65
b75a7d8f
A
66};
67
68#endif