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

Side by Side Diff: test/codegen_test.dart

Issue 1641643004: Roll analyzer to 0.27.2-alpha.1 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rerun tests and format Created 4 years, 10 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
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Tests code generation. 5 /// Tests code generation.
6 /// Runs Dart Dev Compiler on all input in the `codegen` directory and checks 6 /// Runs Dart Dev Compiler on all input in the `codegen` directory and checks
7 /// that the output is what we expected. 7 /// that the output is what we expected.
8 library dev_compiler.test.codegen_test; 8 library dev_compiler.test.codegen_test;
9 9
10 import 'dart:io'; 10 import 'dart:io';
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 244 }
245 }); 245 });
246 } 246 }
247 247
248 /// An implementation of analysis engine's [Logger] that prints. 248 /// An implementation of analysis engine's [Logger] that prints.
249 class PrintLogger implements Logger { 249 class PrintLogger implements Logger {
250 @override void logError(String message, [CaughtException exception]) { 250 @override void logError(String message, [CaughtException exception]) {
251 print('[AnalysisEngine] error $message $exception'); 251 print('[AnalysisEngine] error $message $exception');
252 } 252 }
253 253
254 @override void logError2(String message, Object exception) {
255 print('[AnalysisEngine] error $message $exception');
256 }
257
258 void logInformation(String message, [CaughtException exception]) {} 254 void logInformation(String message, [CaughtException exception]) {}
259 void logInformation2(String message, Object exception) {} 255 void logInformation2(String message, Object exception) {}
260 } 256 }
OLDNEW
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698