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

Unified Diff: impl/prod/raw_datastore.go

Issue 1285703002: Add testable interface for datastore. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fixes after Raw change 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 | « impl/memory/testing_utils_test.go ('k') | service/datastore/index.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/raw_datastore.go
diff --git a/impl/prod/raw_datastore.go b/impl/prod/raw_datastore.go
index 6f07e149c3c1d04c53543e8494015af304ff294c..dccb3b035410a4c65cad57ac5c074d489e965c13 100644
--- a/impl/prod/raw_datastore.go
+++ b/impl/prod/raw_datastore.go
@@ -155,3 +155,7 @@ func (d rdsImpl) RunInTransaction(f func(c context.Context) error, opts *ds.Tran
ropts := (*datastore.TransactionOptions)(opts)
return datastore.RunInTransaction(d, f, ropts)
}
+
+func (d rdsImpl) Testable() ds.Testable {
+ return nil
+}
« no previous file with comments | « impl/memory/testing_utils_test.go ('k') | service/datastore/index.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698