diff options
Diffstat (limited to 'pw_sync/mutex_facade_test.cc')
-rw-r--r-- | pw_sync/mutex_facade_test.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pw_sync/mutex_facade_test.cc b/pw_sync/mutex_facade_test.cc index 771b0032a..4c7cdd03a 100644 --- a/pw_sync/mutex_facade_test.cc +++ b/pw_sync/mutex_facade_test.cc @@ -29,12 +29,12 @@ void pw_sync_Mutex_CallUnlock(pw_sync_Mutex* mutex); } // extern "C" -// TODO(pwbug/291): Add real concurrency tests once we have pw::thread. +// TODO(b/235284163): Add real concurrency tests once we have pw::thread. TEST(Mutex, LockUnlock) { pw::sync::Mutex mutex; mutex.lock(); - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(mutex.try_lock()); mutex.unlock(); } @@ -42,7 +42,7 @@ TEST(Mutex, LockUnlock) { Mutex static_mutex; TEST(Mutex, LockUnlockStatic) { static_mutex.lock(); - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(static_mutex.try_lock()); static_mutex.unlock(); } @@ -52,7 +52,7 @@ TEST(Mutex, TryLockUnlock) { const bool locked = mutex.try_lock(); EXPECT_TRUE(locked); if (locked) { - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(mutex.try_lock()); mutex.unlock(); } @@ -61,7 +61,7 @@ TEST(Mutex, TryLockUnlock) { TEST(VirtualMutex, LockUnlock) { pw::sync::VirtualMutex mutex; mutex.lock(); - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(mutex.try_lock()); mutex.unlock(); } @@ -69,7 +69,7 @@ TEST(VirtualMutex, LockUnlock) { VirtualMutex static_virtual_mutex; TEST(VirtualMutex, LockUnlockStatic) { static_virtual_mutex.lock(); - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(static_virtual_mutex.try_lock()); static_virtual_mutex.unlock(); } @@ -83,7 +83,7 @@ TEST(Mutex, LockUnlockInC) { TEST(Mutex, TryLockUnlockInC) { pw::sync::Mutex mutex; ASSERT_TRUE(pw_sync_Mutex_CallTryLock(&mutex)); - // TODO(pwbug/291): Ensure it fails to lock when already held. + // TODO(b/235284163): Ensure it fails to lock when already held. // EXPECT_FALSE(pw_sync_Mutex_CallTryLock(&mutex)); pw_sync_Mutex_CallUnlock(&mutex); } |