chromium/storage/browser/test/mock_quota_manager_unittest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "storage/browser/test/mock_quota_manager.h"

#include <memory>
#include <set>

#include "base/containers/flat_set.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/gmock_expected_support.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
#include "storage/browser/quota/quota_client_type.h"
#include "storage/browser/test/mock_special_storage_policy.h"
#include "testing/gtest/include/gtest/gtest.h"

StorageKey;
StorageType;

namespace storage {

namespace {

constexpr StorageType kTemporary =;
constexpr StorageType kSyncable =;

constexpr QuotaClientType kClientFile =;
constexpr QuotaClientType kClientDB =;

bool ContainsBucket(const std::set<BucketLocator>& buckets,
                    const BucketInfo& target_bucket) {}

}  // namespace

class MockQuotaManagerTest : public testing::Test {};

TEST_F(MockQuotaManagerTest, GetOrCreateBucket) {}

TEST_F(MockQuotaManagerTest, GetOrCreateBucketSync) {}

TEST_F(MockQuotaManagerTest, CreateBucketForTesting) {}

TEST_F(MockQuotaManagerTest, GetBucket) {}

TEST_F(MockQuotaManagerTest, BasicBucketManipulation) {}

TEST_F(MockQuotaManagerTest, BucketDeletion) {}

TEST_F(MockQuotaManagerTest, ModifiedBuckets) {}

TEST_F(MockQuotaManagerTest, QuotaAndUsage) {}

}  // namespace storage