| Index: mojo/public/utility/run_loop_unittest.cc
|
| diff --git a/mojo/public/utility/run_loop_unittest.cc b/mojo/public/utility/run_loop_unittest.cc
|
| index 0c0762d46588352a8b64189d0b90b3bdf6dc3c33..2ca8c3ee83abde1f19a9f487466ebafa67567442 100644
|
| --- a/mojo/public/utility/run_loop_unittest.cc
|
| +++ b/mojo/public/utility/run_loop_unittest.cc
|
| @@ -105,6 +105,7 @@ TEST_F(RunLoopTest, HandleReady) {
|
| run_loop.Run();
|
| EXPECT_EQ(1, handler.ready_count());
|
| EXPECT_EQ(0, handler.error_count());
|
| + EXPECT_FALSE(run_loop.HasHandler(test_pipe.handle0.get()));
|
| }
|
|
|
| class QuitOnReadyRunLoopHandler : public TestRunLoopHandler {
|
| @@ -140,6 +141,7 @@ TEST_F(RunLoopTest, QuitFromReady) {
|
| run_loop.Run();
|
| EXPECT_EQ(1, handler.ready_count());
|
| EXPECT_EQ(0, handler.error_count());
|
| + EXPECT_TRUE(run_loop.HasHandler(test_pipe.handle0.get()));
|
| }
|
|
|
| class QuitOnErrorRunLoopHandler : public TestRunLoopHandler {
|
| @@ -175,6 +177,7 @@ TEST_F(RunLoopTest, QuitWhenDeadlineExpired) {
|
| EXPECT_EQ(0, handler.ready_count());
|
| EXPECT_EQ(1, handler.error_count());
|
| EXPECT_EQ(MOJO_RESULT_DEADLINE_EXCEEDED, handler.last_error_result());
|
| + EXPECT_FALSE(run_loop.HasHandler(test_pipe.handle0.get()));
|
| }
|
|
|
| TEST_F(RunLoopTest, Current) {
|
|
|