chromium/third_party/webrtc/test/network/cross_traffic_unittest.cc

/*
 *  Copyright 2019 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#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 =;  // 192.168.0.17

class CountingReceiver : public EmulatedNetworkReceiverInterface {};
struct TrafficCounterFixture {};

}  // namespace

TEST(CrossTrafficTest, TriggerPacketBurst) {}

TEST(CrossTrafficTest, PulsedPeaksCrossTraffic) {}

TEST(CrossTrafficTest, RandomWalkCrossTraffic) {}

TEST(TcpMessageRouteTest, DeliveredOnLossyNetwork) {}

}  // namespace test
}  // namespace webrtc