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

Unified Diff: impl/dummy/dummy.go

Issue 1282673002: Make obtaining the Testable interface actually part of the interface. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years, 4 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 | « filter/featureBreaker/tq.go ('k') | impl/memory/taskqueue.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy.go
diff --git a/impl/dummy/dummy.go b/impl/dummy/dummy.go
index 3ce115f8827b7729b85ca8cf2c0261f0d1be9ffb..e5b11185dde97f35e546ec398c911df0ffbf27a1 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -117,6 +117,7 @@ func (tq) AddMulti([]*taskqueue.Task, string, taskqueue.RawTaskCB) error { panic
func (tq) DeleteMulti([]*taskqueue.Task, string, taskqueue.RawCB) error { panic(ni()) }
func (tq) Purge(string) error { panic(ni()) }
func (tq) Stats([]string, taskqueue.RawStatsCB) error { panic(ni()) }
+func (tq) Testable() taskqueue.Testable { panic(ni()) }
var dummyTQInst = tq{}
« no previous file with comments | « filter/featureBreaker/tq.go ('k') | impl/memory/taskqueue.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698