chromium/components/domain_reliability/scheduler_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 "components/domain_reliability/scheduler.h"

#include <stddef.h>

#include <memory>

#include "base/functional/bind.h"
#include "base/time/time.h"
#include "components/domain_reliability/config.h"
#include "components/domain_reliability/test_util.h"
#include "components/domain_reliability/uploader.h"
#include "components/domain_reliability/util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace domain_reliability {
namespace {

TimeTicks;

class DomainReliabilitySchedulerTest : public testing::Test {};

TEST_F(DomainReliabilitySchedulerTest, Create) {}

TEST_F(DomainReliabilitySchedulerTest, UploadNotPendingWithoutBeacon) {}

TEST_F(DomainReliabilitySchedulerTest, SuccessfulUploads) {}

TEST_F(DomainReliabilitySchedulerTest, RetryAfter) {}

TEST_F(DomainReliabilitySchedulerTest, Failover) {}

TEST_F(DomainReliabilitySchedulerTest, FailedAllCollectors) {}

// Make sure that the scheduler uses the first available collector at upload
// time, even if it wasn't available at scheduling time.
TEST_F(DomainReliabilitySchedulerTest, DetermineCollectorAtUpload) {}

TEST_F(DomainReliabilitySchedulerTest, BeaconWhilePending) {}

TEST_F(DomainReliabilitySchedulerTest, BeaconWhileUploading) {}

}  // namespace
}  // namespace domain_reliability