#include "third_party/webrtc_overrides/p2p/base/fake_connection_factory.h"
#include <memory>
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/test/task_environment.h"
#include "components/webrtc/thread_wrapper.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/rtc_base/net_test_helpers.h"
#include "third_party/webrtc_overrides/p2p/base/ice_connection.h"
namespace {
SingleThreadTaskEnvironment;
TaskEnvironment;
FakeConnectionFactory;
static const std::string kIpv4Address = …;
static const std::string kIpv6Address = …;
constexpr int kPort = …;
static const std::string kIpv4AddressString = …;
static const std::string kIpv6AddressString = …;
class FakeConnectionFactoryTest : public ::testing::Test { … };
TEST_F(FakeConnectionFactoryTest, CreateConnectionIPv4) { … }
TEST_F(FakeConnectionFactoryTest, CreateConnectionIPv6) { … }
TEST_F(FakeConnectionFactoryTest, ConvertToIceConnectionIPv4) { … }
TEST_F(FakeConnectionFactoryTest, ConvertToIceConnectionIPv6) { … }
}