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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/dart2js/source_maps_include_core_libs_in_subdirectory_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
(Empty)
1 import 'package:path/path.dart' as path;
2 import 'package:scheduled_test/scheduled_test.dart';
3 import '../descriptor.dart' as d;
4 import '../serve/utils.dart';
5 import '../test_pub.dart';
6 main() {
7 initConfig();
8 integration(
9 "Dart core libraries are available to source maps when the "
10 "build directory is a subdirectory",
11 () {
12 d.dir(
13 appPath,
14 [
15 d.appPubspec(),
16 d.dir(
17 "web",
18 [
19 d.dir(
20 "sub",
21 [
22 d.file(
23 "main.dart",
24 "main() => new StringBuffer().writeAll(['s']);") ])])]).create();
25 var webSub = path.join("web", "sub");
26 pubServe(args: [webSub]);
27 requestShouldSucceed(
28 "main.dart.js.map",
29 contains(r"packages/$sdk/lib/core/string_buffer.dart"),
30 root: webSub);
31 requestShouldSucceed(
32 r"packages/$sdk/lib/core/string_buffer.dart",
33 contains("class StringBuffer"),
34 root: webSub);
35 endPubServe();
36 });
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698