Files
sdk/tools/testing/dart/package_testing_support.dart
T
Bob Nystrom e0180925f6 Tighten up a bunch of types in test.dart.
This doesn't get rid of all implicit dynamic and casts, but it covers
many of them.

Also did some minor modernization when I noticed it:

- Using "var" for local variables where inference does the right thing.
- camelCase for variable names.
- More collection literals.

There are (or should be!) zero behavioral changes.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2863253002 .
2017-05-15 15:26:40 -07:00

21 lines
671 B
Dart

// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
library package_testing_support;
import 'test_configurations.dart' show testConfigurations;
import 'test_options.dart' show TestOptionsParser;
import 'test_suite.dart' show TestUtils;
void main(List<String> arguments) {
TestUtils.setDartDirUri(Uri.base);
var configurations = <Map>[];
for (var argument in arguments) {
configurations.addAll(new TestOptionsParser().parse(argument.split(" ")));
}
testConfigurations(configurations);
}