71 references to VerifyProviderCommitAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (71)
Completion\CompletionProviders\CrefCompletionProviderTests.cs (4)
278await VerifyProviderCommitAsync(text, "Enumerator", expected, ' '); 344await VerifyProviderCommitAsync(text, "@void", expected, ' '); 409await VerifyProviderCommitAsync(text, "List{T}", expected, '{'); 432await VerifyProviderCommitAsync(text, "goo(int)", expected, '(');
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (1)
1771await VerifyProviderCommitAsync(markup, "E.A", expected, ';');
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (32)
144await VerifyProviderCommitAsync(markup, "Goo()", expected, null); 461await VerifyProviderCommitAsync(markup, "Generic<K, V>(K key, V value)", expected, '\t'); 491await VerifyProviderCommitAsync(markup, "Generic<K, V>(K key, V value)", expected, '<'); 524await VerifyProviderCommitAsync(markup, "Generic(K key, V value)", expected, '\t'); 587await VerifyProviderCommitAsync(markup, "this[K key, V value]", expected, '\t'); 617await VerifyProviderCommitAsync(markup, "this[K key, V value]", expected, '['); 647await VerifyProviderCommitAsync(markup, "this[K key, V value]", expected, '\t'); 677await VerifyProviderCommitAsync(markup, "this[K key, V value]", expected, '['); 724await VerifyProviderCommitAsync(markup, $"M({refKind} S s)", expected, '\t'); 757await VerifyProviderCommitAsync(markup, "operator int(Test2 x)", expected, '\t'); 792await VerifyProviderCommitAsync(markup, "operator true(C x)", expected, '\t'); 825await VerifyProviderCommitAsync(markup, "operator +(C x)", expected, '\t'); 858await VerifyProviderCommitAsync(markup, "operator +(C x, C y)", expected, '\t'); 891await VerifyProviderCommitAsync(markup, "M(params string[] args)", expected, '\t'); 928await VerifyProviderCommitAsync(markup, "M(params IEnumerable<string> args)", expected, '\t'); 965await VerifyProviderCommitAsync(markup, "M<T>(T? x)", expected, '\t'); 998await VerifyProviderCommitAsync(markup, "M(string @class)", expected, '\t'); 1031await VerifyProviderCommitAsync(markup, "M<@class>()", expected, '\t'); 1063await VerifyProviderCommitAsync(markup, "M(int x)", expected, '\t'); 1100await VerifyProviderCommitAsync(markup, "operator checked -(C x)", expected, '\t'); 1137await VerifyProviderCommitAsync(markup, "operator checked +(C x, C y)", expected, '\t'); 1174await VerifyProviderCommitAsync(markup, "operator checked string(C3 x)", expected, '\t'); 1326await VerifyProviderCommitAsync(markup, "Generic<K, V>(K key, V value)", expected, '\t'); 1361await VerifyProviderCommitAsync(markup, "operator true(C x)", expected, '\t'); 1394await VerifyProviderCommitAsync(markup, "Goo(ref int a, out int b)", expected, '\t'); 1424await VerifyProviderCommitAsync(markup, "Goo", expected, '\t'); 1467await VerifyProviderCommitAsync(markup, "Goo", expected, '\t'); 1497await VerifyProviderCommitAsync(markup, "Goo", expected, '\t'); 1540await VerifyProviderCommitAsync(markup, "Goo", expected, '\t'); 1570await VerifyProviderCommitAsync(markup, "this[int a, C b]", expected, '\t'); 1642await VerifyProviderCommitAsync(markup, "Method()", expected, '\t'); 1717await VerifyProviderCommitAsync(markup, "Method1()", expected, '\t');
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (1)
1981await VerifyProviderCommitAsync(markup, "ToInt", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular);
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (3)
303await VerifyProviderCommitAsync(markupBeforeCommit, "get", expectedCodeAfterCommit, commitChar: ';'); 326await VerifyProviderCommitAsync(markupBeforeCommit, "set", expectedCodeAfterCommit, commitChar: ';'); 349await VerifyProviderCommitAsync(markupBeforeCommit, "return", expectedCodeAfterCommit, commitChar: ';');
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (2)
501await VerifyProviderCommitAsync(markup, "args:", expected, ':'); 526await VerifyProviderCommitAsync(markup, "args:", expected, ':');
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (10)
222await VerifyProviderCommitAsync(markup, "D", expected, '('); 334await VerifyProviderCommitAsync(markup, "object", expected, '('); 362await VerifyProviderCommitAsync(markup, "object", expected, '('); 386await VerifyProviderCommitAsync(markup, "object", expected, '{'); 414await VerifyProviderCommitAsync(markup, "object", expected, '{'); 695await VerifyProviderCommitAsync(markup, "object", expectedMark, commitChar: commitChar); 719await VerifyProviderCommitAsync(markup, "object", expectedMark, commitChar: commitChar); 743await VerifyProviderCommitAsync(markup, "string", expectedMark, commitChar: commitChar); 769await VerifyProviderCommitAsync(markup, "List<int>", expectedMark, commitChar: commitChar); 787await VerifyProviderCommitAsync(markup, "List<int>", expectedMark, commitChar: ';');
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (7)
78await VerifyProviderCommitAsync(text, "C<Bar>", expected, '<'); 100await VerifyProviderCommitAsync(text, "C<Bar>", expected, null); 118await VerifyProviderCommitAsync(text, "C<T>", expected, ' '); 257await VerifyProviderCommitAsync(text, "C1<T>", expected, null); 295await VerifyProviderCommitAsync(text, "@class", expected, null); 313await VerifyProviderCommitAsync(text, "@class<T>", expected, null); 331await VerifyProviderCommitAsync(text, "I<out T>", expected, null);
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (7)
12320await VerifyProviderCommitAsync(markup, "Foo", expected, commitChar: commitChar); 12356await VerifyProviderCommitAsync(markup, "Foo", expected, commitChar: commitChar); 12396await VerifyProviderCommitAsync(markup, "Foo", expected, commitChar: commitChar); 12422await VerifyProviderCommitAsync(markup, "Program", expected, commitChar: commitChar); 12448await VerifyProviderCommitAsync(markup, "Program", expected, commitChar: commitChar); 12482await VerifyProviderCommitAsync(markup, "String2", expected, commitChar: commitChar); 12512await VerifyProviderCommitAsync(markup, "Bar", expected, commitChar: ';');
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (3)
1603await VerifyProviderCommitAsync(markup, "C", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular); 1648await VerifyProviderCommitAsync(markup, "C", expected, commitChar: commitChar, sourceCodeKind: SourceCodeKind.Regular); 1693await VerifyProviderCommitAsync(markup, "MyClass", expectedCodeAfterCommit, commitChar: null, sourceCodeKind: kind);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (1)
789await VerifyProviderCommitAsync(text, "langword", expected, null);