chromium/components/metrics/metrics_log_store_unittest.cc

// Copyright 2017 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/metrics/metrics_log_store.h"

#include "components/metrics/metrics_logs_event_manager.h"
#include "components/metrics/metrics_pref_names.h"
#include "components/metrics/test/test_metrics_service_client.h"
#include "components/metrics/unsent_log_store_metrics_impl.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace metrics {
namespace {

const char kTestPrefName[] =;

class TestUnsentLogStore : public UnsentLogStore {};

class MetricsLogStoreTest : public testing::Test {};

}  // namespace

TEST_F(MetricsLogStoreTest, StandardFlow) {}

TEST_F(MetricsLogStoreTest, StoreAndLoad) {}

TEST_F(MetricsLogStoreTest, StoreStagedOngoingLog) {}

TEST_F(MetricsLogStoreTest, StoreStagedInitialLog) {}

TEST_F(MetricsLogStoreTest, LargeLogDiscarding) {}

TEST_F(MetricsLogStoreTest, DiscardOrder) {}

TEST_F(MetricsLogStoreTest, WritesToAlternateOngoingLogStore) {}

TEST_F(MetricsLogStoreTest, AlternateOngoingLogStoreGetsEventsLogsManager) {}

TEST_F(MetricsLogStoreTest, StagesInitialOverBothOngoing) {}

TEST_F(MetricsLogStoreTest, StagesAlternateOverOngoing) {}

TEST_F(MetricsLogStoreTest,
       UnboundAlternateOngoingLogStoreWritesToNativeOngoing) {}

TEST_F(MetricsLogStoreTest,
       StageOngoingLogWhenAlternateOngoingLogStoreIsEmpty) {}

}  // namespace metrics