chromium/media/formats/webm/webm_crypto_helpers_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/formats/webm/webm_crypto_helpers.h"

#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

ElementsAre;

namespace {

const uint8_t kKeyId[] =;

}  // namespace

namespace media {

TEST(WebMCryptoHelpersTest, EmptyData) {}

TEST(WebMCryptoHelpersTest, ClearData) {}

TEST(WebMCryptoHelpersTest, EncryptedButNotEnoughBytes) {}

TEST(WebMCryptoHelpersTest, EncryptedNotPartitioned) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedMissingNumPartitionField) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedNotEnoughBytesForOffsets) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedNotEnoughBytesForData) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedNotEnoughBytesForData2) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedDecreasingOffsets) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedEvenNumberOfPartitions) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedOddNumberOfPartitions) {}

TEST(WebMCryptoHelpersTest, EncryptedPartitionedZeroNumberOfPartitions) {}

}  // namespace media