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

Unified Diff: components/scheduler/test/test_always_fail_time_source.cc

Issue 1132753008: Replaced TestNowSource with SimpleTestTickClock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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 | « components/scheduler/test/test_always_fail_time_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/test/test_always_fail_time_source.cc
diff --git a/components/scheduler/test/test_always_fail_time_source.cc b/components/scheduler/test/test_always_fail_time_source.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c5860109e8ea53fd20049f4bda7cc8893024869b
--- /dev/null
+++ b/components/scheduler/test/test_always_fail_time_source.cc
@@ -0,0 +1,21 @@
+// Copyright 2015 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/scheduler/test/test_always_fail_time_source.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace scheduler {
+
+TestAlwaysFailTimeSource::TestAlwaysFailTimeSource() {
+}
+
+TestAlwaysFailTimeSource::~TestAlwaysFailTimeSource() {
+}
+
+base::TimeTicks TestAlwaysFailTimeSource::NowTicks() {
+ ADD_FAILURE() << "NowTicks() was called!";
+ return base::TimeTicks();
+}
+
+} // namespace scheduler
« no previous file with comments | « components/scheduler/test/test_always_fail_time_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698