Update dependencies with forced upgrade. (#15344)

* Update dependencies with forced upgrade.

Now that https://github.com/flutter/flutter/issues/15261 is fixed, do the update with upgrade.

* Update test package use following upgrade

* Replace addOption(allowMultiple) with addMultiOption
This commit is contained in:
Alexander Aprelev
2018-03-09 10:38:54 -08:00
committed by GitHub
parent 5d03a59379
commit ded538a1bb
31 changed files with 173 additions and 178 deletions

View File

@@ -40,13 +40,11 @@ class BuildAotCommand extends BuildSubCommand {
..addFlag('interpreter')
..addFlag('quiet', defaultsTo: false)
..addFlag('preview-dart-2', negatable: false, hide: !verboseHelp)
..addOption(FlutterOptions.kExtraFrontEndOptions,
allowMultiple: true,
..addMultiOption(FlutterOptions.kExtraFrontEndOptions,
splitCommas: true,
hide: true,
)
..addOption(FlutterOptions.kExtraGenSnapshotOptions,
allowMultiple: true,
..addMultiOption(FlutterOptions.kExtraGenSnapshotOptions,
splitCommas: true,
hide: true,
)

View File

@@ -23,18 +23,16 @@ class TestCommand extends FlutterCommand {
TestCommand({ bool verboseHelp: false }) {
requiresPubspecYaml();
usesPubOption();
argParser.addOption(
argParser.addMultiOption(
'name',
help: 'A regular expression matching substrings of the names of tests to run.',
valueHelp: 'regexp',
allowMultiple: true,
splitCommas: false,
);
argParser.addOption(
argParser.addMultiOption(
'plain-name',
help: 'A plain-text substring of the names of tests to run.',
valueHelp: 'substring',
allowMultiple: true,
splitCommas: false,
);
argParser.addFlag(

View File

@@ -8,7 +8,8 @@ import 'dart:convert';
import 'package:meta/meta.dart';
import 'package:stream_channel/stream_channel.dart';
import 'package:test/src/backend/test_platform.dart'; // ignore: implementation_imports
import 'package:test/src/backend/runtime.dart'; // ignore: implementation_imports
import 'package:test/src/backend/suite_platform.dart'; // ignore: implementation_imports
import 'package:test/src/runner/plugin/platform.dart'; // ignore: implementation_imports
import 'package:test/src/runner/plugin/hack_register_platform.dart' as hack; // ignore: implementation_imports
@@ -68,7 +69,7 @@ void installHook({
if (startPaused || observatoryPort != null)
assert(enableObservatory);
hack.registerPlatformPlugin(
<TestPlatform>[TestPlatform.vm],
<Runtime>[Runtime.vm],
() => new _FlutterPlatform(
shellPath: shellPath,
watcher: watcher,
@@ -192,7 +193,7 @@ class _FlutterPlatform extends PlatformPlugin {
int _testCount = 0;
@override
StreamChannel<dynamic> loadChannel(String testPath, TestPlatform platform) {
StreamChannel<dynamic> loadChannel(String testPath, SuitePlatform platform) {
if (_testCount > 0) {
// Fail if there will be a port conflict.
if (explicitObservatoryPort != null)

View File

@@ -9,11 +9,11 @@ environment:
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
archive: 1.0.33
args: 1.3.0
args: 1.4.1
cli_util: 0.1.2+1
coverage: 0.10.0
crypto: 2.0.2+1
file: 2.3.6
file: 2.3.7
http: 0.11.3+16
intl: 0.15.2
json_rpc_2: 2.0.7
@@ -26,8 +26,8 @@ dependencies:
plugin: 0.2.0+2
process: 2.0.8
quiver: 0.28.0
stack_trace: 1.9.1
stream_channel: 1.6.3
stack_trace: 1.9.2
stream_channel: 1.6.4
usage: 3.3.0
vm_service_client: 0.2.4+1
web_socket_channel: 1.0.7
@@ -37,7 +37,7 @@ dependencies:
# We depend on very specific internal implementation details of the
# 'test' package, which change between versions, so when upgrading
# this, make sure the tests are still running correctly.
test: 0.12.30+4
test: 0.12.32+1
# Version from the vended Dart SDK as defined in `dependency_overrides`.
analyzer: any
@@ -47,7 +47,7 @@ dev_dependencies:
collection: 1.14.6
mockito: 2.2.3
async: 2.0.4 # TRANSITIVE DEPENDENCY
async: 2.0.6 # TRANSITIVE DEPENDENCY
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
boolean_selector: 1.0.3 # TRANSITIVE DEPENDENCY
charcode: 1.1.1 # TRANSITIVE DEPENDENCY
@@ -67,7 +67,7 @@ dev_dependencies:
node_preamble: 1.4.0 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.0 # TRANSITIVE DEPENDENCY
petitparser: 1.7.4 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
shelf: 0.7.2 # TRANSITIVE DEPENDENCY