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

Unified Diff: chrome/browser/metrics/time_ticks_experiment_unittest.cc

Issue 13583007: Create a field trial to test if we can detect good QPC implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/metrics/time_ticks_experiment_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/time_ticks_experiment_unittest.cc
diff --git a/chrome/browser/metrics/time_ticks_experiment_unittest.cc b/chrome/browser/metrics/time_ticks_experiment_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..944510e295cbc0b2d79554d56c74abab5614c7f2
--- /dev/null
+++ b/chrome/browser/metrics/time_ticks_experiment_unittest.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2013 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 "chrome/browser/metrics/time_ticks_experiment_win.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+#if defined(OS_WIN)
+
+namespace chrome {
+namespace {
+
+// Makes sure the test runs. Mostly so we don't break by using illegal functions
+// on older versions of Windows. The results vary depending on the host
+// machine's capabilities, so it'd be hard to write proper expectations.
+TEST(TimeTicksExperimentTest, RunTimeTicksExperiment) {
+ CollectTimeTicksStats();
+}
+
+} // anonymous namespace
+} // namespace chrome_browser_metrics
+
+#endif // defined(OS_WIN)
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/metrics/time_ticks_experiment_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698