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

Unified Diff: pkg/analysis_server/test/analysis_notification_navigation_test.dart

Issue 352773003: Restore the navigation test for an unresolved part URI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/analysis_server/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis_notification_navigation_test.dart
diff --git a/pkg/analysis_server/test/analysis_notification_navigation_test.dart b/pkg/analysis_server/test/analysis_notification_navigation_test.dart
index a74fc842962c29d460e3a5e9a72dbfd500c8bd4e..f51041c319dd4b4801ce2c1fadeba969d4d46605 100644
--- a/pkg/analysis_server/test/analysis_notification_navigation_test.dart
+++ b/pkg/analysis_server/test/analysis_notification_navigation_test.dart
@@ -446,15 +446,13 @@ part "test_unit.dart";
}
test_string_part_unresolvedUri() {
- // TODO(scheglov) why do we throw MemoryResourceException here?
- // This Source/File does not exist.
-// addTestFile('''
-//library lib;
-//part "test_unit.dart";
-//''');
-// return prepareNavigation(() {
-// assertNoRegionString('part "test_unit.dart"');
-// });
+ addTestFile('''
+library lib;
+part "test_unit.dart";
+''');
+ return prepareNavigation(() {
+ assertNoRegionString('part "test_unit.dart"');
+ });
}
test_targetElement() {
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698