| Index: mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| diff --git a/mojo/edk/system/multiprocess_message_pipe_unittest.cc b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| index 11bb4053ac625bb08e28a5ee23f79ff14a89ec96..2ba0c3885c57018bc5248dfa2e1fe604dcaab7f7 100644
|
| --- a/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| +++ b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
| @@ -1258,44 +1258,6 @@ TEST_P(MultiprocessMessagePipeTestWithPeerSupport, WriteCloseSendPeer) {
|
| END_CHILD()
|
| }
|
|
|
| -DEFINE_TEST_CLIENT_TEST_WITH_PIPE(BootstrapMessagePipeAsyncClient,
|
| - MultiprocessMessagePipeTest, parent) {
|
| - // Receive one end of a platform channel from the parent.
|
| - MojoHandle channel_handle;
|
| - EXPECT_EQ("hi", ReadMessageWithHandles(parent, &channel_handle, 1));
|
| - ScopedPlatformHandle channel;
|
| - EXPECT_EQ(MOJO_RESULT_OK,
|
| - edk::PassWrappedPlatformHandle(channel_handle, &channel));
|
| - ASSERT_TRUE(channel.is_valid());
|
| -
|
| - // Create a new pipe using our end of the channel.
|
| - ScopedMessagePipeHandle pipe = edk::CreateMessagePipe(std::move(channel));
|
| -
|
| - // Ensure that we can read and write on the new pipe.
|
| - VerifyEcho(pipe.get().value(), "goodbye");
|
| -}
|
| -
|
| -TEST_F(MultiprocessMessagePipeTest, BootstrapMessagePipeAsync) {
|
| - // Tests that new cross-process message pipes can be created synchronously
|
| - // using asynchronous negotiation over an arbitrary platform channel.
|
| - RUN_CHILD_ON_PIPE(BootstrapMessagePipeAsyncClient, child)
|
| - // Pass one end of a platform channel to the child.
|
| - PlatformChannelPair platform_channel;
|
| - MojoHandle client_channel_handle;
|
| - EXPECT_EQ(MOJO_RESULT_OK,
|
| - CreatePlatformHandleWrapper(platform_channel.PassClientHandle(),
|
| - &client_channel_handle));
|
| - WriteMessageWithHandles(child, "hi", &client_channel_handle, 1);
|
| -
|
| - // Create a new pipe using our end of the channel.
|
| - ScopedMessagePipeHandle pipe =
|
| - edk::CreateMessagePipe(platform_channel.PassServerHandle());
|
| -
|
| - // Ensure that we can read and write on the new pipe.
|
| - VerifyEcho(pipe.get().value(), "goodbye");
|
| - END_CHILD()
|
| -}
|
| -
|
| DEFINE_TEST_CLIENT_TEST_WITH_PIPE(MessagePipeStatusChangeInTransitClient,
|
| MultiprocessMessagePipeTest, parent) {
|
| // This test verifies that peer closure is detectable through various
|
|
|