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

Unified Diff: go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go

Issue 1240573002: Reland: Refactor current GAE abstraction library to be free of the SDK* (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: expand coverage range to fit 32bit test expectations Created 5 years, 5 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
Index: go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go
diff --git a/go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go b/go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go
deleted file mode 100644
index 0a412ea1c0043ccaa4bc20248ffa4ac0b02e1934..0000000000000000000000000000000000000000
--- a/go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package unsafe
-
-import (
- "testing"
-
- "appengine/memcache"
-
- . "github.com/smartystreets/goconvey/convey"
-)
-
-func TestUnsafeMemcacheItem(t *testing.T) {
- Convey("unsafe memcache", t, func() {
- // kinda a bogus test, but it forces the init() to run, which checks the
- // field alignment and should panic bigtime if things are wrong.
- itm := &memcache.Item{}
- So(MCGetCasID(itm), ShouldEqual, 0)
- MCSetCasID(itm, 10)
- So(MCGetCasID(itm), ShouldEqual, 10)
- })
-}
« no previous file with comments | « go/src/infra/gae/libs/wrapper/unsafe/memcache.go ('k') | go/src/infra/gae/libs/wrapper/unsafe/unsafe.infra_testing » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698