| Index: pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/local_computer_test.dart b/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| index 4842d9812b3b4e7c74a969f0cda9ea4135e14c02..7836bb71d64083a514dbce8890838ba04cac872f 100644
|
| --- a/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/local_computer_test.dart
|
| @@ -23,64 +23,4 @@ class LocalComputerTest extends AbstractSelectorSuggestionTest {
|
| super.setUp();
|
| computer = new LocalComputer();
|
| }
|
| -
|
| - test_FunctionExpression_body_function() {
|
| - // Block BlockFunctionBody FunctionExpression
|
| - addTestSource('String foo(List args) {x.then((R b) {^});}');
|
| - expect(computeFast(), isTrue);
|
| - var f = assertSuggestFunction('foo', 'String', false);
|
| - expect(f.element.isPrivate, isFalse);
|
| - assertSuggestParameter('args', 'List');
|
| - assertSuggestParameter('b', 'R');
|
| - }
|
| -
|
| - test_MethodDeclaration_body_getters() {
|
| - // Block BlockFunctionBody MethodDeclaration
|
| - addTestSource('class A {@deprecated X get f => 0; Z a() {^} get _g => 1;}');
|
| - expect(computeFast(), isTrue);
|
| - var a = assertSuggestMethod('a', 'A', 'Z');
|
| - expect(a.element.isDeprecated, isFalse);
|
| - expect(a.element.isPrivate, isFalse);
|
| - var f = assertSuggestGetter('f', 'X');
|
| - expect(f.element.isDeprecated, isTrue);
|
| - expect(f.element.isPrivate, isFalse);
|
| - var g = assertSuggestGetter('_g', null);
|
| - expect(g.element.isDeprecated, isFalse);
|
| - expect(g.element.isPrivate, isTrue);
|
| - }
|
| -
|
| - test_MethodDeclaration_members() {
|
| - // Block BlockFunctionBody MethodDeclaration
|
| - addTestSource('class A {@deprecated X f; Z _a() {^} var _g;}');
|
| - expect(computeFast(), isTrue);
|
| - var a = assertSuggestMethod('_a', 'A', 'Z');
|
| - expect(a.element.isDeprecated, isFalse);
|
| - expect(a.element.isPrivate, isTrue);
|
| - var f = assertSuggestGetter('f', 'X');
|
| - expect(f.element.isDeprecated, isTrue);
|
| - expect(f.element.isPrivate, isFalse);
|
| - var g = assertSuggestGetter('_g', null);
|
| - expect(g.element.isDeprecated, isFalse);
|
| - expect(g.element.isPrivate, isTrue);
|
| - }
|
| -
|
| - test_MethodDeclaration_parameters_named() {
|
| - // Block BlockFunctionBody MethodDeclaration
|
| - addTestSource('class A {@deprecated Z a(X x, {y: boo}) {^}}');
|
| - expect(computeFast(), isTrue);
|
| - var a = assertSuggestMethod('a', 'A', 'Z');
|
| - expect(a.element.isDeprecated, isTrue);
|
| - expect(a.element.isPrivate, isFalse);
|
| - assertSuggestParameter('x', 'X');
|
| - assertSuggestParameter('y', null);
|
| - }
|
| -
|
| - test_MethodDeclaration_parameters_positional() {
|
| - // Block BlockFunctionBody MethodDeclaration
|
| - addTestSource('class A {Z a(X x, [int y=1]) {^}}');
|
| - expect(computeFast(), isTrue);
|
| - assertSuggestMethod('a', 'A', 'Z');
|
| - assertSuggestParameter('x', 'X');
|
| - assertSuggestParameter('y', 'int');
|
| - }
|
| }
|
|
|