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

Issue 227713004: Improve analysis_server/protocol.dart test coverage. (Closed)

Created:
6 years, 8 months ago by scheglov
Modified:
6 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve analysis_server/protocol.dart test coverage. R=brianwilkerson@google.com, danrubel@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=34794

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -4 lines) Patch
M pkg/analysis_server/lib/src/protocol.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/protocol_test.dart View 7 chunks +104 lines, -2 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
scheglov
6 years, 8 months ago (2014-04-07 17:59:14 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/227713004/diff/1/pkg/analysis_server/test/protocol_test.dart File pkg/analysis_server/test/protocol_test.dart (right): https://codereview.chromium.org/227713004/diff/1/pkg/analysis_server/test/protocol_test.dart#newcode168 pkg/analysis_server/test/protocol_test.dart:168: expect(request.toBool('false'), isFalse); Might be good to add a ...
6 years, 8 months ago (2014-04-07 18:51:48 UTC) #2
danrubel
lgtm
6 years, 8 months ago (2014-04-07 19:00:13 UTC) #3
scheglov
Committed patchset #1 manually as r34794 (presubmit successful).
6 years, 8 months ago (2014-04-07 19:01:14 UTC) #4
scheglov
6 years, 8 months ago (2014-04-07 19:01:41 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/227713004/diff/1/pkg/analysis_server/test/pro...
File pkg/analysis_server/test/protocol_test.dart (right):

https://codereview.chromium.org/227713004/diff/1/pkg/analysis_server/test/pro...
pkg/analysis_server/test/protocol_test.dart:168: expect(request.toBool('false'),
isFalse);
On 2014/04/07 18:51:48, Brian Wilkerson wrote:
> Might be good to add a test for a string that is neither 'true' nor 'false'
> (like 'abc').

Done.

https://codereview.chromium.org/227713004/diff/1/pkg/analysis_server/test/pro...
pkg/analysis_server/test/protocol_test.dart:209: static void create_parseError()
{
On 2014/04/07 18:51:48, Brian Wilkerson wrote:
> nit: We should probably be consistent with spacing. I like the blank lines
> between members, but we can discuss if you feel strongly.

Agree, we need to put an empty line between members.
Fixed.

Powered by Google App Engine
This is Rietveld 408576698