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

Side by Side Diff: test/get/cache_transformed_dependency_test.dart

Issue 1096723002: Make pub generate .packages file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 5 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 | « test/descriptor/packages.dart ('k') | test/get/dry_run_does_not_apply_changes_test.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) 2014, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2014, 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 pub_tests; 5 library pub_tests;
6 6
7 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
8 8
9 import '../descriptor.dart' as d; 9 import '../descriptor.dart' as d;
10 import '../test_pub.dart'; 10 import '../test_pub.dart';
11 import '../serve/utils.dart'; 11 import '../serve/utils.dart';
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 Future apply(Transform transform) { 437 Future apply(Transform transform) {
438 return transform.primaryInput.readAsString().then((contents) { 438 return transform.primaryInput.readAsString().then((contents) {
439 transform.addOutput(new Asset.fromString( 439 transform.addOutput(new Asset.fromString(
440 transform.primaryInput.id, 440 transform.primaryInput.id,
441 contents.replaceAll("$input", "$output"))); 441 contents.replaceAll("$input", "$output")));
442 }); 442 });
443 } 443 }
444 } 444 }
445 """; 445 """;
446 } 446 }
OLDNEW
« no previous file with comments | « test/descriptor/packages.dart ('k') | test/get/dry_run_does_not_apply_changes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698