chromium/media/audio/simple_sources_unittest.cc

// Copyright 2012 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/audio/simple_sources.h"

#include <stddef.h>
#include <stdint.h>

#include <limits>
#include <memory>

#include "base/containers/span.h"
#include "base/files/file_util.h"
#include "base/time/time.h"
#include "media/audio/audio_io.h"
#include "media/audio/test_data.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_parameters.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

// Validate that the SineWaveAudioSource writes the expected values.
TEST(SimpleSources, SineWaveAudioSource) {}

TEST(SimpleSources, SineWaveAudioCapped) {}

TEST(SimpleSources, OnError) {}

void VerifyContainsTestFile(const AudioBus* audio_bus) {}

TEST(SimpleSources, FileSourceTestDataWithoutLooping) {}

TEST(SimpleSources, FileSourceTestDataWithLooping) {}

TEST(SimpleSources, BadFilePathFails) {}

TEST(SimpleSources, FileSourceCorruptTestDataFails) {}

}  // namespace media