Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1259)

Unified Diff: mojo/system/remote_message_pipe_unittest.cc

Issue 231483002: Mojo: Log an error on the remote message pipe leak condition.[1] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/system/channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/remote_message_pipe_unittest.cc
diff --git a/mojo/system/remote_message_pipe_unittest.cc b/mojo/system/remote_message_pipe_unittest.cc
index e3bff2b0549b7711e5213a8bd981f49adac74879..45d757a39b65cdd72290bf4800f71d2b5110df50 100644
--- a/mojo/system/remote_message_pipe_unittest.cc
+++ b/mojo/system/remote_message_pipe_unittest.cc
@@ -366,6 +366,11 @@ TEST_F(RemoteMessagePipeTest, Multiplex) {
MOJO_READ_MESSAGE_FLAG_NONE));
EXPECT_EQ(sizeof(world), static_cast<size_t>(buffer_size));
EXPECT_STREQ(world, buffer);
+
+ mp0->Close(0);
+ mp1->Close(1);
+ mp2->Close(0);
+ mp3->Close(1);
}
TEST_F(RemoteMessagePipeTest, CloseBeforeConnect) {
« no previous file with comments | « mojo/system/channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698