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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1412 WriteMessage(child2, "bye"); | 1412 WriteMessage(child2, "bye"); |
1413 END_CHILD(); | 1413 END_CHILD(); |
1414 | 1414 |
1415 WriteMessage(child1, "bye"); | 1415 WriteMessage(child1, "bye"); |
1416 END_CHILD() | 1416 END_CHILD() |
1417 | 1417 |
1418 // The error messages should match the processes which triggered them. | 1418 // The error messages should match the processes which triggered them. |
1419 EXPECT_NE(std::string::npos, first_process_error.find(kFirstErrorMessage)); | 1419 EXPECT_NE(std::string::npos, first_process_error.find(kFirstErrorMessage)); |
1420 EXPECT_NE(std::string::npos, second_process_error.find(kSecondErrorMessage)); | 1420 EXPECT_NE(std::string::npos, second_process_error.find(kSecondErrorMessage)); |
1421 } | 1421 } |
1422 INSTANTIATE_TEST_CASE_P(, | 1422 INSTANTIATE_TEST_CASE_P( |
1423 MultiprocessMessagePipeTestWithPeerSupport, | 1423 , |
1424 testing::Values(test::MojoTestBase::LaunchType::CHILD, | 1424 MultiprocessMessagePipeTestWithPeerSupport, |
1425 test::MojoTestBase::LaunchType::PEER)); | 1425 testing::Values(test::MojoTestBase::LaunchType::CHILD, |
| 1426 test::MojoTestBase::LaunchType::PEER, |
| 1427 test::MojoTestBase::LaunchType::NAMED_CHILD, |
| 1428 test::MojoTestBase::LaunchType::NAMED_PEER)); |
1426 } // namespace | 1429 } // namespace |
1427 } // namespace edk | 1430 } // namespace edk |
1428 } // namespace mojo | 1431 } // namespace mojo |
OLD | NEW |