chromium/mojo/public/cpp/system/tests/scope_to_message_pipe_unittest.cc

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

#include "mojo/public/cpp/system/scope_to_message_pipe.h"

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "mojo/public/cpp/system/simple_watcher.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace mojo {
namespace {

class RunCallbackOnDestruction {};

class ScopeToMessagePipeTest : public testing::Test {};

TEST_F(ScopeToMessagePipeTest, ObjectDestroyedOnPeerClosure) {}

TEST_F(ScopeToMessagePipeTest, PipeClosedOnPeerClosure) {}

}  // namespace
}  // namespace mojo