#include "ipcz/node_connector.h"
#include <functional>
#include <utility>
#include "ipcz/driver_transport.h"
#include "ipcz/node.h"
#include "ipcz/node_link.h"
#include "ipcz/node_messages.h"
#include "ipcz/router.h"
#include "reference_drivers/sync_reference_driver.h"
#include "test/test.h"
#include "test/test_transport_listener.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "util/ref_counted.h"
namespace ipcz {
namespace {
const IpczDriver& kDriver = …;
class NodeConnectorTest : public test::Test { … };
TEST_F(NodeConnectorTest, ConnectBrokerToNonBroker) { … }
TEST_F(NodeConnectorTest, ConnectNonBrokerToBroker) { … }
TEST_F(NodeConnectorTest, BrokerRejectInvalidMessage) { … }
TEST_F(NodeConnectorTest, NonBrokerRejectInvalidMessage) { … }
TEST_F(NodeConnectorTest, EndToEndSuccess_BrokerFirst) { … }
TEST_F(NodeConnectorTest, EndToEndSuccess_NonBrokerFirst) { … }
TEST_F(NodeConnectorTest, MultipleInitialPortals) { … }
}
}