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

Issue 2073893002: Removed all analyzer issues from tests (Closed)

Created:
4 years, 6 months ago by cbernaschina
Modified:
4 years, 6 months ago
Reviewers:
turnidge, rmacnak, Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Removed all analyzer issues from tests Done by removing dead code, suppressing warning via getters, removed from analysis files with intentional errors and warnings. Added tests for rpc commands: - setName - _getObjectStore Added tests for particular exceptions: - OutOfMemory - StackOverflow R=johnmccutchan@google.com, rmacnak@google.com, turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/c4cd62032d364f395e75692d78f7b33623104627

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated comments as full sentences #

Total comments: 9

Patch Set 3 : Fixed style problems #

Patch Set 4 : Merge branch 'master' of https://github.com/dart-lang/sdk into tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -42 lines) Patch
M runtime/observatory/.analysis_options View 1 chunk +3 lines, -6 lines 0 comments Download
M runtime/observatory/lib/src/debugger/debugger_location.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/tests/service/dev_fs_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart View 1 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/evaluate_activation_in_method_class_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/get_isolate_after_language_error_test.dart View 2 chunks +1 line, -2 lines 0 comments Download
A + runtime/observatory/tests/service/get_isolate_after_out_of_memory_error_test.dart View 2 chunks +7 lines, -6 lines 0 comments Download
A + runtime/observatory/tests/service/get_isolate_after_stack_overflow_error_test.dart View 1 2 chunks +11 lines, -6 lines 0 comments Download
A runtime/observatory/tests/service/get_object_store_rpc_test.dart View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/instance_field_order_rpc_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/pause_idle_isolate_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/pause_on_exceptions_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
A + runtime/observatory/tests/service/set_name_rpc_test.dart View 1 chunk +12 lines, -11 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
cbernaschina
4 years, 6 months ago (2016-06-16 20:55:22 UTC) #4
Cutch
lots of little nits! https://codereview.chromium.org/2073893002/diff/1/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart File runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart (right): https://codereview.chromium.org/2073893002/diff/1/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart#newcode26 runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart:26: //suppress warning We always start ...
4 years, 6 months ago (2016-06-16 21:38:23 UTC) #7
cbernaschina
https://codereview.chromium.org/2073893002/diff/1/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart File runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart (right): https://codereview.chromium.org/2073893002/diff/1/runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart#newcode26 runtime/observatory/tests/service/evaluate_activation_in_method_class_other.dart:26: //suppress warning On 2016/06/16 21:38:22, Cutch wrote: > We ...
4 years, 6 months ago (2016-06-16 21:50:21 UTC) #8
Cutch
LGTM but let's wait for Todd and Ryan to weigh in too.
4 years, 6 months ago (2016-06-16 21:56:41 UTC) #9
turnidge
lgtm with some small comments below. https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart File runtime/observatory/tests/service/get_object_store_rpc_test.dart (right): https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart#newcode1 runtime/observatory/tests/service/get_object_store_rpc_test.dart:1: // Copyright (c) ...
4 years, 6 months ago (2016-06-17 16:19:15 UTC) #10
cbernaschina
https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart File runtime/observatory/tests/service/get_object_store_rpc_test.dart (right): https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart#newcode1 runtime/observatory/tests/service/get_object_store_rpc_test.dart:1: // Copyright (c) 2015, the Dart project authors. Please ...
4 years, 6 months ago (2016-06-17 18:06:28 UTC) #11
rmacnak
lgtm https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart File runtime/observatory/tests/service/get_object_store_rpc_test.dart (right): https://codereview.chromium.org/2073893002/diff/20001/runtime/observatory/tests/service/get_object_store_rpc_test.dart#newcode16 runtime/observatory/tests/service/get_object_store_rpc_test.dart:16: bool isClosures(NamedField field) { On 2016/06/17 18:06:27, cbernaschina ...
4 years, 6 months ago (2016-06-20 23:11:40 UTC) #12
cbernaschina
4 years, 6 months ago (2016-06-20 23:27:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
c4cd62032d364f395e75692d78f7b33623104627 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698