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

Side by Side Diff: pkg/barback/test/package_graph/transform_test.dart

Issue 19402003: Rename several classes in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « pkg/barback/test/package_graph/source_test.dart ('k') | pkg/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.asset_graph.transform_test; 5 library barback.test.package_graph.transform_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/asset_graph.dart';
11 import 'package:scheduled_test/scheduled_test.dart'; 10 import 'package:scheduled_test/scheduled_test.dart';
12 11
13 import '../utils.dart'; 12 import '../utils.dart';
14 13
15 main() { 14 main() {
16 initConfig(); 15 initConfig();
17 test("gets a transformed asset with a different path", () { 16 test("gets a transformed asset with a different path", () {
18 initGraph(["app|foo.blub"], {"app": [ 17 initGraph(["app|foo.blub"], {"app": [
19 [new RewriteTransformer("blub", "blab")] 18 [new RewriteTransformer("blub", "blab")]
20 ]}); 19 ]});
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 schedule(() => updateSources(["pkg2|foo.txt"])); 401 schedule(() => updateSources(["pkg2|foo.txt"]));
403 expectAsset("pkg1|foo.out", "foo.out"); 402 expectAsset("pkg1|foo.out", "foo.out");
404 buildShouldNotBeDone(); 403 buildShouldNotBeDone();
405 404
406 // Now that the provider is unpaused, pkg2's transforms finish and the 405 // Now that the provider is unpaused, pkg2's transforms finish and the
407 // overall build succeeds. 406 // overall build succeeds.
408 resumeProvider(); 407 resumeProvider();
409 buildShouldSucceed(); 408 buildShouldSucceed();
410 }); 409 });
411 } 410 }
OLDNEW
« no previous file with comments | « pkg/barback/test/package_graph/source_test.dart ('k') | pkg/barback/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698