home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / intltest / itconv.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.5 KB  |  39 lines

  1. /*
  2. *****************************************************************************************
  3. *                                                                                       *
  4. * COPYRIGHT:                                                                            *
  5. *   (C) Copyright Taligent, Inc.,  1997                                                 *
  6. *   (C) Copyright International Business Machines Corporation,  1997-1998               *
  7. *   Licensed Material - Program-Property of IBM - All Rights Reserved.                  *
  8. *   US Government Users Restricted Rights - Use, duplication, or disclosure             *
  9. *   restricted by GSA ADP Schedule Contract with IBM Corp.                              *
  10. *                                                                                       *
  11. *****************************************************************************************
  12. */
  13.  
  14. /**
  15.  * IntlTestConvert is the medium level test class for everything in the directory "utility".
  16.  */
  17.  
  18. #include "utypes.h"
  19. #include "itconv.h"
  20. #include "cppcnvt.h"
  21.  
  22. void IntlTestConvert::runIndexedTest( int32_t index, bool_t exec, char* &name, char* par )
  23. {
  24.     if (exec) logln("TestSuite Convert: ");
  25.     switch (index) {
  26.         case 0:
  27.             name = "ConvertTest"; 
  28.             if (exec) {
  29.                 logln("ConvertTest---"); logln("");
  30.                 ConvertTest test;
  31.                 callTest( test, par );
  32.             }
  33.             break;
  34.  
  35.         default: name = ""; break; //needed to end loop
  36.     }
  37. }
  38.  
  39.