]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/dtfmapts.h
1 /********************************************************************
3 * Copyright (c) 1997-2009, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #ifndef _INTLTESTDATEFORMATAPI
8 #define _INTLTESTDATEFORMATAPI
10 #include "unicode/utypes.h"
12 #if !UCONFIG_NO_FORMATTING
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.
22 class IntlTestDateFormatAPI
: public IntlTest
{
23 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
27 * Tests basic functionality of various generic API methods in DateFormat
29 void testAPI(/* char* par */);
31 * Test that the equals method works correctly.
33 void TestEquals(void);
36 * Test that no parse or format methods are hidden.
38 void TestNameHiding(void);
41 * Add better code coverage.
43 void TestCoverage(void);
46 #endif /* #if !UCONFIG_NO_FORMATTING */