| Index: components/ukm/ukm_service_unittest.cc
|
| diff --git a/components/ukm/ukm_service_unittest.cc b/components/ukm/ukm_service_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a2af0466fa8473665eb0ee741aa12570521d8ed8
|
| --- /dev/null
|
| +++ b/components/ukm/ukm_service_unittest.cc
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/ukm/ukm_service.h"
|
| +
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| +
|
| +#include <memory>
|
| +#include <utility>
|
| +
|
| +#include "components/metrics/test_metrics_service_client.h"
|
| +#include "components/prefs/testing_pref_service.h"
|
| +#include "components/ukm/ukm_pref_names.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +namespace ukm {
|
| +
|
| +TEST(UkmServiceTest, Construct) {
|
| + TestingPrefServiceSimple test_prefs;
|
| + metrics::TestMetricsServiceClient test_client;
|
| + UkmService service(&test_prefs, &test_client);
|
| +}
|
| +
|
| +} // namespace ukm
|
|
|