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

Side by Side Diff: ipc/mojo/ipc_channel_mojo_unittest.cc

Issue 597003006: Disable IPCChannelMojoErrorTest.SendFailWithPendingMessages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ipc/mojo/ipc_channel_mojo.h" 5 #include "ipc/mojo/ipc_channel_mojo.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(IPCChannelMojoErraticTestClient) { 259 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(IPCChannelMojoErraticTestClient) {
260 ListenerThatQuits listener; 260 ListenerThatQuits listener;
261 ChannelClient client(&listener, "IPCChannelMojoErraticTestClient"); 261 ChannelClient client(&listener, "IPCChannelMojoErraticTestClient");
262 client.Connect(); 262 client.Connect();
263 263
264 base::MessageLoop::current()->Run(); 264 base::MessageLoop::current()->Run();
265 265
266 return 0; 266 return 0;
267 } 267 }
268 268
269 TEST_F(IPCChannelMojoErrorTest, SendFailWithPendingMessages) { 269 // https://crbug.com/417439
270 TEST_F(IPCChannelMojoErrorTest, DISABLED_SendFailWithPendingMessages) {
270 Init("IPCChannelMojoErraticTestClient"); 271 Init("IPCChannelMojoErraticTestClient");
271 272
272 // Set up IPC channel and start client. 273 // Set up IPC channel and start client.
273 ListenerExpectingErrors listener; 274 ListenerExpectingErrors listener;
274 CreateChannel(&listener); 275 CreateChannel(&listener);
275 ASSERT_TRUE(ConnectChannel()); 276 ASSERT_TRUE(ConnectChannel());
276 277
277 // This messages are queued as pending. 278 // This messages are queued as pending.
278 for (size_t i = 0; i < 2; ++i) { 279 for (size_t i = 0; i < 2; ++i) {
279 IPC::TestChannelListener::SendOneMessage( 280 IPC::TestChannelListener::SendOneMessage(
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 client.Connect(); 374 client.Connect();
374 listener.set_sender(client.channel()); 375 listener.set_sender(client.channel());
375 376
376 base::MessageLoop::current()->Run(); 377 base::MessageLoop::current()->Run();
377 378
378 return 0; 379 return 0;
379 } 380 }
380 #endif 381 #endif
381 382
382 } // namespace 383 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698