chromium/components/sync/engine/cycle/commit_quota_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/sync/engine/cycle/commit_quota.h"

#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {
namespace {

class CommitQuotaTest : public ::testing::Test {};

TEST_F(CommitQuotaTest, NoTokensAvailableWhenDepleted) {}

TEST_F(CommitQuotaTest, TokensRefill) {}

TEST_F(CommitQuotaTest, TokensCannotGetBelowZero) {}

TEST_F(CommitQuotaTest, RefillPostponedWhenConsumingAtZero) {}

TEST_F(CommitQuotaTest, TokensRefillUpToInitialTokens) {}

TEST_F(CommitQuotaTest, TokensStayAtInitialTokens) {}

}  // namespace
}  // namespace syncer