1 /******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 2008, International Business Machines Corporation and 4 * others. All Rights Reserved. 5 ********************************************************************/ 6 7 #ifndef __INTLTESTTIMEUNITTEST__ 8 #define __INTLTESTTIMEUNITTEST__ 9 10 11 #if !UCONFIG_NO_FORMATTING 12 13 #include "unicode/utypes.h" 14 #include "unicode/locid.h" 15 #include "intltest.h" 16 17 /** 18 * Test basic functionality of various API functions 19 **/ 20 class TimeUnitTest: public IntlTest { 21 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 22 23 public: 24 /** 25 * Performs basic tests 26 **/ 27 void testBasic(); 28 29 /** 30 * Performs API tests 31 **/ 32 void testAPI(); 33 }; 34 35 #endif /* #if !UCONFIG_NO_FORMATTING */ 36 37 #endif 38