chromium/media/mojo/mojom/video_encode_accelerator_mojom_traits_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 "media/mojo/mojom/video_encode_accelerator_mojom_traits.h"

#include "media/base/video_bitrate_allocation.h"
#include "media/mojo/mojom/video_encode_accelerator.mojom.h"
#include "media/mojo/mojom/video_encoder_info_mojom_traits.h"
#include "media/video/video_encode_accelerator.h"
#include "media/video/video_encoder_info.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

TEST(SVCScalabilityModeTest, RoundTrip) {}

TEST(VideoEncodeAcceleratorSupportedProfile, RoundTrip) {}

TEST(VideoEncoderInfoStructTraitTest, RoundTrip) {}

TEST(VideoBitrateAllocationStructTraitTest, ConstantBitrate_RoundTrip) {}

TEST(VideoBitrateAllocationStructTraitTest,
     VariableBitrate_PeakGreaterThanSum_RoundTrip) {}

TEST(VideoBitrateAllocationStructTraitTest,
     VariableBitrate_PeakEqualsSum_RoundTrip) {}

TEST(VideoBitrateAllocationStructTraitTest,
     VariableBitrate_InvalidTooLowPeak_Fails) {}

TEST(VideoBitrateAllocationStructTraitTest,
     VariableBitrate_InvalidZeroPeak_Fails) {}

TEST(SpatialLayerStructTraitTest, RoundTrip) {}

TEST(VideoEncodeAcceleratorConfigStructTraitTest, RoundTrip) {}

TEST(VideoEncodeAcceleratorConfigStructTraitTest, RoundTripVariableBitrate) {}

TEST(VariableBitrateStructTraitTest, PeakZeroBps_Rejected) {}

TEST(VariableBitrateStructTraitTest, PeakLessThanTarget_Rejected) {}

TEST(BitstreamBufferMetadataTraitTest, RoundTrip) {}
}  // namespace media