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

Side by Side Diff: packages/barback/test/transformer_test.dart

Issue 3014633002: Roll to pickup pool changes (Closed)
Patch Set: Created 3 years, 2 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/barback/test/transformer/mock_aggregate.dart ('k') | packages/barback/test/utils.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 4
5 library barback.test.transformer_test; 5 library barback.test.transformer_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:barback/barback.dart'; 9 import 'package:barback/barback.dart';
10 import 'package:barback/src/utils.dart';
11 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
12 11
13 import 'utils.dart'; 12 import 'utils.dart';
14 13
15 main() { 14 main() {
16 initConfig(); 15 initConfig();
17 16
18 group("isPrimary", () { 17 group("isPrimary", () {
19 test("defaults to allowedExtensions", () { 18 test("defaults to allowedExtensions", () {
20 var transformer = new ExtensionTransformer(".txt .bin"); 19 var transformer = new ExtensionTransformer(".txt .bin");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 53
55 Future apply(Transform transform) => new Future.value(); 54 Future apply(Transform transform) => new Future.value();
56 } 55 }
57 56
58 class ExtensionTransformer extends Transformer { 57 class ExtensionTransformer extends Transformer {
59 final String allowedExtensions; 58 final String allowedExtensions;
60 59
61 ExtensionTransformer(this.allowedExtensions); 60 ExtensionTransformer(this.allowedExtensions);
62 61
63 Future apply(Transform transform) => new Future.value(); 62 Future apply(Transform transform) => new Future.value();
64 } 63 }
OLDNEW
« no previous file with comments | « packages/barback/test/transformer/mock_aggregate.dart ('k') | packages/barback/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698