Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(413)

Issue 6449111: Add tests for serializer

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by ekasper
Modified:
13 years, 10 months ago
Reviewers:
Al Cutter
CC:
Ben Laurie (Google)
Visibility:
Public.

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -0 lines) Patch
M .hgignore View 1 chunk +1 line, -0 lines 0 comments Download
M src/proto/Makefile View 1 chunk +22 lines, -0 lines 0 comments Download
A src/proto/serializer_test.cc View 1 1 chunk +191 lines, -0 lines 0 comments Download

Messages

Total messages: 5
ekasper
13 years, 10 months ago (2012-08-08 15:47:42 UTC) #1
ekasper
Ping (in case you missed this one...) On Wed, Aug 8, 2012 at 5:47 PM, ...
13 years, 10 months ago (2012-08-10 13:12:49 UTC) #2
Al Cutter
LGTM, couple of nits below http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc File src/proto/serializer_test.cc (right): http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc#newcode63 src/proto/serializer_test.cc:63: #define S(t, n) std::string((t), ...
13 years, 10 months ago (2012-08-10 15:14:10 UTC) #3
ekasper
Thanks, pushing. http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc File src/proto/serializer_test.cc (right): http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc#newcode63 src/proto/serializer_test.cc:63: #define S(t, n) std::string((t), (2 * n)) ...
13 years, 10 months ago (2012-08-10 15:43:09 UTC) #4
Ben Laurie (Google)
13 years, 10 months ago (2012-08-13 12:34:06 UTC) #5
On 10 August 2012 16:14,  <alcutter@google.com> wrote:
> LGTM, couple of nits below
>
>
> http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc
> File src/proto/serializer_test.cc (right):
>
>
http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc#new...
> src/proto/serializer_test.cc:63: #define S(t, n) std::string((t), (2 *
> n))
> You could just make these functions in the anonymous namespace and avoid
> having to undef them later on.

What is this obsession with the anonymous namespace? What have you got
against static?

>
>
http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc#new...
> src/proto/serializer_test.cc:136: bstring token =
> B(kDefaultSCHTokenHexString, kDefaultSCHTokenLength);
> indent
>
>
http://codereview.appspot.com/6449111/diff/1/src/proto/serializer_test.cc#new...
> src/proto/serializer_test.cc:145: bstring token =
> B(kDefaultSCHTokenHexString, kDefaultSCHTokenLength);
> indent
>
> http://codereview.appspot.com/6449111/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b