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

Side by Side Diff: common/logdog/butlerproto/proto_test.go

Issue 1211053004: LogDog: Add Butler Output package. (Closed) Base URL: https://github.com/luci/luci-go@logdog-review-streamserver
Patch Set: Relocate butlerproto to common, document. Created 5 years, 1 month 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 | « common/logdog/butlerproto/proto.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 Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium 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 by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package butlerproto 5 package butlerproto
6 6
7 import ( 7 import (
8 "bytes" 8 "bytes"
9 "io" 9 "io"
10 "strings" 10 "strings"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 r, err := read(&buf) 202 r, err := read(&buf)
203 So(err, ShouldBeNil) 203 So(err, ShouldBeNil)
204 So(r.Metadata.Compression, ShouldEqual, protocol.ButlerMetadata_ZLIB) 204 So(r.Metadata.Compression, ShouldEqual, protocol.ButlerMetadata_ZLIB)
205 So(r.Bundle.Source, ShouldEqual, bundle. Source) 205 So(r.Bundle.Source, ShouldEqual, bundle. Source)
206 }) 206 })
207 }) 207 })
208 }) 208 })
209 }) 209 })
210 } 210 }
OLDNEW
« no previous file with comments | « common/logdog/butlerproto/proto.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698