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

Side by Side Diff: service/datastore/serialize/serialize_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/serialize/serialize.go ('k') | no next file » | 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 serialize 5 package serialize
6 6
7 import ( 7 import (
8 "bytes" 8 "bytes"
9 "fmt" 9 "fmt"
10 "io" 10 "io"
11 "testing" 11 "testing"
12 "time" 12 "time"
13 13
14 "github.com/luci/gae/service/blobstore" 14 "github.com/luci/gae/service/blobstore"
15 ds "github.com/luci/gae/service/datastore" 15 ds "github.com/luci/gae/service/datastore"
16 » "github.com/luci/luci-go/common/cmpbin" 16 » "github.com/luci/luci-go/common/data/cmpbin"
17 . "github.com/luci/luci-go/common/testing/assertions" 17 . "github.com/luci/luci-go/common/testing/assertions"
18 . "github.com/smartystreets/goconvey/convey" 18 . "github.com/smartystreets/goconvey/convey"
19 ) 19 )
20 20
21 func init() { 21 func init() {
22 WritePropertyMapDeterministic = true 22 WritePropertyMapDeterministic = true
23 } 23 }
24 24
25 var ( 25 var (
26 mp = ds.MkProperty 26 mp = ds.MkProperty
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 "__ancestor__": { 506 "__ancestor__": {
507 ToBytes(mp(fakeKey)), 507 ToBytes(mp(fakeKey)),
508 ToBytes(mp(fakeKey.Paren t())), 508 ToBytes(mp(fakeKey.Paren t())),
509 }, 509 },
510 }) 510 })
511 }) 511 })
512 }) 512 })
513 }) 513 })
514 }) 514 })
515 } 515 }
OLDNEW
« no previous file with comments | « service/datastore/serialize/serialize.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698