• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
4  * COPYRIGHT:
5  * Copyright (c) 1997-2016 International Business Machines Corporation and
6  * others. All Rights Reserved.
7  ********************************************************************/
8 
9 #ifndef _INTLTESTDATETIMEPATTERNGENERATORAPI
10 #define _INTLTESTDATETIMEPATTERNGENERATORAPI
11 
12 #include "unicode/utypes.h"
13 
14 #if !UCONFIG_NO_FORMATTING
15 
16 #include "intltest.h"
17 
18 /**
19  * Test basic functionality of various API functions
20  **/
21 class IntlTestDateTimePatternGeneratorAPI : public IntlTest {
22     void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
23 
24 private:
25     /**
26      * Performs tests on many API functions, see detailed comments in source code
27      **/
28     void testAPI(/* char* par */);
29     void testOptions(/* char* par */);
30     void testAllFieldPatterns(/* char* par */);
31     void testStaticGetSkeleton(/* char* par */);
32     void testC();
33     void testSkeletonsWithDayPeriods();
34     void testGetFieldDisplayNames();
35 };
36 
37 #endif /* #if !UCONFIG_NO_FORMATTING */
38 
39 #endif
40