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

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

Issue 23201013: pkg/barback: removed unused imports, added a missing import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
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.package_graph.source_test; 5 library barback.test.package_graph.source_test;
6 6
7 import 'dart:async';
8
9 import 'package:barback/barback.dart';
10 import 'package:barback/src/utils.dart'; 7 import 'package:barback/src/utils.dart';
11 import 'package:scheduled_test/scheduled_test.dart'; 8 import 'package:scheduled_test/scheduled_test.dart';
12 9
13 import '../utils.dart'; 10 import '../utils.dart';
14 11
15 main() { 12 main() {
16 initConfig(); 13 initConfig();
17 14
18 test("errors if two transformers output the same file", () { 15 test("errors if two transformers output the same file", () {
19 initGraph(["app|foo.a"], {"app": [ 16 initGraph(["app|foo.a"], {"app": [
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 324
328 updateSources(["app|foo.txt"]); 325 updateSources(["app|foo.txt"]);
329 expectAsset("app|foo.txt", "foo"); 326 expectAsset("app|foo.txt", "foo");
330 buildShouldSucceed(); 327 buildShouldSucceed();
331 328
332 updateSources(["app|foo.in"]); 329 updateSources(["app|foo.in"]);
333 expectAsset("app|foo.txt", "foo"); 330 expectAsset("app|foo.txt", "foo");
334 buildShouldFail([isAssetCollisionException("app|foo.txt")]); 331 buildShouldFail([isAssetCollisionException("app|foo.txt")]);
335 }); 332 });
336 } 333 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698