Chromium Code Reviews| 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..349f3ce9ef6e69d2f399a9738b6094c130cee391 |
| --- /dev/null |
| +++ b/components/ukm/ukm_service_unittest.cc |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2017 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 "components/metrics/test_metrics_service_client.h" |
| +#include "components/prefs/testing_pref_service.h" |
| +#include "components/ukm/ukm_service.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); |
| +} |
|
battre
2017/01/12 08:12:56
add some more test coverage?
Steven Holte
2017/01/13 23:15:26
Done.
|
| + |
| +} // namespace ukm |