diff --git a/icu4c/source/test/intltest/intltest.vcproj b/icu4c/source/test/intltest/intltest.vcproj index 6ce6459f8f..a0d17be827 100644 --- a/icu4c/source/test/intltest/intltest.vcproj +++ b/icu4c/source/test/intltest/intltest.vcproj @@ -318,12 +318,6 @@ - - - - diff --git a/icu4c/source/test/intltest/tsmutex.cpp b/icu4c/source/test/intltest/tsmutex.cpp deleted file mode 100644 index 1bf89dca5e..0000000000 --- a/icu4c/source/test/intltest/tsmutex.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************** - * COPYRIGHT: - * Copyright (c) 1997-2001, International Business Machines Corporation and - * others. All Rights Reserved. - ********************************************************************/ - -#include "tsmutex.h" -#include -#include - -#ifdef U_SOLARIS -#include -#endif - -////////////////////////// -// -// Simple Mutex structure -// Increments lockCount each time the mutex is locked. -// Decrements lockCount each time the mutex is unlocked. -//Note: This test does not actually create locks, since -//that would be platform specific. This test simply tests -//the functionality of the Mutex class. -// -////////////////////////// -#if 0 -struct MyMutexImp { - MyMutexImp(); - uint32_t lockCount; -}; - -MyMutexImp::MyMutexImp() { - lockCount = 0; -} - -static void _myLock(MutexPointer p) { - MyMutexImp* imp = (MyMutexImp*)p; - (imp->lockCount)++; -} - -static void _myUnlock(MutexPointer p) { - MyMutexImp* imp = (MyMutexImp*)p; - (imp->lockCount)--; -} -#endif - - - diff --git a/icu4c/source/test/intltest/tsmutex.h b/icu4c/source/test/intltest/tsmutex.h deleted file mode 100644 index 8d7397f36e..0000000000 --- a/icu4c/source/test/intltest/tsmutex.h +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************** - * COPYRIGHT: - * Copyright (c) 1997-2001, International Business Machines Corporation and - * others. All Rights Reserved. - ********************************************************************/ - - -#ifndef MUTEXTEST_H -#define MUTEXTEST_H - -#include "intltest.h" -#include "mutex.h" - -/** - * Tests Mutex and MutexImplementation functionality using - * a custom MutexImplementation test class, simulating the behaviour - * of an actual mutex - **/ -class MutexTest: public IntlTest { -public: - MutexTest(); - virtual ~MutexTest(); - - void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); - - /** - * test the Mutex functionality and API using subroutine TestLock - **/ - void TestMutex(void); - /** - * subroutine for TestMutex - **/ - void TestLock(void); - - /* Was the global mutex initialized. */ - static UBool gMutexInitialized; - -private: -}; - -#endif -