[Lldb-commits] [lldb] r218901 - Fix stale comments in new tests.
Todd Fiala
todd.fiala at gmail.com
Thu Oct 2 12:48:30 PDT 2014
Author: tfiala
Date: Thu Oct 2 14:48:30 2014
New Revision: 218901
URL: http://llvm.org/viewvc/llvm-project?rev=218901&view=rev
Log:
Fix stale comments in new tests.
Dang.
Modified:
lldb/trunk/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp
Modified: lldb/trunk/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp?rev=218901&r1=218900&r2=218901&view=diff
==============================================================================
--- lldb/trunk/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp (original)
+++ lldb/trunk/gtest/unittest/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp Thu Oct 2 14:48:30 2014
@@ -210,8 +210,10 @@ TEST_F (ThreadStateCoordinatorTest, Noti
// Let the coordinator know about our thread.
SetupKnownStoppedThread (TRIGGERING_TID);
- // Notify an unknown thread has stopped.
+ // Notify the thread was created - again.
NotifyThreadCreate (TRIGGERING_TID, true);
+
+ // This should error out.
ASSERT_PROCESS_NEXT_EVENT_FAILS ();
}
@@ -220,8 +222,10 @@ TEST_F (ThreadStateCoordinatorTest, Noti
{
const lldb::tid_t UNKNOWN_TID = 678;
- // Notify an unknown thread has stopped.
+ // Notify an unknown thread has died.
NotifyThreadDeath (UNKNOWN_TID);
+
+ // This should error out.
ASSERT_PROCESS_NEXT_EVENT_FAILS ();
}
More information about the lldb-commits
mailing list