chromium/third_party/ipcz/src/reference_drivers/sync_reference_driver_test.cc

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

#include "reference_drivers/sync_reference_driver.h"

#include <cstddef>
#include <functional>
#include <string>
#include <vector>

#include "ipcz/api_object.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ipcz::reference_drivers {
namespace {

struct TransportMessage {};

MessageHandler;
DeactivateHandler;
ErrorHandler;

struct TransportHandlers {};

// This is used by tests to conveniently handle driver transport notifications
// with lambdas.
class TransportReceiver
    : public APIObjectImpl<TransportReceiver, APIObject::kTransportListener> {};

TEST(SyncReferenceDriverTest, CreateTransports) {}

TEST(SyncReferenceDriverTest, TransmitBeforeActive) {}

TEST(SyncReferenceDriverTest, TransmitWhileActive) {}

TEST(SyncReferenceDriverTest, Deactivate) {}

TEST(SyncReferenceDriverTest, TransmitAfterDeactivated) {}

TEST(SyncReferenceDriverTest, NotifyError) {}

TEST(SyncReferenceDriverTest, SharedMemory) {}

TEST(SyncReferenceDriverTest, TransmitHandles) {}

}  // namespace
}  // namespace ipcz::reference_drivers