]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/dtfmapts.h
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / test / intltest / dtfmapts.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
729e4ab9 3 * Copyright (c) 1997-2009, International Business Machines Corporation and
b75a7d8f
A
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7#ifndef _INTLTESTDATEFORMATAPI
8#define _INTLTESTDATEFORMATAPI
9
10#include "unicode/utypes.h"
11
12#if !UCONFIG_NO_FORMATTING
13
14#include "intltest.h"
15
16
17/*
18 * This is an API test, not a unit test. It doesn't test very many cases, and doesn't
19 * try to test the full functionality. It just calls each function in the class and
20 * verifies that it works on a basic level.
21 */
22class IntlTestDateFormatAPI: public IntlTest {
23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
24
25private:
26 /**
27 * Tests basic functionality of various generic API methods in DateFormat
28 */
29 void testAPI(/* char* par */);
30 /**
31 * Test that the equals method works correctly.
32 */
33 void TestEquals(void);
34
35 /**
36 * Test that no parse or format methods are hidden.
37 */
38 void TestNameHiding(void);
729e4ab9
A
39
40 /**
41 * Add better code coverage.
42 */
43 void TestCoverage(void);
b75a7d8f
A
44};
45
46#endif /* #if !UCONFIG_NO_FORMATTING */
47
48#endif