#include <cstring>
#include <memory>
#include <string_view>
#include "ipcz/ipcz.h"
#include "test/multinode_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "third_party/abseil-cpp/absl/types/span.h"
#include "util/ref_counted.h"
namespace ipcz {
namespace {
BoxTestNode;
BoxTest;
MULTINODE_TEST(BoxTest, BoxAndUnbox) { … }
MULTINODE_TEST(BoxTest, CloseBox) { … }
MULTINODE_TEST(BoxTest, Peek) { … }
constexpr const char kMessage1[] = …;
constexpr const char kMessage2[] = …;
constexpr const char kMessage3[] = …;
MULTINODE_TEST_NODE(BoxTestNode, TransferBoxClient) { … }
MULTINODE_TEST(BoxTest, TransferBox) { … }
MULTINODE_TEST_NODE(BoxTestNode, TransferBoxAndPortalClient) { … }
MULTINODE_TEST(BoxTest, TransferBoxAndPortal) { … }
constexpr size_t TransferBoxBetweenNonBrokersNumIterations = …;
MULTINODE_TEST_NODE(BoxTestNode, TransferBoxBetweenNonBrokersClient1) { … }
MULTINODE_TEST_NODE(BoxTestNode, TransferBoxBetweenNonBrokersClient2) { … }
MULTINODE_TEST(BoxTest, TransferBoxBetweenNonBrokers) { … }
class NamedPortal { … };
constexpr std::string_view kPortalName = …;
MULTINODE_TEST_NODE(BoxTestNode, SerializedApplicationObjectClient) { … }
MULTINODE_TEST(BoxTest, SerializedApplicationObject) { … }
MULTINODE_TEST(BoxTest, UnserializedApplicationObject) { … }
}
}