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

Unified Diff: go/src/infra/gae/libs/wrapper/taskqueue_testable.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
« no previous file with comments | « go/src/infra/gae/libs/wrapper/taskqueue.go ('k') | go/src/infra/gae/libs/wrapper/testable.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/wrapper/taskqueue_testable.go
diff --git a/go/src/infra/gae/libs/wrapper/taskqueue_testable.go b/go/src/infra/gae/libs/wrapper/taskqueue_testable.go
deleted file mode 100644
index cd3f100ab97b84cec325a89231fe88e4d5bf93cc..0000000000000000000000000000000000000000
--- a/go/src/infra/gae/libs/wrapper/taskqueue_testable.go
+++ /dev/null
@@ -1,26 +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 wrapper
-
-import (
- "appengine/taskqueue"
-)
-
-// QueueData is {queueName: {taskName: *Task}}
-type QueueData map[string]map[string]*taskqueue.Task
-
-// AnonymousQueueData is {queueName: [*Task]}
-type AnonymousQueueData map[string][]*taskqueue.Task
-
-// TQTestable is the testable interface for fake taskqueue implementations
-type TQTestable interface {
- Testable
-
- CreateQueue(queueName string)
- GetScheduledTasks() QueueData
- GetTombstonedTasks() QueueData
- GetTransactionTasks() AnonymousQueueData
- ResetTasks()
-}
« no previous file with comments | « go/src/infra/gae/libs/wrapper/taskqueue.go ('k') | go/src/infra/gae/libs/wrapper/testable.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698