Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: components/ukm/ukm_service_unittest.cc

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Fix small bugs Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698