OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/ukm/ukm_service.h" | |
6 | |
7 #include "components/metrics/test_metrics_service_client.h" | |
8 #include "components/prefs/testing_pref_service.h" | |
9 #include "components/ukm/ukm_service.h" | |
10 #include "testing/gtest/include/gtest/gtest.h" | |
11 | |
12 namespace ukm { | |
13 | |
14 TEST(UkmServiceTest, Construct) { | |
15 TestingPrefServiceSimple test_prefs; | |
16 metrics::TestMetricsServiceClient test_client; | |
17 UkmService service(&test_prefs, &test_client); | |
18 } | |
battre
2017/01/12 08:12:56
add some more test coverage?
Steven Holte
2017/01/13 23:15:26
Done.
| |
19 | |
20 } // namespace ukm | |
OLD | NEW |