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

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)

Created:
4 years, 3 months ago by scheglov
Modified:
4 years, 3 months ago
Reviewers:
kevmoo, Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Pull in test_reflective_loader 0.0.4 and switch analyzer to it. There are following changes: 1. DEPS to pull in test_reflective_loader 0.0.4 2. Rename runReflectiveTests() to defineReflectiveTests(). 3. Remove analyzer's pkg/analyzer/test/reflective_tests.dart 4. Replace reflective_tests.dart imports with package:test_reflective_loader/test_reflective_loader.dart imports. 5. Sort/format and organize imports in the files with imports changes. 6. Fix for a couple of bugs in analysis_server exposed by the new loader. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/cc6beaf56d2b058173718232546c18a23eecb8f0

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes for review comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+578 lines, -767 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 2 comments Download
M pkg/analysis_server/lib/src/analysis_server.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/domain_execution_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/pubspec.yaml View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/test/cancelable_future_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/context/declared_variables_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/dart/ast/ast_test.dart View 1 chunk +12 lines, -12 lines 0 comments Download
M pkg/analyzer/test/dart/ast/visitor_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/dart/element/element_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/enum_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/file_system/memory_file_system_test.dart View 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/analyzer/test/file_system/physical_resource_provider_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/file_system/resource_uri_resolver_test.dart View 2 chunks +6 lines, -6 lines 0 comments Download
M pkg/analyzer/test/generated/all_the_rest_test.dart View 4 chunks +23 lines, -20 lines 0 comments Download
M pkg/analyzer/test/generated/bazel_test.dart View 4 chunks +16 lines, -13 lines 0 comments Download
M pkg/analyzer/test/generated/checked_mode_compile_time_error_code_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/compile_time_error_code_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/constant_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/declaration_resolver_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/element_resolver_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/engine_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/error_suppression_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/hint_code_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/incremental_resolver_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/incremental_scanner_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/inheritance_manager_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/non_error_resolver_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/non_hint_code_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/package_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 2 chunks +16 lines, -16 lines 0 comments Download
M pkg/analyzer/test/generated/scanner_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/generated/sdk_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/simple_resolver_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/source_factory_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/static_type_analyzer_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/static_type_warning_code_test.dart View 1 4 chunks +15 lines, -15 lines 0 comments Download
M pkg/analyzer/test/generated/static_warning_code_test.dart View 3 chunks +8 lines, -8 lines 0 comments Download
M pkg/analyzer/test/generated/strong_mode_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/type_system_test.dart View 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/analyzer/test/generated/utilities_test.dart View 1 chunk +11 lines, -11 lines 0 comments Download
M pkg/analyzer/test/instrumentation/instrumentation_test.dart View 1 chunk +3 lines, -4 lines 0 comments Download
D pkg/analyzer/test/reflective_tests.dart View 1 chunk +0 lines, -198 lines 0 comments Download
M pkg/analyzer/test/source/analysis_options_provider_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/source/embedder_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/source/package_map_provider_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/source/package_map_resolver_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/source/sdk_ext_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/context/builder_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/context/cache_test.dart View 1 chunk +7 lines, -7 lines 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/dart/ast/utilities_test.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/analyzer/test/src/dart/constant/evaluation_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/dart/constant/utilities_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/dart/constant/value_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/dart/element/element_test.dart View 1 chunk +18 lines, -18 lines 0 comments Download
M pkg/analyzer/test/src/dart/sdk/sdk_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/source/source_resource_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/api_signature_test.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/flat_buffers_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/in_summary_source_test.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/incremental_cache_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/index_unit_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/linker_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/name_filter_test.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/package_bundle_reader_test.dart View 1 chunk +3 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/summary/prelinker_test.dart View 3 chunks +4 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/pub_summary_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_ast_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_strong_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_test.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_elements_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 1 chunk +41 lines, -41 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_work_manager_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/driver_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/task/general_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/html_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/html_work_manager_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/incremental_element_builder_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/inputs_test.dart View 1 chunk +13 lines, -13 lines 0 comments Download
M pkg/analyzer/test/src/task/manager_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/model_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/task/options_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/task/options_work_manager_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 4 chunks +56 lines, -54 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/non_null_checker_test.dart View 4 chunks +103 lines, -102 lines 0 comments Download
M pkg/analyzer/test/src/task/strong_mode_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/yaml_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/util/absolute_path_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/util/asserts_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/util/fast_uri_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/util/glob_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/util/lru_map_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
scheglov
4 years, 3 months ago (2016-08-31 20:30:11 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2298913003/diff/1/pkg/analysis_server/pubspec.yaml File pkg/analysis_server/pubspec.yaml (right): https://codereview.chromium.org/2298913003/diff/1/pkg/analysis_server/pubspec.yaml#newcode26 pkg/analysis_server/pubspec.yaml:26: dependency_overrides: Did you intend to include this? https://codereview.chromium.org/2298913003/diff/1/pkg/analyzer/test/generated/static_type_warning_code_test.dart ...
4 years, 3 months ago (2016-08-31 20:38:02 UTC) #2
scheglov
https://codereview.chromium.org/2298913003/diff/1/pkg/analysis_server/pubspec.yaml File pkg/analysis_server/pubspec.yaml (right): https://codereview.chromium.org/2298913003/diff/1/pkg/analysis_server/pubspec.yaml#newcode26 pkg/analysis_server/pubspec.yaml:26: dependency_overrides: On 2016/08/31 20:38:01, Brian Wilkerson wrote: > Did ...
4 years, 3 months ago (2016-08-31 20:44:05 UTC) #3
scheglov
Committed patchset #2 (id:20001) manually as cc6beaf56d2b058173718232546c18a23eecb8f0 (presubmit successful).
4 years, 3 months ago (2016-08-31 20:46:48 UTC) #5
kevmoo
DBC https://codereview.chromium.org/2298913003/diff/20001/DEPS File DEPS (right): https://codereview.chromium.org/2298913003/diff/20001/DEPS#newcode111 DEPS:111: "test_reflective_loader_tag": "@1630a63f151871197c1cf92f07f2d9debe0ea38d", not a tag, right?
4 years, 3 months ago (2016-08-31 20:48:13 UTC) #7
scheglov
https://codereview.chromium.org/2298913003/diff/20001/DEPS File DEPS (right): https://codereview.chromium.org/2298913003/diff/20001/DEPS#newcode111 DEPS:111: "test_reflective_loader_tag": "@1630a63f151871197c1cf92f07f2d9debe0ea38d", On 2016/08/31 20:48:13, kevmoo wrote: > not ...
4 years, 3 months ago (2016-08-31 20:49:39 UTC) #8
kevmoo
On 2016/08/31 20:49:39, scheglov wrote: > https://codereview.chromium.org/2298913003/diff/20001/DEPS > File DEPS (right): > > https://codereview.chromium.org/2298913003/diff/20001/DEPS#newcode111 > ...
4 years, 3 months ago (2016-08-31 21:05:52 UTC) #9
scheglov
4 years, 3 months ago (2016-08-31 21:08:54 UTC) #10
Message was sent while issue was closed.
On 2016/08/31 21:05:52, kevmoo wrote:
> On 2016/08/31 20:49:39, scheglov wrote:
> > https://codereview.chromium.org/2298913003/diff/20001/DEPS
> > File DEPS (right):
> > 
> > https://codereview.chromium.org/2298913003/diff/20001/DEPS#newcode111
> > DEPS:111: "test_reflective_loader_tag":
> > "@1630a63f151871197c1cf92f07f2d9debe0ea38d",
> > On 2016/08/31 20:48:13, kevmoo wrote:
> > > not a tag, right?
> > 
> > right
> 
> Uh...should it be a proper git tag?

Fixed.
https://github.com/dart-lang/sdk/commit/ee08f86c9154e4a6510e0830ddc5f2812773eca0

Powered by Google App Engine
This is Rietveld 408576698