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

Unified Diff: pkg/analyzer/test/file_system/memory_file_system_test.dart

Issue 1399873002: Issue 24538. Route SDK results into SDK context DartWorkManager. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « pkg/analyzer/lib/src/task/dart_work_manager.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/file_system/memory_file_system_test.dart
diff --git a/pkg/analyzer/test/file_system/memory_file_system_test.dart b/pkg/analyzer/test/file_system/memory_file_system_test.dart
index 3d239ae8a1894e82e5a767a57939d0a271127f5c..d0d3e5573f87f201b6cfbf26e8300fe27666ebab 100644
--- a/pkg/analyzer/test/file_system/memory_file_system_test.dart
+++ b/pkg/analyzer/test/file_system/memory_file_system_test.dart
@@ -339,6 +339,13 @@ class MemoryFileSourceExistingTest {
expect(relative.path, '/foo/bar/baz.dart');
}
+ void test_resolveRelative_dart() {
+ File file = provider.newFile('/sdk/lib/core/core.dart', '');
+ Source source = file.createSource(Uri.parse('dart:core'));
+ Uri resolved = source.resolveRelativeUri(Uri.parse('int.dart'));
+ expect(resolved.toString(), 'dart:core/int.dart');
+ }
+
void test_shortName() {
expect(source.shortName, 'test.dart');
}
« no previous file with comments | « pkg/analyzer/lib/src/task/dart_work_manager.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698