home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / intltest / tsmutex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.5 KB  |  48 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. #ifndef _INTLTEST
  15. #include "intltest.h"
  16. #endif
  17.  
  18. #ifndef _MUTEX
  19. #include "mutex.h"
  20. #endif
  21.  
  22. /**
  23.  * Tests Mutex and MutexImplementation functionality using
  24.  * a custom MutexImplementation test class, simulating the behaviour
  25.  * of an actual mutex
  26.  **/
  27. class MutexTest: public IntlTest {
  28. public:
  29.     MutexTest();
  30.     ~MutexTest();
  31.     
  32.     void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
  33.  
  34.     /**
  35.      * test the Mutex functionality and API using subroutine TestLock
  36.      **/
  37.     void TestMutex(void);
  38.     /**
  39.      * subroutine for TestMutex
  40.      **/
  41.     void TestLock(void);
  42.  
  43. private:
  44. };
  45.  
  46.  
  47.  
  48.