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..2d769a2a46bbc2c14a48b2cb850c37e451c6dcde |
--- /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_browser_metrics { |
+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) |