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

Side by Side Diff: modules/angular2/test/transform/transform_test.dart

Issue 927373004: Initial commit of Dart transformer to generate constructor stubs, see https://github.com/angular/an… (Closed) Base URL: https://github.com/kegluneq/angular.git@master
Patch Set: Fixing review comments Created 5 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 | « modules/angular2/test/transform/common.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library angular2.test; 1 library angular2.test.transform;
2 2
3 import 'dart:io'; 3 import 'dart:io';
4 import 'package:barback/barback.dart'; 4 import 'package:barback/barback.dart';
5 import 'package:angular2/transformer.dart'; 5 import 'package:angular2/transformer.dart';
6 import 'package:code_transformers/tests.dart'; 6 import 'package:code_transformers/tests.dart';
7 import 'package:dart_style/dart_style.dart'; 7 import 'package:dart_style/dart_style.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 import 'package:unittest/vm_config.dart'; 9 import 'package:unittest/vm_config.dart';
10 10
11 import 'common.dart'; 11 import 'common.dart';
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 config.assetPathToExpectedOutputPath[key] = cache.putIfAbsent(value, () { 117 config.assetPathToExpectedOutputPath[key] = cache.putIfAbsent(value, () {
118 var code = new File(value).readAsStringSync(); 118 var code = new File(value).readAsStringSync();
119 return value.endsWith('dart') ? formatter.format(code) : code; 119 return value.endsWith('dart') ? formatter.format(code) : code;
120 }); 120 });
121 }); 121 });
122 testPhases(config.name, [ 122 testPhases(config.name, [
123 [transform] 123 [transform]
124 ], config.assetPathToInputPath, config.assetPathToExpectedOutputPath, []); 124 ], config.assetPathToInputPath, config.assetPathToExpectedOutputPath, []);
125 } 125 }
126 } 126 }
OLDNEW
« no previous file with comments | « modules/angular2/test/transform/common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698