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

Unified Diff: impl/dummy/dummy_test.go

Issue 1270063002: Rename rawdatastore -> datastore (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: and a bit more 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/dummy/dummy.go ('k') | impl/memory/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy_test.go
diff --git a/impl/dummy/dummy_test.go b/impl/dummy/dummy_test.go
index ed27c493cc764366704751789bda33235fe5b69d..6c010b1faca42f34106fc0eaceeedbe7503144f5 100644
--- a/impl/dummy/dummy_test.go
+++ b/impl/dummy/dummy_test.go
@@ -7,9 +7,9 @@ package dummy
import (
"testing"
+ dsS "github.com/luci/gae/service/datastore"
infoS "github.com/luci/gae/service/info"
mcS "github.com/luci/gae/service/memcache"
- rdsS "github.com/luci/gae/service/rawdatastore"
tqS "github.com/luci/gae/service/taskqueue"
. "github.com/smartystreets/goconvey/convey"
"golang.org/x/net/context"
@@ -44,13 +44,13 @@ func TestContextAccess(t *testing.T) {
}, ShouldPanicWith, "dummy: method Info.Datacenter is not implemented")
})
- Convey("RawDatastore", func() {
- c = rdsS.Set(c, RawDatastore())
- So(rdsS.Get(c), ShouldNotBeNil)
+ Convey("Datastore", func() {
+ c = dsS.Set(c, Datastore())
+ So(dsS.Get(c), ShouldNotBeNil)
So(func() {
defer p()
- rdsS.Get(c).DecodeKey("wut")
- }, ShouldPanicWith, "dummy: method RawDatastore.DecodeKey is not implemented")
+ dsS.Get(c).DecodeKey("wut")
+ }, ShouldPanicWith, "dummy: method Datastore.DecodeKey is not implemented")
})
Convey("Memcache", func() {
« no previous file with comments | « impl/dummy/dummy.go ('k') | impl/memory/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698