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

Issue 1664563002: Refactor test servers to make them less global. (Closed)

Created:
4 years, 10 months ago by nweiz
Modified:
4 years, 10 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/pub.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Refactor test servers to make them less global. This sets the stage for adding tests for #1386. R=rnystrom@google.com Committed: https://github.com/dart-lang/pub/commit/4ef5000549ed0ffe620e7c858b8374f920c62d79

Patch Set 1 #

Total comments: 16

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -386 lines) Patch
M test/cache/repair/handles_failure_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/cache/repair/reinstalls_hosted_packages_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/descriptor.dart View 1 chunk +1 line, -1 line 0 comments Download
A test/descriptor_server.dart View 1 1 chunk +124 lines, -0 lines 0 comments Download
M test/downgrade/unlock_dependers_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/downgrade/unlock_if_necessary_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/cache_transformed_dependency_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/get/hosted/avoid_network_requests_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/get/hosted/cached_pubspec_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/get/hosted/does_no_network_requests_when_possible_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/get/hosted/stay_locked_if_compatible_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/hosted/stay_locked_if_new_is_satisfied_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/hosted/stay_locked_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/hosted/unlock_if_incompatible_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/hosted/unlock_if_new_is_unsatisfied_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/get/hosted/unlock_if_version_doesnt_exist_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/list_package_dirs/lists_dependency_directories_test.dart View 1 chunk +3 lines, -2 lines 0 comments Download
A + test/package_server.dart View 1 5 chunks +80 lines, -58 lines 0 comments Download
D test/serve_packages.dart View 1 chunk +0 lines, -201 lines 0 comments Download
M test/snapshot/upgrades_snapshot_for_dependency_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/snapshot/upgrades_snapshot_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/test_pub.dart View 3 chunks +6 lines, -100 lines 0 comments Download
M test/transformer/cache_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/upgrade/hosted/unlock_dependers_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/upgrade/hosted/unlock_if_necessary_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
nweiz
4 years, 10 months ago (2016-02-03 01:15:46 UTC) #1
Bob Nystrom
lgtm https://codereview.chromium.org/1664563002/diff/1/test/descriptor_server.dart File test/descriptor_server.dart (right): https://codereview.chromium.org/1664563002/diff/1/test/descriptor_server.dart#newcode1 test/descriptor_server.dart:1: // Copyright (c) 2015, the Dart project authors. ...
4 years, 10 months ago (2016-02-03 18:40:41 UTC) #2
nweiz
Code review changes
4 years, 10 months ago (2016-02-03 20:12:46 UTC) #3
nweiz
https://codereview.chromium.org/1664563002/diff/1/test/descriptor_server.dart File test/descriptor_server.dart (right): https://codereview.chromium.org/1664563002/diff/1/test/descriptor_server.dart#newcode1 test/descriptor_server.dart:1: // Copyright (c) 2015, the Dart project authors. Please ...
4 years, 10 months ago (2016-02-03 20:13:24 UTC) #4
nweiz
4 years, 10 months ago (2016-02-03 20:13:59 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4ef5000549ed0ffe620e7c858b8374f920c62d79 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698