1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ppapi/tests/mojo/test_mojo.h"
7 #include "third_party/mojo/src/mojo/public/cpp/system/message_pipe.h"
9 REGISTER_TEST_CASE(Mojo
);
11 TestMojo::TestMojo(TestingInstance
* instance
) : TestCase(instance
) { }
12 bool TestMojo::Init() {
16 void TestMojo::RunTests(const std::string
& filter
) {
17 RUN_TEST(CreateMessagePipe
, filter
);
20 std::string
TestMojo::TestCreateMessagePipe() {
23 ASSERT_EQ(MOJO_RESULT_OK
, MojoCreateMessagePipe(NULL
, &h0
, &h1
));