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

Unified Diff: tests/compiler/dart2js/import_mirrors_test.dart

Issue 1162363004: Support Package Resolution Configuration files. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/expect_annotations_test.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/import_mirrors_test.dart
diff --git a/tests/compiler/dart2js/import_mirrors_test.dart b/tests/compiler/dart2js/import_mirrors_test.dart
index cbe044bb33a932f364b1f9b3769a3f56774a62de..f5f799be74a36e99b557e3cc66d75aa8e8a4b2b8 100644
--- a/tests/compiler/dart2js/import_mirrors_test.dart
+++ b/tests/compiler/dart2js/import_mirrors_test.dart
@@ -66,16 +66,16 @@ import 'first.dart';
main() {}
''',
'/first.dart': '''
-import 'package:second.dart';
+import 'package:second/second.dart';
''',
- '/pkg/second.dart': '''
+ '/pkg/second/second.dart': '''
import 'dart:mirrors';
''',
'paths':
- "first.dart => package:second.dart => dart:mirrors",
+ "first.dart => package:second => dart:mirrors",
'verbosePaths':
- "main.dart => first.dart => package:second.dart => dart:mirrors",
+ "main.dart => first.dart => package:second/second.dart => dart:mirrors",
};
const INDIRECT_PACKAGE_IMPORT2 = const {
@@ -85,16 +85,16 @@ import 'first.dart';
main() {}
''',
'/first.dart': '''
-import 'package:package-name/second.dart';
+import 'package:packagename/second.dart';
''',
- '/pkg/package-name/second.dart': '''
+ '/pkg/packagename/second.dart': '''
import 'dart:mirrors';
''',
'paths':
- "first.dart => package:package-name => dart:mirrors",
+ "first.dart => package:packagename => dart:mirrors",
'verbosePaths':
- "main.dart => first.dart => package:package-name/second.dart "
+ "main.dart => first.dart => package:packagename/second.dart "
"=> dart:mirrors",
};
@@ -306,16 +306,16 @@ import 'first.dart';
main() {}
''',
'/first.dart': '''
-import 'package:package-name/second.dart';
+import 'package:packagename/second.dart';
''',
- '/pkg/package-name/second.dart': '''
+ '/pkg/packagename/second.dart': '''
export 'dart:mirrors';
''',
'paths':
- "first.dart => package:package-name => dart:mirrors",
+ "first.dart => package:packagename => dart:mirrors",
'verbosePaths':
- "main.dart => first.dart => package:package-name/second.dart "
+ "main.dart => first.dart => package:packagename/second.dart "
"=> dart:mirrors",
};
@@ -326,16 +326,16 @@ import 'first.dart';
main() {}
''',
'/first.dart': '''
-export 'package:package-name/second.dart';
+export 'package:packagename/second.dart';
''',
- '/pkg/package-name/second.dart': '''
+ '/pkg/packagename/second.dart': '''
import 'dart:mirrors';
''',
'paths':
- "first.dart => package:package-name => dart:mirrors",
+ "first.dart => package:packagename => dart:mirrors",
'verbosePaths':
- "main.dart => first.dart => package:package-name/second.dart "
+ "main.dart => first.dart => package:packagename/second.dart "
"=> dart:mirrors",
};
« no previous file with comments | « tests/compiler/dart2js/expect_annotations_test.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698