chromium/chrome/updater/app/app_server_unittest.cc

// Copyright 2020 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/updater/app/app_server.h"

#include <optional>
#include <string>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/callback.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/scoped_command_line.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/prefs.h"
#include "chrome/updater/test/test_scope.h"
#include "chrome/updater/update_service.h"
#include "chrome/updater/update_service_internal.h"
#include "chrome/updater/updater_scope.h"
#include "chrome/updater/updater_version.h"
#include "chrome/updater/util/util.h"
#include "components/prefs/pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Invoke;
Return;

namespace updater {

namespace {

class AppServerTest : public AppServer {};

void ClearPrefs() {}

class AppServerTestCase : public testing::Test {};

}  // namespace

TEST_F(AppServerTestCase, SelfUninstall) {}

TEST_F(AppServerTestCase, SelfPromote) {}

TEST_F(AppServerTestCase, InstallAutoPromotes) {}

TEST_F(AppServerTestCase, SelfPromoteFails) {}

TEST_F(AppServerTestCase, ActiveDutyAlready) {}

TEST_F(AppServerTestCase, StateDirty) {}

TEST_F(AppServerTestCase, StateDirtySwapFails) {}

}  // namespace updater