chromium/third_party/openscreen/src/cast/streaming/impl/frame_collector_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cast/streaming/impl/frame_collector.h"

#include <stdint.h>

#include <algorithm>
#include <vector>

#include "cast/streaming/public/encoded_frame.h"
#include "cast/streaming/public/frame_id.h"
#include "cast/streaming/impl/rtcp_common.h"
#include "cast/streaming/rtp_time.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

ElementsAreArray;

namespace openscreen::cast {
namespace {

const FrameId kSomeFrameId =;
constexpr RtpTimeTicks kSomeRtpTimestamp =;

// Convenience macro to check that the |collector| generates an expected set of
// NACKs.
#define EXPECT_HAS_NACKS(expected_nacks, collector)

TEST(FrameCollectorTest, CollectsFrameWithOnlyOnePart) {}

TEST(FrameCollectorTest, CollectsFrameWithMultiplePartsArrivingOutOfOrder) {}

TEST(FrameCollectorTest, RejectsInvalidParts) {}

}  // namespace
}  // namespace openscreen::cast