chromium/chrome/browser/accessibility/soda_installer_impl_unittest.cc

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

#include "chrome/browser/accessibility/soda_installer_impl.h"

#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/values.h"
#include "components/live_caption/pref_names.h"
#include "components/prefs/testing_pref_service.h"
#include "components/soda/constants.h"
#include "components/soda/pref_names.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {
const speech::LanguageCode kEnglishLocale =;
const speech::LanguageCode kJapaneseLocale =;
const base::TimeDelta kSodaUninstallTime =;

constexpr char kSodaEnglishLanguageInstallationResult[] =;
}  // namespace

namespace speech {

class MockSodaInstallerImpl : public SodaInstallerImpl {};

class SodaInstallerImplTest : public testing::Test {};

TEST_F(SodaInstallerImplTest, IsSodaInstalled) {}

TEST_F(SodaInstallerImplTest, IsDownloading) {}

TEST_F(SodaInstallerImplTest, IsLanguagePackInstalled) {}

TEST_F(SodaInstallerImplTest, UninstallLanguagePacks) {}

TEST_F(SodaInstallerImplTest, AvailableLanguagesTest) {}

TEST_F(SodaInstallerImplTest, UninstallSodaAfterThirtyDays) {}

// Tests that SODA stays installed if thirty days pass and a feature using SODA
// is enabled.
TEST_F(SodaInstallerImplTest,
       SodaStaysInstalledAfterThirtyDaysIfFeatureEnabled) {}

// Tests that SODA can be reinstalled after previously being uninstalled.
TEST_F(SodaInstallerImplTest, ReinstallSoda) {}

}  // namespace speech