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

Unified Diff: service/taskqueue/taskqueue.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 | « service/taskqueue/raw_interface.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/taskqueue/taskqueue.go
diff --git a/service/taskqueue/taskqueue.go b/service/taskqueue/taskqueue.go
index 97ab2ffe60d506ccac863e557b157855fb930533..5735ffb35d847f88ba5cf3b92b61865ff84e084f 100644
--- a/service/taskqueue/taskqueue.go
+++ b/service/taskqueue/taskqueue.go
@@ -75,6 +75,10 @@ func (t *taskqueueImpl) Raw() RawInterface {
return t.RawInterface
}
+func (t *taskqueueImpl) Testable() Testable {
+ return t.RawInterface.Testable()
+}
+
var _ Interface = (*taskqueueImpl)(nil)
func Get(c context.Context) Interface {
« no previous file with comments | « service/taskqueue/raw_interface.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698