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

Side by Side Diff: test/transformer_test.dart

Issue 1672563002: e2e test for transformer (webdriver + pub serve) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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/transformer_e2e_test.dart ('k') | tool/transformer_test.sh » ('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) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
1 library dev_compiler.test.transformer.transformer_test; 5 library dev_compiler.test.transformer.transformer_test;
2 6
3 import 'package:barback/barback.dart' show BarbackMode, BarbackSettings; 7 import 'package:barback/barback.dart' show BarbackMode, BarbackSettings;
4 import 'package:dev_compiler/transformer.dart'; 8 import 'package:dev_compiler/transformer.dart';
5 import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles; 9 import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles;
6 import 'package:test/test.dart'; 10 import 'package:test/test.dart';
7 import 'package:transformer_test/utils.dart'; 11 import 'package:transformer_test/utils.dart';
8 12
9 makePhases([Map config = const {}]) => [ 13 makePhases([Map config = const {}]) => [
10 [ 14 [
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 91 }
88 ''' 92 '''
89 }), 93 }),
90 {}, 94 {},
91 [ 95 [
92 "warning: A value of type \'String\' cannot be assigned to a variable of type \'int\' (package:foo/Foo.dart 3 19)", 96 "warning: A value of type \'String\' cannot be assigned to a variable of type \'int\' (package:foo/Foo.dart 3 19)",
93 "error: Type check failed: '2' (String) is not of type int (package:fo o/Foo.dart 3 19)" 97 "error: Type check failed: '2' (String) is not of type int (package:fo o/Foo.dart 3 19)"
94 ]); 98 ]);
95 }); 99 });
96 } 100 }
OLDNEW
« no previous file with comments | « test/transformer_e2e_test.dart ('k') | tool/transformer_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698