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

Side by Side Diff: tests/compiler/dart2js/dart2js_batch_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:path/path.dart' as path; 9 import 'package:path/path.dart' as path;
10 import 'package:async_helper/async_helper.dart'; 10 import 'package:async_helper/async_helper.dart';
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 Expect.equals(4, ">>> EOF STDERR".allMatches(stderrOutput).length); 79 Expect.equals(4, ">>> EOF STDERR".allMatches(stderrOutput).length);
80 Expect.equals(4, ">>>".allMatches(stderrOutput).length); 80 Expect.equals(4, ">>>".allMatches(stderrOutput).length);
81 81
82 Expect.equals(2, ">>> TEST OK".allMatches(stdoutOutput).length); 82 Expect.equals(2, ">>> TEST OK".allMatches(stdoutOutput).length);
83 Expect.equals(2, ">>> TEST FAIL".allMatches(stdoutOutput).length); 83 Expect.equals(2, ">>> TEST FAIL".allMatches(stdoutOutput).length);
84 Expect.equals(4, ">>>".allMatches(stdoutOutput).length); 84 Expect.equals(4, ">>>".allMatches(stdoutOutput).length);
85 }); 85 });
86 } 86 }
87 87
88 void main() { 88 void main() {
89 var tmpDir;
90 asyncTest(() { 89 asyncTest(() {
91 return setup().then(launchDart2Js).then(runTests).whenComplete(cleanUp); 90 return setup().then(launchDart2Js).then(runTests).whenComplete(cleanUp);
92 }); 91 });
93 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698