chromium/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <memory>
#include <utility>

#include "base/containers/queue.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/threading/platform_thread.h"
#include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/associated_remote.h"
#include "mojo/public/cpp/bindings/pending_associated_receiver.h"
#include "mojo/public/cpp/bindings/pending_associated_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/interfaces/bindings/tests/test_associated_interfaces.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace mojo {
namespace test {
namespace {

class TestTaskRunner : public base::SequencedTaskRunner {};

template <typename ReceiverType, typename PendingReceiverType>
class IntegerSenderImpl : public IntegerSender {};

class IntegerSenderConnectionImpl : public IntegerSenderConnection {};

class BindTaskRunnerTest : public testing::Test {};

class AssociatedBindTaskRunnerTest : public testing::Test {};

TEST_F(BindTaskRunnerTest, MethodCall) {}

TEST_F(BindTaskRunnerTest, ReceiverDisconnectHandler) {}

TEST_F(BindTaskRunnerTest, RemoteDisconnectHandler) {}

TEST_F(AssociatedBindTaskRunnerTest, MethodCall) {}

TEST_F(AssociatedBindTaskRunnerTest, ReceiverDisconnectHandler) {}

TEST_F(AssociatedBindTaskRunnerTest, RemoteDisconnectHandler) {}

}  // namespace
}  // namespace test
}  // namespace mojo