| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |