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

Side by Side Diff: mojo/edk/system/multiprocess_message_pipe_unittest.cc

Issue 829853003: Fix some Windows compile issues. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « mojo/edk/system/core_test_base.cc ('k') | 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdint.h> 5 #include <stdint.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); 502 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals);
503 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); 503 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals);
504 504
505 mp->Close(0); 505 mp->Close(0);
506 506
507 EXPECT_EQ(0, helper()->WaitForChildShutdown()); 507 EXPECT_EQ(0, helper()->WaitForChildShutdown());
508 } 508 }
509 509
510 // Not yet implemented (on Windows). 510 // Not yet implemented (on Windows).
511 // Android multi-process tests are not executing the new process. This is flaky. 511 // Android multi-process tests are not executing the new process. This is flaky.
512 #if defined(OS_POSIX) and !defined(OS_ANDROID) 512 #if defined(OS_POSIX) && !defined(OS_ANDROID)
513 INSTANTIATE_TEST_CASE_P(PipeCount, 513 INSTANTIATE_TEST_CASE_P(PipeCount,
514 MultiprocessMessagePipeTestWithPipeCount, 514 MultiprocessMessagePipeTestWithPipeCount,
515 testing::Values(1u, 10u, 25u)); 515 testing::Values(1u, 10u, 25u));
516 #endif 516 #endif
517 517
518 } // namespace 518 } // namespace
519 } // namespace system 519 } // namespace system
520 } // namespace mojo 520 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/core_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698