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

Unified Diff: go/src/infra/gae/libs/gae/taskqueue_testable.go

Issue 1222903002: Refactor current GAE abstraction library to be free of the SDK* (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: more fixes 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/gae/taskqueue_testable.go
diff --git a/go/src/infra/gae/libs/wrapper/taskqueue_testable.go b/go/src/infra/gae/libs/gae/taskqueue_testable.go
similarity index 63%
rename from go/src/infra/gae/libs/wrapper/taskqueue_testable.go
rename to go/src/infra/gae/libs/gae/taskqueue_testable.go
index cd3f100ab97b84cec325a89231fe88e4d5bf93cc..a863455c5dc5ae8ae805e66130eb61e3b2824cde 100644
--- a/go/src/infra/gae/libs/wrapper/taskqueue_testable.go
+++ b/go/src/infra/gae/libs/gae/taskqueue_testable.go
@@ -2,17 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package wrapper
+package gae
-import (
- "appengine/taskqueue"
-)
+// QueueData is {queueName: {taskName: *TQTask}}
+type QueueData map[string]map[string]*TQTask
-// QueueData is {queueName: {taskName: *Task}}
-type QueueData map[string]map[string]*taskqueue.Task
-
-// AnonymousQueueData is {queueName: [*Task]}
-type AnonymousQueueData map[string][]*taskqueue.Task
+// AnonymousQueueData is {queueName: [*TQTask]}
+type AnonymousQueueData map[string][]*TQTask
// TQTestable is the testable interface for fake taskqueue implementations
type TQTestable interface {

Powered by Google App Engine
This is Rietveld 408576698