| Index: mojo/edk/system/message_pipe_unittest.cc
|
| diff --git a/third_party/mojo/src/mojo/edk/system/message_pipe_unittest.cc b/mojo/edk/system/message_pipe_unittest.cc
|
| similarity index 97%
|
| copy from third_party/mojo/src/mojo/edk/system/message_pipe_unittest.cc
|
| copy to mojo/edk/system/message_pipe_unittest.cc
|
| index 52ace8046b458aa944384ec2fb19822cc1db6397..0866c82629e18e4fc56fe5a2556cae863ccdffbd 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/message_pipe_unittest.cc
|
| +++ b/mojo/edk/system/message_pipe_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "mojo/edk/system/message_pipe.h"
|
| +//#include "mojo/edk/system/message_pipe.h"
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "mojo/edk/system/waiter.h"
|
| @@ -13,6 +13,17 @@ namespace mojo {
|
| namespace system {
|
| namespace {
|
|
|
| +static const char kHelloWorld[] = "hello world";
|
| +/* jam embedder_unittest has similar.. look at Basic
|
| +TEST(MessagePipeTest, WriteData) {
|
| + MojoHandle pipe1, pipe2;
|
| + ASSERT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe1, &pipe2));
|
| + ASSERT_EQ(MOJO_RESULT_OK,
|
| + MojoWriteMessage(pipe1, kHelloWorld, sizeof(kHelloWorld), nullptr,
|
| + 0, MOJO_WRITE_MESSAGE_FLAG_NONE));
|
| +}
|
| +*/
|
| +/*
|
| const MojoHandleSignals kAllSignals = MOJO_HANDLE_SIGNAL_READABLE |
|
| MOJO_HANDLE_SIGNAL_WRITABLE |
|
| MOJO_HANDLE_SIGNAL_PEER_CLOSED;
|
| @@ -566,7 +577,7 @@ TEST(MessagePipeTest, ThreadedWaiting) {
|
| EXPECT_EQ(MOJO_RESULT_FAILED_PRECONDITION, result);
|
| EXPECT_EQ(4u, context);
|
| }
|
| -
|
| +*/
|
| } // namespace
|
| } // namespace system
|
| } // namespace mojo
|
|
|