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

Side by Side Diff: service/datastore/query_test.go

Issue 2192003003: GAE CL for luci-go common refactor (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « service/datastore/query.go ('k') | service/datastore/serialize/serialize.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package datastore 5 package datastore
6 6
7 import ( 7 import (
8 "math" 8 "math"
9 "testing" 9 "testing"
10 10
11 » "github.com/luci/luci-go/common/parallel" 11 » "github.com/luci/luci-go/common/sync/parallel"
12 . "github.com/luci/luci-go/common/testing/assertions" 12 . "github.com/luci/luci-go/common/testing/assertions"
13 . "github.com/smartystreets/goconvey/convey" 13 . "github.com/smartystreets/goconvey/convey"
14 ) 14 )
15 15
16 const ( 16 const (
17 MaxUint = ^uint(0) 17 MaxUint = ^uint(0)
18 MaxInt = int(MaxUint >> 1) 18 MaxInt = int(MaxUint >> 1)
19 IntIs32Bits = int64(MaxInt) < math.MaxInt64 19 IntIs32Bits = int64(MaxInt) < math.MaxInt64
20 ) 20 )
21 21
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 return err 370 return err
371 } 371 }
372 } 372 }
373 }) 373 })
374 } 374 }
375 } 375 }
376 }) 376 })
377 So(err, ShouldBeNil) 377 So(err, ShouldBeNil)
378 }) 378 })
379 } 379 }
OLDNEW
« no previous file with comments | « service/datastore/query.go ('k') | service/datastore/serialize/serialize.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698