chromium/chrome/browser/apps/app_service/publishers/app_publisher_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 "chrome/browser/apps/app_service/publishers/app_publisher.h"

#include <memory>

#include "chrome/browser/apps/app_service/app_service_proxy.h"
#include "chrome/browser/apps/app_service/app_service_proxy_factory.h"
#include "chrome/browser/apps/app_service/app_service_test.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace apps {

namespace {

class TestPublisher : public AppPublisher {};

}  // namespace

class AppPublisherTest : public testing::Test {};

TEST_F(AppPublisherTest, ModifyCapabilityAccess_PublishesToCapabilityCache) {}

// Verifies that ResetCapabilityAccess() removes all apps of the type from
// AppCapabilityAccessCache, but does not modify other app types.
TEST_F(AppPublisherTest, ResetCapabilityAccess_ResetsAppsOfType) {}

}  // namespace apps