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

Unified Diff: taskqueue_testable.go

Issue 1243323002: Refactor a bit. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fix golint 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 | « taskqueue.go ('k') | upstream_errors.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: taskqueue_testable.go
diff --git a/taskqueue_testable.go b/taskqueue_testable.go
deleted file mode 100644
index 49b605425555429bd98b1363aaf1475f7dcf726d..0000000000000000000000000000000000000000
--- a/taskqueue_testable.go
+++ /dev/null
@@ -1,20 +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 gae
-
-// QueueData is {queueName: {taskName: *TQTask}}
-type QueueData map[string]map[string]*TQTask
-
-// AnonymousQueueData is {queueName: [*TQTask]}
-type AnonymousQueueData map[string][]*TQTask
-
-// TQTestable is the testable interface for fake taskqueue implementations
-type TQTestable interface {
- CreateQueue(queueName string)
- GetScheduledTasks() QueueData
- GetTombstonedTasks() QueueData
- GetTransactionTasks() AnonymousQueueData
- ResetTasks()
-}
« no previous file with comments | « taskqueue.go ('k') | upstream_errors.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698