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

Unified Diff: tests/compiler/dart2js/incremental/compile_all.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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 | « tests/compiler/dart2js/in_user_code_test.dart ('k') | tests/compiler/dart2js/indentation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/incremental/compile_all.dart
diff --git a/tests/compiler/dart2js/incremental/compile_all.dart b/tests/compiler/dart2js/incremental/compile_all.dart
index fb22d152a2dc4efa64183efa4284bc24e63886d3..ca1321a3af80aa5f27af9e1c775cbb892c6a59c5 100644
--- a/tests/compiler/dart2js/incremental/compile_all.dart
+++ b/tests/compiler/dart2js/incremental/compile_all.dart
@@ -9,19 +9,16 @@ import 'dart:async';
import 'dart:io';
-import 'dart:developer' show
- UserTag;
+import 'dart:developer' show UserTag;
-import 'package:dart2js_incremental/dart2js_incremental.dart' show
- IncrementalCompiler;
-import 'package:compiler/src/source_file_provider.dart' show
- FormattingDiagnosticHandler;
+import 'package:dart2js_incremental/dart2js_incremental.dart'
+ show IncrementalCompiler;
+import 'package:compiler/src/source_file_provider.dart'
+ show FormattingDiagnosticHandler;
-import '../memory_source_file_helper.dart' show
- CompilerImpl;
+import '../memory_source_file_helper.dart' show CompilerImpl;
-import '../memory_compiler.dart' show
- compilerFor;
+import '../memory_compiler.dart' show compilerFor;
const bool verbose = false;
@@ -71,12 +68,16 @@ void compileTests(Map<String, String> sources) {
UserTag.defaultTag.makeCurrent();
sw.stop();
print('Compiled $path in ${sw.elapsedMilliseconds}');
- sw..reset()..start();
+ sw
+ ..reset()
+ ..start();
}).catchError((error, trace) {
sw.stop();
print('$error\n$trace');
print('Crash when compiling $path after ${sw.elapsedMilliseconds}');
- sw..reset()..start();
+ sw
+ ..reset()
+ ..start();
crashes.add(path);
});
}).then((_) {
@@ -97,82 +98,82 @@ Total: $testCount tests
}
Set<String> brokenTests = new Set<String>.from([
- // TODO(ahe): Fix the outputProvider to not throw an error.
- "/dart2js_extra/deferred/deferred_class_library.dart",
- "/dart2js_extra/deferred/deferred_class_library2.dart",
- "/dart2js_extra/deferred/deferred_class_test.dart",
- "/dart2js_extra/deferred/deferred_constant2_test.dart",
- "/dart2js_extra/deferred/deferred_constant3_test.dart",
- "/dart2js_extra/deferred/deferred_constant4_test.dart",
- "/dart2js_extra/deferred/deferred_constant_test.dart",
- "/dart2js_extra/deferred/deferred_function_library.dart",
- "/dart2js_extra/deferred/deferred_function_test.dart",
- "/dart2js_extra/deferred/deferred_overlapping_lib1.dart",
- "/dart2js_extra/deferred/deferred_overlapping_lib2.dart",
- "/dart2js_extra/deferred/deferred_overlapping_lib3.dart",
- "/dart2js_extra/deferred/deferred_overlapping_test.dart",
- "/dart2js_extra/deferred/deferred_unused_classes_test.dart",
- "/language/deferred_closurize_load_library_lib.dart",
- "/language/deferred_closurize_load_library_test.dart",
- "/language/deferred_constraints_constants_lib.dart",
- "/language/deferred_constraints_constants_old_syntax_lib.dart",
- "/language/deferred_constraints_constants_old_syntax_test.dart",
- "/language/deferred_constraints_constants_test.dart",
- "/language/deferred_constraints_lib.dart",
- "/language/deferred_constraints_lib2.dart",
- "/language/deferred_constraints_old_syntax_lib.dart",
- "/language/deferred_constraints_type_annotation_old_syntax_test.dart",
- "/language/deferred_constraints_type_annotation_test.dart",
- "/language/deferred_duplicate_prefix1_test.dart",
- "/language/deferred_duplicate_prefix2_test.dart",
- "/language/deferred_duplicate_prefix3_test.dart",
- "/language/deferred_load_inval_code_lib.dart",
- "/language/deferred_load_inval_code_test.dart",
- "/language/deferred_load_library_wrong_args_lib.dart",
- "/language/deferred_load_library_wrong_args_test.dart",
- "/language/deferred_no_prefix_test.dart",
- "/language/deferred_no_such_method_lib.dart",
- "/language/deferred_no_such_method_test.dart",
- "/language/deferred_not_loaded_check_lib.dart",
- "/language/deferred_not_loaded_check_test.dart",
- "/language/deferred_prefix_constraints_lib.dart",
- "/language/deferred_prefix_constraints_lib2.dart",
- "/language/deferred_shadow_load_library_lib.dart",
- "/language/deferred_shadow_load_library_test.dart",
+ // TODO(ahe): Fix the outputProvider to not throw an error.
+ "/dart2js_extra/deferred/deferred_class_library.dart",
+ "/dart2js_extra/deferred/deferred_class_library2.dart",
+ "/dart2js_extra/deferred/deferred_class_test.dart",
+ "/dart2js_extra/deferred/deferred_constant2_test.dart",
+ "/dart2js_extra/deferred/deferred_constant3_test.dart",
+ "/dart2js_extra/deferred/deferred_constant4_test.dart",
+ "/dart2js_extra/deferred/deferred_constant_test.dart",
+ "/dart2js_extra/deferred/deferred_function_library.dart",
+ "/dart2js_extra/deferred/deferred_function_test.dart",
+ "/dart2js_extra/deferred/deferred_overlapping_lib1.dart",
+ "/dart2js_extra/deferred/deferred_overlapping_lib2.dart",
+ "/dart2js_extra/deferred/deferred_overlapping_lib3.dart",
+ "/dart2js_extra/deferred/deferred_overlapping_test.dart",
+ "/dart2js_extra/deferred/deferred_unused_classes_test.dart",
+ "/language/deferred_closurize_load_library_lib.dart",
+ "/language/deferred_closurize_load_library_test.dart",
+ "/language/deferred_constraints_constants_lib.dart",
+ "/language/deferred_constraints_constants_old_syntax_lib.dart",
+ "/language/deferred_constraints_constants_old_syntax_test.dart",
+ "/language/deferred_constraints_constants_test.dart",
+ "/language/deferred_constraints_lib.dart",
+ "/language/deferred_constraints_lib2.dart",
+ "/language/deferred_constraints_old_syntax_lib.dart",
+ "/language/deferred_constraints_type_annotation_old_syntax_test.dart",
+ "/language/deferred_constraints_type_annotation_test.dart",
+ "/language/deferred_duplicate_prefix1_test.dart",
+ "/language/deferred_duplicate_prefix2_test.dart",
+ "/language/deferred_duplicate_prefix3_test.dart",
+ "/language/deferred_load_inval_code_lib.dart",
+ "/language/deferred_load_inval_code_test.dart",
+ "/language/deferred_load_library_wrong_args_lib.dart",
+ "/language/deferred_load_library_wrong_args_test.dart",
+ "/language/deferred_no_prefix_test.dart",
+ "/language/deferred_no_such_method_lib.dart",
+ "/language/deferred_no_such_method_test.dart",
+ "/language/deferred_not_loaded_check_lib.dart",
+ "/language/deferred_not_loaded_check_test.dart",
+ "/language/deferred_prefix_constraints_lib.dart",
+ "/language/deferred_prefix_constraints_lib2.dart",
+ "/language/deferred_shadow_load_library_lib.dart",
+ "/language/deferred_shadow_load_library_test.dart",
- "/language/bad_constructor_test.dart",
- "/language/black_listed_test.dart",
- "/language/built_in_identifier_illegal_test.dart",
- "/language/built_in_identifier_prefix_test.dart",
- "/language/built_in_identifier_test.dart",
- "/language/class_cycle2_test.dart",
- "/language/class_syntax_test.dart",
- "/language/cyclic_typedef_test.dart",
- "/language/external_test.dart",
- "/language/factory3_negative_test.dart",
- "/language/generic_field_mixin4_test.dart",
- "/language/generic_field_mixin5_test.dart",
- "/language/interface_cycle_test.dart",
- "/language/interface_injection1_negative_test.dart",
- "/language/interface_injection2_negative_test.dart",
- "/language/internal_library_test.dart",
- "/language/malformed_inheritance_test.dart",
- "/language/metadata_test.dart",
- "/language/method_override2_test.dart",
- "/language/mixin_illegal_syntax_test.dart",
- "/language/mixin_invalid_inheritance1_test.dart",
- "/language/null_test.dart",
- "/language/override_inheritance_generic_test.dart",
- "/language/prefix18_negative_test.dart",
- "/language/prefix3_negative_test.dart",
- "/language/script2_negative_test.dart",
- "/language/setter_declaration2_negative_test.dart",
- "/language/source_self_negative_test.dart",
- "/language/syntax_test.dart",
- "/language/type_variable_bounds2_test.dart",
- "/language/type_variable_conflict2_test.dart",
- "/language/type_variable_field_initializer_test.dart",
- "/language/type_variable_nested_test.dart",
- "/language/vm/reflect_core_vm_test.dart",
- "/language/vm/regress_14903_test.dart",
+ "/language/bad_constructor_test.dart",
+ "/language/black_listed_test.dart",
+ "/language/built_in_identifier_illegal_test.dart",
+ "/language/built_in_identifier_prefix_test.dart",
+ "/language/built_in_identifier_test.dart",
+ "/language/class_cycle2_test.dart",
+ "/language/class_syntax_test.dart",
+ "/language/cyclic_typedef_test.dart",
+ "/language/external_test.dart",
+ "/language/factory3_negative_test.dart",
+ "/language/generic_field_mixin4_test.dart",
+ "/language/generic_field_mixin5_test.dart",
+ "/language/interface_cycle_test.dart",
+ "/language/interface_injection1_negative_test.dart",
+ "/language/interface_injection2_negative_test.dart",
+ "/language/internal_library_test.dart",
+ "/language/malformed_inheritance_test.dart",
+ "/language/metadata_test.dart",
+ "/language/method_override2_test.dart",
+ "/language/mixin_illegal_syntax_test.dart",
+ "/language/mixin_invalid_inheritance1_test.dart",
+ "/language/null_test.dart",
+ "/language/override_inheritance_generic_test.dart",
+ "/language/prefix18_negative_test.dart",
+ "/language/prefix3_negative_test.dart",
+ "/language/script2_negative_test.dart",
+ "/language/setter_declaration2_negative_test.dart",
+ "/language/source_self_negative_test.dart",
+ "/language/syntax_test.dart",
+ "/language/type_variable_bounds2_test.dart",
+ "/language/type_variable_conflict2_test.dart",
+ "/language/type_variable_field_initializer_test.dart",
+ "/language/type_variable_nested_test.dart",
+ "/language/vm/reflect_core_vm_test.dart",
+ "/language/vm/regress_14903_test.dart",
]);
« no previous file with comments | « tests/compiler/dart2js/in_user_code_test.dart ('k') | tests/compiler/dart2js/indentation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698