104 references to VerifyCustomCommitProviderAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (104)
Completion\CompletionProviders\IndexerCompletionProviderTests.cs (5)
97
await
VerifyCustomCommitProviderAsync
("""
131
await
VerifyCustomCommitProviderAsync
("""
189
await
VerifyCustomCommitProviderAsync
($@"
229
await
VerifyCustomCommitProviderAsync
($@"
490
await
VerifyCustomCommitProviderAsync
("""
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (7)
332
await
VerifyCustomCommitProviderAsync
($@"
367
await
VerifyCustomCommitProviderAsync
($@"
402
await
VerifyCustomCommitProviderAsync
($@"
468
await
VerifyCustomCommitProviderAsync
($@"
546
await
VerifyCustomCommitProviderAsync
($@"
664
await
VerifyCustomCommitProviderAsync
("""
829
await
VerifyCustomCommitProviderAsync
("""
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (59)
942
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Equals(object obj)", expectedCodeAfterCommit);
974
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Something<X>(X arg)", expectedCodeAfterCommit);
997
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Equals(object obj)", expectedCodeAfterCommit);
1020
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Equals(object obj)", expectedCodeAfterCommit);
1053
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int x = 42)", expectedCodeAfterCommit);
1092
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1129
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "M(int i)", expectedCodeAfterCommit);
1158
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1187
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int bar, int quux)", expectedCodeAfterCommit);
1216
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1245
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int bar, int quux)", expectedCodeAfterCommit);
1273
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1302
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1331
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1364
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1390
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1419
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
1456
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1495
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1534
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1566
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1598
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1661
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "this[int i]", expectedCodeAfterCommit);
1689
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1721
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
1754
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo<T>()", expectedCodeAfterCommit);
1789
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo(string? s)", expectedCodeAfterCommit);
1828
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo(string? s)", expectedCodeAfterCommit);
1869
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "ToString()", expectedCodeAfterCommit);
1928
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "this[int i]", expectedCodeAfterCommit);
1967
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "this[int i]", expectedCodeAfterCommit);
2001
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2034
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(Exception e)", expectedCodeAfterCommit);
2067
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(Exception e)", expectedCodeAfterCommit);
2099
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "@class()", expectedCodeAfterCommit);
2136
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "@class", expectedCodeAfterCommit);
2169
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int @class)", expectedCodeAfterCommit);
2202
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int x, ref string y)", expectedCodeAfterCommit);
2235
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(int x, out string y)", expectedCodeAfterCommit);
2270
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "F()", expectedCodeAfterCommit);
2305
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "F()", expectedCodeAfterCommit);
2340
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "F()", expectedCodeAfterCommit);
2375
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "F(int* i)", expectedCodeAfterCommit);
2415
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo", expectedCodeAfterCommit);
2523
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2555
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2587
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2617
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2647
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2685
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
2830
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Prop", expectedCodeAfterCommit);
2869
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Prop", expectedCodeAfterCommit);
2908
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Prop", expectedCodeAfterCommit);
2940
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "M()", expectedCodeAfterCommit);
2980
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "this[int i]", expectedCodeAfterCommit);
3040
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
3111
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo", expectedCodeAfterCommit);
3140
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
3330
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Bar(NS2.Baz baz)", expectedCodeAfterCommit);
Completion\CompletionProviders\OverrideCompletionProviderTests_ExpressionBody.cs (3)
59
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "A", expectedCodeAfterCommit);
87
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "A", expectedCodeAfterCommit);
115
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "A()", expectedCodeAfterCommit);
Completion\CompletionProviders\PartialMethodCompletionProviderTests.cs (16)
425
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
452
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
479
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(T bar)", expectedCodeAfterCommit);
506
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo(T bar)", expectedCodeAfterCommit);
533
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
560
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
593
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
626
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
653
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "goo()", expectedCodeAfterCommit);
752
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo()", expectedCodeAfterCommit);
783
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo()", expectedCodeAfterCommit);
814
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "Goo()", expectedCodeAfterCommit, commitChar: '(');
846
await
VerifyCustomCommitProviderAsync
(text, "PMethod(int i)", expected);
878
await
VerifyCustomCommitProviderAsync
(text, "PMethod(int i)", expected);
910
await
VerifyCustomCommitProviderAsync
(text, "Foo()", expected);
944
await
VerifyCustomCommitProviderAsync
(text, "Foo()", expected);
Completion\CompletionProviders\SemanticSnippetCompletionProviderTests.cs (2)
50
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "cw", expectedCodeAfterCommit);
79
await
VerifyCustomCommitProviderAsync
(markupBeforeCommit, "cw", expectedCodeAfterCommit);
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (12)
836
await
VerifyCustomCommitProviderAsync
(markup, "Bar", expectedCodeAfterCommit, sourceCodeKind: kind);
861
await
VerifyCustomCommitProviderAsync
(markup, "Bar", expectedCodeAfterCommit, sourceCodeKind: kind);
889
await
VerifyCustomCommitProviderAsync
(markup, "Bar", expectedCodeAfterCommit, sourceCodeKind: kind);
921
await
VerifyCustomCommitProviderAsync
(markup, "Barr", expectedCodeAfterCommit, sourceCodeKind: kind);
946
await
VerifyCustomCommitProviderAsync
(markup, "Console", expectedCodeAfterCommit, sourceCodeKind: kind);
1092
await
VerifyCustomCommitProviderAsync
(markup, "My", expectedCodeAfterCommit, sourceCodeKind: kind);
1154
await
VerifyCustomCommitProviderAsync
(markup, "MyAttribute", expectedCodeAfterCommit, sourceCodeKind: kind);
1211
await
VerifyCustomCommitProviderAsync
(markup, "Myattribute", expectedCodeAfterCommit, sourceCodeKind: kind);
1273
await
VerifyCustomCommitProviderAsync
(markup, "Myattribute", expectedCodeAfterCommit, sourceCodeKind: kind);
1323
await
VerifyCustomCommitProviderAsync
(markup, "MyClass", expectedCodeAfterCommit, sourceCodeKind: kind);
1345
await
VerifyCustomCommitProviderAsync
(markup, "MyClass", expectedCodeAfterCommit, sourceCodeKind: kind);
1374
await
VerifyCustomCommitProviderAsync
(markup, "MyClass", expectedCodeAfterCommit, sourceCodeKind: kind);