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

Side by Side Diff: pkg/analysis_server/test/integration/analysis/error_test.dart

Issue 2800283002: updates to the analysis server generated spec doc (Closed)
Patch Set: revert a change from a separate CL Created 3 years, 8 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analysis_server/plugin/protocol/protocol.dart'; 5 import 'package:analysis_server/plugin/protocol/protocol.dart';
6 import 'package:test/test.dart'; 6 import 'package:test/test.dart';
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; 7 import 'package:test_reflective_loader/test_reflective_loader.dart';
8 8
9 import '../integration_tests.dart'; 9 import '../integration_tests.dart';
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 abstract class B { 78 abstract class B {
79 void foo() {} 79 void foo() {}
80 } 80 }
81 abstract class C extends B { 81 abstract class C extends B {
82 void bar() { 82 void bar() {
83 super.foo(); 83 super.foo();
84 } 84 }
85 } 85 }
86 '''); 86 ''');
87 // ignore: deprecated_member_use
87 await sendAnalysisUpdateOptions( 88 await sendAnalysisUpdateOptions(
88 new AnalysisOptions()..enableSuperMixins = true); 89 new AnalysisOptions()..enableSuperMixins = true);
89 standardAnalysisSetup(); 90 standardAnalysisSetup();
90 await analysisFinished; 91 await analysisFinished;
91 expect(currentAnalysisErrors[pathname], isList); 92 expect(currentAnalysisErrors[pathname], isList);
92 List<AnalysisError> errors = currentAnalysisErrors[pathname]; 93 List<AnalysisError> errors = currentAnalysisErrors[pathname];
93 expect(errors, isEmpty); 94 expect(errors, isEmpty);
94 } 95 }
95 } 96 }
96 97
97 @reflectiveTest 98 @reflectiveTest
98 class AnalysisErrorIntegrationTest 99 class AnalysisErrorIntegrationTest
99 extends AbstractAnalysisErrorIntegrationTest {} 100 extends AbstractAnalysisErrorIntegrationTest {}
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/analysis/update_options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698