| Index: pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| index 9589874826fa03ce6252c3844e662fb9c6e18f71..72a57c7d76e4e9824bb54a0a3eff8682ba408e19 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| @@ -110,7 +110,9 @@ abstract class DartCompletionContributorTest extends AbstractContextTest {
|
| bool isDeprecated: false,
|
| bool isPotential: false,
|
| String elemFile,
|
| - int elemOffset}) {
|
| + int elemOffset,
|
| + String paramName,
|
| + String paramType}) {
|
| CompletionSuggestion cs =
|
| getSuggest(completion: completion, csKind: csKind, elemKind: elemKind);
|
| if (cs == null) {
|
| @@ -141,6 +143,12 @@ abstract class DartCompletionContributorTest extends AbstractContextTest {
|
| if (elemOffset != null) {
|
| expect(cs.element.location.offset, elemOffset);
|
| }
|
| + if(paramName != null) {
|
| + expect(cs.parameterName, paramName);
|
| + }
|
| + if(paramType != null) {
|
| + expect(cs.parameterType, paramType);
|
| + }
|
| return cs;
|
| }
|
|
|
|
|