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

Side by Side Diff: pkg/barback/test/asset_set_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.asset_set_test; 5 library barback.test.asset_set_test;
6 6
7 import 'dart:async';
8 import 'dart:io';
9
10 import 'package:barback/barback.dart'; 7 import 'package:barback/barback.dart';
11 import 'package:barback/src/asset_set.dart'; 8 import 'package:barback/src/asset_set.dart';
12 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
13 10
14 import 'utils.dart'; 11 import 'utils.dart';
15 12
16 main() { 13 main() {
17 initConfig(); 14 initConfig();
18 15
19 var fooId = new AssetId.parse("app|foo.txt"); 16 var fooId = new AssetId.parse("app|foo.txt");
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 141
145 test("returns null when removing an asset not in the set", () { 142 test("returns null when removing an asset not in the set", () {
146 var set = new AssetSet(); 143 var set = new AssetSet();
147 var foo = new Asset.fromString(fooId, "foo"); 144 var foo = new Asset.fromString(fooId, "foo");
148 set.add(foo); 145 set.add(foo);
149 146
150 expect(set.removeId(barId), isNull); 147 expect(set.removeId(barId), isNull);
151 }); 148 });
152 }); 149 });
153 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698