chromium/components/supervised_user/core/browser/api_access_token_fetcher_unittest.cc

// Copyright 2022 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/supervised_user/core/browser/api_access_token_fetcher.h"

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/types/expected.h"
#include "components/signin/public/base/consent_level.h"
#include "components/signin/public/identity_manager/access_token_fetcher.h"
#include "components/signin/public/identity_manager/access_token_info.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/supervised_user/core/browser/fetcher_config.h"
#include "google_apis/gaia/google_service_auth_error.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace supervised_user {
namespace {

BindOnce;
expected;
OnceCallback;
Time;
unexpected;
Unretained;
TaskEnvironment;
AccessTokenFetcher;
AccessTokenInfo;
ConsentLevel;
IdentityTestEnvironment;

class ApiAccessTokenFetcherTest
    : public ::testing::TestWithParam<AccessTokenConfig> {};

TEST_P(ApiAccessTokenFetcherTest, ReadToken) {}

TEST_P(ApiAccessTokenFetcherTest, AuthError) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace
}  // namespace supervised_user