#include "test/network/cross_traffic.h"
#include <atomic>
#include <memory>
#include <utility>
#include <vector>
#include "absl/memory/memory.h"
#include "absl/types/optional.h"
#include "api/test/network_emulation_manager.h"
#include "api/test/simulated_network.h"
#include "api/units/data_rate.h"
#include "rtc_base/event.h"
#include "rtc_base/logging.h"
#include "rtc_base/network_constants.h"
#include "test/gmock.h"
#include "test/gtest.h"
#include "test/network/network_emulation_manager.h"
#include "test/network/simulated_network.h"
#include "test/network/traffic_route.h"
#include "test/time_controller/simulated_time_controller.h"
namespace webrtc {
namespace test {
namespace {
constexpr uint32_t kTestIpAddress = …;
class CountingReceiver : public EmulatedNetworkReceiverInterface { … };
struct TrafficCounterFixture { … };
}
TEST(CrossTrafficTest, TriggerPacketBurst) { … }
TEST(CrossTrafficTest, PulsedPeaksCrossTraffic) { … }
TEST(CrossTrafficTest, RandomWalkCrossTraffic) { … }
TEST(TcpMessageRouteTest, DeliveredOnLossyNetwork) { … }
}
}