Index: test/cctest/test-lock.cc |
diff --git a/test/cctest/test-lock.cc b/test/cctest/test-lock.cc |
index d4387d0f906787ebf12195ad1a789448cfde5b3a..0603e44921287ab790340cc1e95cb293bf5f22a1 100644 |
--- a/test/cctest/test-lock.cc |
+++ b/test/cctest/test-lock.cc |
@@ -38,33 +38,6 @@ |
using namespace ::v8::internal; |
-// Simple test of locking logic |
-TEST(Simple) { |
- Mutex* mutex = OS::CreateMutex(); |
- CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token |
- CHECK_EQ(0, mutex->Unlock()); // can unlock with the right token |
- delete mutex; |
-} |
- |
- |
-TEST(MultiLock) { |
- Mutex* mutex = OS::CreateMutex(); |
- CHECK_EQ(0, mutex->Lock()); |
- CHECK_EQ(0, mutex->Unlock()); |
- delete mutex; |
-} |
- |
- |
-TEST(ShallowLock) { |
- Mutex* mutex = OS::CreateMutex(); |
- CHECK_EQ(0, mutex->Lock()); |
- CHECK_EQ(0, mutex->Unlock()); |
- CHECK_EQ(0, mutex->Lock()); |
- CHECK_EQ(0, mutex->Unlock()); |
- delete mutex; |
-} |
- |
- |
TEST(SemaphoreTimeout) { |
bool ok; |
Semaphore* sem = OS::CreateSemaphore(0); |