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

Unified Diff: pkg/analysis_server/test/analysis/notification_errors_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/test/abstract_context.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis/notification_errors_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart
index 836ed9bcd4d09402b0b1bc33857f321c3c0187ff..3ff1987ed51cb3ffc780772eece3162ccdd66b7c 100644
--- a/pkg/analysis_server/test/analysis/notification_errors_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart
@@ -36,6 +36,22 @@ class NotificationErrorsTest extends AbstractAnalysisTest {
server.handlers = [new AnalysisDomainHandler(server),];
}
+ test_notInAnalysisRoot() {
+ createProject();
+ String otherFile = '/other.dart';
+ addFile(otherFile, 'UnknownType V;');
+ addTestFile('''
+import '/other.dart';
+
+main() {
+ print(V);
+}
+''');
+ return waitForTasksFinished().then((_) {
+ expect(filesErrors[otherFile], isNull);
+ });
+ }
+
test_ParserError() {
createProject();
addTestFile('library lib');
@@ -67,20 +83,4 @@ main() {
expect(error.type, AnalysisErrorType.STATIC_WARNING);
});
}
-
- test_notInAnalysisRoot() {
- createProject();
- String otherFile = '/other.dart';
- addFile(otherFile, 'UnknownType V;');
- addTestFile('''
-import '/other.dart';
-
-main() {
- print(V);
-}
-''');
- return waitForTasksFinished().then((_) {
- expect(filesErrors[otherFile], isNull);
- });
- }
}
« no previous file with comments | « pkg/analysis_server/test/abstract_context.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698