OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package dsQueryBatch | 5 package dsQueryBatch |
6 | 6 |
7 import ( | 7 import ( |
8 "fmt" | 8 "fmt" |
9 "testing" | 9 "testing" |
10 | 10 |
11 "github.com/luci/gae/filter/count" | 11 "github.com/luci/gae/filter/count" |
12 "github.com/luci/gae/impl/memory" | 12 "github.com/luci/gae/impl/memory" |
13 ds "github.com/luci/gae/service/datastore" | 13 ds "github.com/luci/gae/service/datastore" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 if (limit % size) != 0 { | 75 if (limit % size) != 0 { |
76 runCalls++ | 76 runCalls++ |
77 } | 77 } |
78 So(cf.Run.Successes(), ShouldEqu
al, runCalls) | 78 So(cf.Run.Successes(), ShouldEqu
al, runCalls) |
79 }) | 79 }) |
80 }) | 80 }) |
81 } | 81 } |
82 } | 82 } |
83 }) | 83 }) |
84 } | 84 } |
OLD | NEW |