c1b56a9ea0
- Run dartfmt --fix. This converts JavaDoc comments to "///", removes "new" and extraneous "const", and a couple of other things. - Fix SCREAMING_CAPS constants to lowerCamelCase. - Use collection literals where possible. - Use UI-as-code in a couple of places where it seemed obvious. - Use "var" for more local variables. - Use "const" instead of "final" when possible. - Make members private when possible. Deleted a few that then became obviously unused. - ".length > 0" -> ".isNotEmpty". There are no meaningful changes. Change-Id: Ic6c5a74b2af9b3ebcbe881dbed69f65488bdef09 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/105880 Commit-Queue: Bob Nystrom <rnystrom@google.com> Reviewed-by: William Hesse <whesse@google.com>
18 lines
691 B
Dart
18 lines
691 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.
|
|
|
|
import 'package:test_runner/src/configuration.dart';
|
|
import 'package:test_runner/src/options.dart';
|
|
import 'package:test_runner/src/repository.dart';
|
|
import 'package:test_runner/src/test_configurations.dart';
|
|
|
|
void main(List<String> arguments) {
|
|
Repository.uri = Uri.base;
|
|
var configurations = <TestConfiguration>[];
|
|
for (var argument in arguments) {
|
|
configurations.addAll(OptionsParser().parse(argument.split(" ")));
|
|
}
|
|
testConfigurations(configurations);
|
|
}
|