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

Side by Side Diff: pkg/analysis_server/test/services/correction/assist_test.dart

Issue 2619623002: Fix code for @failingTest refactoring tests. (Closed)
Patch Set: Also update correction tests. Created 3 years, 11 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
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/fix_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library test.services.correction.assist; 5 library test.services.correction.assist;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; 9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart';
10 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; 10 import 'package:analysis_server/plugin/edit/assist/assist_dart.dart';
(...skipping 4199 matching lines...) Expand 10 before | Expand all | Expand 10 after
4210 } 4210 }
4211 4211
4212 @reflectiveTest 4212 @reflectiveTest
4213 class AssistProcessorTest_Driver extends AssistProcessorTest { 4213 class AssistProcessorTest_Driver extends AssistProcessorTest {
4214 @override 4214 @override
4215 bool get enableNewAnalysisDriver => true; 4215 bool get enableNewAnalysisDriver => true;
4216 4216
4217 @failingTest 4217 @failingTest
4218 @override 4218 @override
4219 test_addTypeAnnotation_local_OK_addImport_notLibraryUnit() { 4219 test_addTypeAnnotation_local_OK_addImport_notLibraryUnit() {
4220 return test_addTypeAnnotation_local_OK_addImport_notLibraryUnit(); 4220 return super.test_addTypeAnnotation_local_OK_addImport_notLibraryUnit();
4221 } 4221 }
4222 4222
4223 @failingTest 4223 @failingTest
4224 @override 4224 @override
4225 test_invalidSelection() { 4225 test_invalidSelection() {
4226 return test_invalidSelection(); 4226 return super.test_invalidSelection();
4227 } 4227 }
4228 } 4228 }
4229 4229
4230 class _DartAssistContextForValues implements DartAssistContext { 4230 class _DartAssistContextForValues implements DartAssistContext {
4231 @override 4231 @override
4232 final Source source; 4232 final Source source;
4233 4233
4234 @override 4234 @override
4235 final int selectionOffset; 4235 final int selectionOffset;
4236 4236
4237 @override 4237 @override
4238 final int selectionLength; 4238 final int selectionLength;
4239 4239
4240 @override 4240 @override
4241 final AnalysisContext analysisContext; 4241 final AnalysisContext analysisContext;
4242 4242
4243 @override 4243 @override
4244 final CompilationUnit unit; 4244 final CompilationUnit unit;
4245 4245
4246 _DartAssistContextForValues(this.source, this.selectionOffset, 4246 _DartAssistContextForValues(this.source, this.selectionOffset,
4247 this.selectionLength, this.analysisContext, this.unit); 4247 this.selectionLength, this.analysisContext, this.unit);
4248 } 4248 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/fix_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698