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

Unified Diff: service/datastore/testable.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: appease errcheck Created 5 years, 3 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/datastore/serialize/serialize_test.go ('k') | service/taskqueue/errors.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/testable.go
diff --git a/service/datastore/testable.go b/service/datastore/testable.go
index 14648dc124b5c0997f18f424765888e4fc6d7a6e..483cb762314814090026bde53c001029b68e83f5 100644
--- a/service/datastore/testable.go
+++ b/service/datastore/testable.go
@@ -4,7 +4,10 @@
package datastore
-type TestingSnapshot interface{}
+// TestingSnapshot is an opaque implementation-defined snapshot type.
+type TestingSnapshot interface {
+ ImATestingSnapshot()
+}
// Testable is the testable interface for fake datastore implementations.
type Testable interface {
« no previous file with comments | « service/datastore/serialize/serialize_test.go ('k') | service/taskqueue/errors.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698