chromium/third_party/ipcz/src/merge_portals_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 <chrono>
#include <string>
#include <string_view>
#include <thread>

#include "ipcz/ipcz.h"
#include "test/multinode_test.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ipcz {
namespace {

MergePortalsTestNode;
MergePortalsTest;

constexpr std::string_view kMessage1 =;
constexpr std::string_view kMessage2 =;

MULTINODE_TEST_NODE(MergePortalsTestNode, MergeWithInitialPortalClient) {}

MULTINODE_TEST(MergePortalsTest, MergeWithInitialPortal) {}

MULTINODE_TEST(MergePortalsTest, MergeWithClosedLocalPeer) {}

MULTINODE_TEST_NODE(MergePortalsTestNode, MergeWithClosedRemotePeerClient) {}

MULTINODE_TEST(MergePortalsTest, MergeWithClosedRemotePeer) {}

constexpr size_t kMergeComplexRoutesNumIterations =;

MULTINODE_TEST_NODE(MergePortalsTestNode, MergeComplexRoutesClient) {}

MULTINODE_TEST(MergePortalsTest, MergeComplexRoutes) {}

MULTINODE_TEST_NODE(MergePortalsTestNode, RaceWithDisconnectClient) {}

MULTINODE_TEST(MergePortalsTest, RaceWithDisconnect) {}

}  // namespace
}  // namespace ipcz