chromium/net/base/backoff_entry_unittest.cc

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

#include "net/base/backoff_entry.h"

#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

TimeTicks;

BackoffEntry::Policy base_policy =;

class TestTickClock : public base::TickClock {};

TEST(BackoffEntryTest, BaseTest) {}

TEST(BackoffEntryTest, CanDiscardNeverExpires) {}

TEST(BackoffEntryTest, CanDiscard) {}

TEST(BackoffEntryTest, CanDiscardAlwaysDelay) {}

TEST(BackoffEntryTest, CanDiscardNotStored) {}

TEST(BackoffEntryTest, ShouldIgnoreFirstTwo) {}

TEST(BackoffEntryTest, ReleaseTimeCalculation) {}

TEST(BackoffEntryTest, ReleaseTimeCalculationAlwaysDelay) {}

TEST(BackoffEntryTest, ReleaseTimeCalculationWithJitter) {}

TEST(BackoffEntryTest, FailureThenSuccess) {}

TEST(BackoffEntryTest, FailureThenSuccessAlwaysDelay) {}

TEST(BackoffEntryTest, RetainCustomHorizon) {}

TEST(BackoffEntryTest, RetainCustomHorizonWhenInitialErrorsIgnored) {}

TEST(BackoffEntryTest, OverflowProtection) {}

}  // namespace

}  // namespace net