Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / ppapi / tests / mojo / test_mojo.cc
blob3d1af4683aec9f4cfaa01d83eca27340bcc287b6
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() {
13 return true;
16 void TestMojo::RunTests(const std::string& filter) {
17 RUN_TEST(CreateMessagePipe, filter);
20 std::string TestMojo::TestCreateMessagePipe() {
21 MojoHandle h0;
22 MojoHandle h1;
23 ASSERT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &h0, &h1));
24 PASS();