home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / intltest / dtfmapts.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-22  |  1.3 KB  |  48 lines

  1.  
  2. /*
  3. ********************************************************************
  4. * COPYRIGHT: 
  5. * (C) Copyright Taligent, Inc., 1997
  6. * (C) Copyright International Business Machines Corporation, 1997 - 1998
  7. * Copyright (C) 1999 Alan Liu and others. All rights reserved.
  8. * Licensed Material - Program-Property of IBM - All Rights Reserved. 
  9. * US Government Users Restricted Rights - Use, duplication, or disclosure 
  10. * restricted by GSA ADP Schedule Contract with IBM Corp. 
  11. *
  12. ********************************************************************
  13. */
  14.  
  15. #ifndef _INTLTESTDATEFORMATAPI
  16. #define _INTLTESTDATEFORMATAPI
  17.  
  18.  
  19. #include "utypes.h"
  20. #include "intltest.h"
  21.  
  22.  
  23. /*
  24.  * This is an API test, not a unit test.  It doesn't test very many cases, and doesn't
  25.  * try to test the full functionality.  It just calls each function in the class and
  26.  * verifies that it works on a basic level.
  27.  */
  28. class IntlTestDateFormatAPI: public IntlTest {
  29.     void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );  
  30.  
  31. private:
  32.     /**
  33.      * Tests basic functionality of various generic API methods in DateFormat 
  34.      */
  35.     void testAPI(char *par);
  36.     /**
  37.      * Test that the equals method works correctly.
  38.      */
  39.     void TestEquals();
  40.  
  41.     /**
  42.      * Test that no parse or format methods are hidden.
  43.      */
  44.     void TestNameHiding();
  45. };
  46.  
  47. #endif
  48.