#include "components/services/app_service/public/cpp/app_update.h"
#include "base/time/time.h"
#include "components/services/app_service/public/cpp/icon_effects.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/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace apps {
namespace {
const AppType app_type = …;
const char app_id[] = …;
const char test_name_0[] = …;
const char test_name_1[] = …;
PermissionPtr MakePermission(PermissionType permission_type,
TriState tri_state,
bool is_managed) { … }
PermissionPtr MakePermission(PermissionType permission_type,
bool bool_value,
bool is_managed) { … }
}
class AppUpdateTest : public testing::Test { … };
TEST_F(AppUpdateTest, StateIsNonNull) { … }
TEST_F(AppUpdateTest, DeltaIsNonNull) { … }
TEST_F(AppUpdateTest, BothAreNonNull) { … }
TEST_F(AppUpdateTest, VerifyIconKeyWithResourceId) { … }
TEST_F(AppUpdateTest, VerifyIconKeyWithoutResourceId) { … }
TEST_F(AppUpdateTest, VerifyIconKeyWithEffectChange) { … }
TEST_F(AppUpdateTest, VerifyMergeIconKeyDeltaWithResourceId) { … }
TEST_F(AppUpdateTest, VerifyMergeIconKeyDeltaWithoutResourceId) { … }
TEST_F(AppUpdateTest, VerifyMergeIconKeyDeltaWithEffectChange) { … }
}