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

Unified Diff: tools/testing/dart/co19_test.dart

Issue 2901923003: Replace the configuration map with a typed object. (Closed)
Patch Set: Revise. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/co19_test_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/co19_test.dart
diff --git a/tools/testing/dart/co19_test.dart b/tools/testing/dart/co19_test.dart
index 5adc2cff9524bef2363dc8106f1f2dd2788d345b..8636aa17b97af0d1566fef01ccbe71088a7ef6a5 100644
--- a/tools/testing/dart/co19_test.dart
+++ b/tools/testing/dart/co19_test.dart
@@ -14,13 +14,12 @@
* [: dart tools/testing/dart/co19_test.dart :]
*/
-library co19_test;
+import 'dart:io';
-import "dart:io";
-
-import "options.dart";
-import "test_suite.dart";
-import "test_configurations.dart";
+import 'configuration.dart';
+import 'options.dart';
+import 'test_suite.dart';
+import 'test_configurations.dart';
const List<String> COMMON_ARGUMENTS = const <String>[
'--report',
@@ -60,7 +59,7 @@ const List<List<String>> COMMAND_LINES = const <List<String>>[
void main(List<String> args) {
TestUtils.setDartDirUri(Platform.script.resolve('../../..'));
var optionsParser = new OptionsParser();
- var configurations = <Map<String, dynamic>>[];
+ var configurations = <Configuration>[];
for (var commandLine in COMMAND_LINES) {
var arguments = <String>[];
arguments.addAll(COMMON_ARGUMENTS);
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | tools/testing/dart/co19_test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698