chromium/components/services/app_service/public/cpp/app_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 "components/services/app_service/public/cpp/app.h"

#include <memory>
#include <string>
#include <utility>
#include <vector>

#include "base/time/time.h"
#include "components/services/app_service/public/cpp/app_types.h"
#include "components/services/app_service/public/cpp/intent_filter.h"
#include "components/services/app_service/public/cpp/permission.h"
#include "components/services/app_service/public/cpp/run_on_os_login_types.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace apps {

namespace {

constexpr AppType kAppType =;
constexpr char kAppId[] =;

template <typename T>
std::pair<T, T> TestValue();

template <>
std::pair<std::string, std::string> TestValue() {}

template <>
std::pair<bool, bool> TestValue() {}

template <>
std::pair<base::Time, base::Time> TestValue() {}

template <>
std::pair<uint64_t, uint64_t> TestValue() {}

template <>
std::pair<base::Value::Dict, base::Value::Dict> TestValue() {}

bool IsEqual(AppPtr app1, AppPtr app2) {}

template <typename T>
void VerifyOptionalValue(std::optional<T> App::*field) {}

}  // namespace

AppTest;

TEST_F(AppTest, EmptyAppsIsEqual) {}

TEST_F(AppTest, VerifyAppsIsEqualForEmptyOptionalValues) {}

TEST_F(AppTest, VerifyAppsIsEqualForReadiness) {}

TEST_F(AppTest, VerifyAppsIsEqualForName) {}

TEST_F(AppTest, VerifyAppsIsEqualForShortName) {}

TEST_F(AppTest, VerifyAppsIsEqualForPublisherId) {}

TEST_F(AppTest, VerifyAppsIsEqualForDescription) {}

TEST_F(AppTest, VerifyAppsIsEqualForVersion) {}

TEST_F(AppTest, VerifyAppsIsEqualForAdditionalSearchTerms) {}

TEST_F(AppTest, VerifyAppsIsEqualForIconKey) {}

TEST_F(AppTest, VerifyAppsIsEqualForLastLaunchTime) {}

TEST_F(AppTest, VerifyAppsIsEqualForInstallTime) {}

TEST_F(AppTest, VerifyAppsIsEqualForPermissions) {}

TEST_F(AppTest, VerifyAppsIsEqualForInstallReason) {}

TEST_F(AppTest, VerifyAppsIsEqualForInstallSource) {}

TEST_F(AppTest, VerifyAppsIsEqualForPolicyIds) {}

TEST_F(AppTest, VerifyAppsIsEqualForIsPlatformApp) {}

TEST_F(AppTest, VerifyAppsIsEqualForRecommendable) {}

TEST_F(AppTest, VerifyAppsIsEqualForSearchable) {}

TEST_F(AppTest, VerifyAppsIsEqualForShowInLauncher) {}

TEST_F(AppTest, VerifyAppsIsEqualForShowInShelf) {}

TEST_F(AppTest, VerifyAppsIsEqualForShowInSearch) {}

TEST_F(AppTest, VerifyAppsIsEqualForShowInManagement) {}

TEST_F(AppTest, VerifyAppsIsEqualForHandlesIntents) {}

TEST_F(AppTest, VerifyAppsIsEqualForAllowUninstall) {}

TEST_F(AppTest, VerifyAppsIsEqualForHasBadge) {}

TEST_F(AppTest, VerifyAppsIsEqualForPaused) {}

TEST_F(AppTest, VerifyAppsIsEqualForIntentFilters) {}

TEST_F(AppTest, VerifyAppsIsEqualForResizeLocked) {}

TEST_F(AppTest, VerifyAppsIsEqualForWindowMode) {}

TEST_F(AppTest, VerifyAppsIsEqualForRunOnOsLogin) {}

TEST_F(AppTest, VerifyAppsIsEqualForAppSizeInBytes) {}

TEST_F(AppTest, VerifyAppsIsEqualForDataSizeInBytes) {}

TEST_F(AppTest, VerifyAppsIsEqualForSupportedLocales) {}

TEST_F(AppTest, VerifyAppsIsEqualForSelectedLocale) {}

TEST_F(AppTest, VerifyAppsIsEqualForExtra) {}

}  // namespace apps