chromium/services/audio/test/debug_recording_session_unittest.cc

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

#include "services/audio/public/cpp/debug_recording_session.h"

#include <limits>
#include <memory>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/gtest_util.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "media/audio/audio_debug_recording_test.h"
#include "media/audio/mock_audio_debug_recording_manager.h"
#include "media/audio/mock_audio_manager.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/audio/service.h"
#include "services/audio/service_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace audio {

namespace {

#if BUILDFLAG(IS_WIN)
#define NumberToStringType
#else
#define NumberToStringType
#endif

const base::FilePath::CharType kBaseFileName[] =);
const base::FilePath::CharType kWavExtension[] =);
const base::FilePath::CharType kInput[] =);
const base::FilePath::CharType kOutput[] =);

}  // namespace

class DebugRecordingFileProviderTest : public testing::Test {};

class DebugRecordingSessionTest : public media::AudioDebugRecordingTest {};

TEST_F(DebugRecordingFileProviderTest, CreateFileForInputStream) {}

TEST_F(DebugRecordingFileProviderTest, CreateFileForOutputStream) {}

TEST_F(DebugRecordingFileProviderTest, CreateFilesForVariousIds) {}

TEST_F(DebugRecordingFileProviderTest,
       CreateFileWithInvalidStreamTypeDoesNotCreateFile) {}

TEST_F(DebugRecordingSessionTest,
       CreateDestroySessionEnablesDisablesDebugRecording) {}

TEST_F(DebugRecordingSessionTest,
       CreateTwoSessionsFirstSessionDestroyedOnSecondSessionCreation) {}

}  // namespace audio