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

Side by Side Diff: packages/initialize/test/common.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 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 | « packages/initialize/pubspec.yaml ('k') | packages/initialize/test/cycle_a.dart » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library initialize.test.build.common; 4 library initialize.test.build.common;
5 5
6 import 'package:barback/barback.dart'; 6 import 'package:barback/barback.dart';
7 import 'package:code_transformers/src/test_harness.dart'; 7 import 'package:transformer_test/src/test_harness.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:test/test.dart';
9 9
10 testPhases(String testName, List<List<Transformer>> phases, 10 testPhases(String testName, List<List<Transformer>> phases,
11 Map<String, String> inputFiles, Map<String, String> expectedFiles, 11 Map<String, String> inputFiles, Map<String, String> expectedFiles,
12 [List<String> expectedMessages]) { 12 [List<String> expectedMessages]) {
13 test(testName, () { 13 test(testName, () {
14 var helper = new TestHelper(phases, inputFiles, expectedMessages)..run(); 14 var helper = new TestHelper(phases, inputFiles, expectedMessages)..run();
15 return helper.checkAll(expectedFiles).whenComplete(() => helper.tearDown()); 15 return helper.checkAll(expectedFiles).whenComplete(() => helper.tearDown());
16 }); 16 });
17 } 17 }
18 18
(...skipping 23 matching lines...) Expand all
42 final dynamic _value; 42 final dynamic _value;
43 const DynamicInit(this._value); 43 const DynamicInit(this._value);
44 } 44 }
45 45
46 class NamedArgInit extends Initializer<dynamic> { 46 class NamedArgInit extends Initializer<dynamic> {
47 final dynamic _first; 47 final dynamic _first;
48 final dynamic name; 48 final dynamic name;
49 const NamedArgInit(this._first, {this.name}); 49 const NamedArgInit(this._first, {this.name});
50 } 50 }
51 '''; 51 ''';
OLDNEW
« no previous file with comments | « packages/initialize/pubspec.yaml ('k') | packages/initialize/test/cycle_a.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698