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

Side by Side Diff: sdk/lib/_internal/pub/test/transformer/dart2js/output_can_be_consumed_by_successive_phases.dart

Issue 141113011: Support directories other than "web" in pub build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 10 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 d.file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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';
8
9 import '../../descriptor.dart' as d; 7 import '../../descriptor.dart' as d;
10 import '../../test_pub.dart'; 8 import '../../test_pub.dart';
11 import '../../serve/utils.dart'; 9 import '../../serve/utils.dart';
12 10
13 /// The code for a transformer that renames ".js" files to ".out". 11 /// The code for a transformer that renames ".js" files to ".out".
14 const JS_REWRITE_TRANSFORMER = """ 12 const JS_REWRITE_TRANSFORMER = """
15 import 'dart:async'; 13 import 'dart:async';
16 14
17 import 'package:barback/barback.dart'; 15 import 'package:barback/barback.dart';
18 16
(...skipping 26 matching lines...) Expand all
45 d.dir("web", [d.file("main.dart", "void main() {}")]) 43 d.dir("web", [d.file("main.dart", "void main() {}")])
46 ]).create(); 44 ]).create();
47 45
48 createLockFile('myapp', pkg: ['barback']); 46 createLockFile('myapp', pkg: ['barback']);
49 47
50 pubServe(); 48 pubServe();
51 requestShouldSucceed("main.dart.out", isUnminifiedDart2JSOutput); 49 requestShouldSucceed("main.dart.out", isUnminifiedDart2JSOutput);
52 endPubServe(); 50 endPubServe();
53 }); 51 });
54 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698