]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/dtfmapts.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2009, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
9 #ifndef _INTLTESTDATEFORMATAPI
10 #define _INTLTESTDATEFORMATAPI
12 #include "unicode/utypes.h"
14 #if !UCONFIG_NO_FORMATTING
20 * This is an API test, not a unit test. It doesn't test very many cases, and doesn't
21 * try to test the full functionality. It just calls each function in the class and
22 * verifies that it works on a basic level.
24 class IntlTestDateFormatAPI
: public IntlTest
{
25 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
29 * Tests basic functionality of various generic API methods in DateFormat
31 void testAPI(/* char* par */);
33 * Test that the equals method works correctly.
35 void TestEquals(void);
38 * Test that no parse or format methods are hidden.
40 void TestNameHiding(void);
43 * Add better code coverage.
45 void TestCoverage(void);
48 #endif /* #if !UCONFIG_NO_FORMATTING */