chromium/chrome/browser/component_updater/translate_kit_component_installer_unittest.cc

// Copyright 2024 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/component_updater/translate_kit_component_installer.h"

#include <memory>
#include <utility>

#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/callback.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/version.h"
#include "chrome/services/on_device_translation/public/cpp/features.h"
#include "components/component_updater/mock_component_updater_service.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace component_updater {
namespace {

_;

constexpr char kFakeTranslateKitVersion[] =;

}  // namespace

class TranslateKitComponentMockComponentUpdateService
    : public component_updater::MockComponentUpdateService {};

class TranslateKitComponentInstallerTestBase : public ::testing::Test {};

RegisterTranslateKitComponentTest;

TEST_F(RegisterTranslateKitComponentTest, ComponentDisabled) {}

TEST_F(RegisterTranslateKitComponentTest, ComponentRegistration) {}

class TranslateKitComponentInstallerTest
    : public TranslateKitComponentInstallerTestBase {};

TEST_F(TranslateKitComponentInstallerTest, VerifyInstallationDefaultEmpty) {}

}  // namespace component_updater