chromium/chrome/browser/web_applications/os_integration/shortcut_sub_manager_unittest.cc

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

#include <map>
#include <memory>
#include <utility>

#include "base/files/file_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_future.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/os_integration/os_integration_manager.h"
#include "chrome/browser/web_applications/proto/web_app_os_integration_state.pb.h"
#include "chrome/browser/web_applications/test/fake_web_app_provider.h"
#include "chrome/browser/web_applications/test/os_integration_test_override_impl.h"
#include "chrome/browser/web_applications/test/web_app_install_test_utils.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/test/web_app_test_utils.h"
#include "chrome/browser/web_applications/web_app_command_scheduler.h"
#include "chrome/browser/web_applications/web_app_icon_generator.h"
#include "chrome/browser/web_applications/web_app_install_finalizer.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_install_params.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/common/chrome_features.h"
#include "components/sync/base/time.h"
#include "components/webapps/browser/install_result_code.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "url/gurl.h"

namespace web_app {

Eq;
IsFalse;

namespace {

class ShortcutSubManagerTestBase : public WebAppTest {};

ShortcutSubManagerConfigureTest;

TEST_F(ShortcutSubManagerConfigureTest, ConfigureAppInstall) {}

TEST_F(ShortcutSubManagerConfigureTest, ConfigureAppUninstall) {}

class ShortcutSubManagerExecuteTest : public ShortcutSubManagerTestBase {};

TEST_F(ShortcutSubManagerExecuteTest, InstallAppVerifyCorrectShortcuts) {}

TEST_F(ShortcutSubManagerExecuteTest, UpdateAppVerifyCorrectShortcuts) {}

TEST_F(ShortcutSubManagerExecuteTest,
       TwoConsecutiveInstallsUpdateShortcutLocations) {}

TEST_F(ShortcutSubManagerExecuteTest, UninstallAppRemovesShortcuts) {}

TEST_F(ShortcutSubManagerExecuteTest, ForceUnregisterAppInRegistry) {}

TEST_F(ShortcutSubManagerExecuteTest, ForceUnregisterAppNotInRegistry) {}

}  // namespace

}  // namespace web_app