125 references to TestActionCountAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (70)
AddFileBanner\AddFileBannerTests.cs (1)
297await TestActionCountAsync(initialMarkup, expectedActionCount);
AddParameterTests.cs (3)
2174await TestActionCountAsync(code, 1); 2568await TestActionCountAsync(code, 1); 2598await TestActionCountAsync(code, 1);
AddUsing\AddUsingTests.cs (3)
362await TestActionCountAsync( 2149await TestActionCountAsync(input, 2); 4789await TestActionCountAsync(code, count: 1);
CodeActions\ConvertLinq\ConvertForEachToLinqQueryTests.cs (4)
198await TestActionCountAsync(source, count: 1); 412await TestActionCountAsync(source, count: 1); 4172await TestActionCountAsync(source, count: 1); 4347await TestActionCountAsync(source, count: 1);
CodeActions\EncapsulateField\EncapsulateFieldTests.cs (3)
808await TestActionCountAsync(text, 2, new TestParameters(testHost: host)); 1099await TestActionCountAsync(text, count: 2, new TestParameters(testHost: host)); 1113await TestActionCountAsync(text, count: 2, new TestParameters(testHost: host));
CodeActions\IntroduceVariable\IntroduceVariableTests.cs (5)
283await TestActionCountAsync(code, count: 0); 325await TestActionCountAsync(code, count: 0); 1109await TestActionCountAsync( 5699await TestActionCountAsync(code, count: 2, parameters: new TestParameters(TestOptions.Regular)); 5706await TestActionCountAsync(
CodeActions\MoveType\MoveTypeTests.ActionCountTests.cs (10)
28await TestActionCountAsync(code, count: 2); 42await TestActionCountAsync(code, count: 2); 56await TestActionCountAsync(code, count: 2); 70await TestActionCountAsync(code, count: 2); 83await TestActionCountAsync(code, count: 2); 99await TestActionCountAsync(code, count: 2); 117await TestActionCountAsync(code, count: 2); 251await TestActionCountAsync(code, count: 1); 269await TestActionCountAsync(code, count: 3); 295await TestActionCountAsync(code, count: 5);
CodeActions\MoveType\MoveTypeTests.MoveToNewFile.cs (3)
46await TestActionCountAsync(code, count: 2); 56await TestActionCountAsync(code, count: 3); 106await TestActionCountAsync(code, count: 3);
CodeActions\ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.cs (1)
1720await TestActionCountAsync(
Diagnostics\GenerateMethod\GenerateMethodTests.cs (1)
1982await TestActionCountAsync(
Diagnostics\GenerateType\GenerateTypeTests.cs (3)
193await TestActionCountAsync( 907await TestActionCountAsync( 4584await TestActionCountAsync(
Diagnostics\Suppression\SuppressionTests.cs (2)
981await TestActionCountAsync( 1018await TestActionCountAsync(
FullyQualify\FullyQualifyTests.cs (3)
302await TestActionCountAsync( 1047await TestActionCountAsync(@"[ assembly : [|Guid|] ( ""9ed54f84-a89d-4fcd-a854-44251e925f09"" ) ] ", 2, new TestParameters(testHost: testHost)); 1385await TestActionCountAsync(code, count: 1, new TestParameters(testHost: testHost));
GenerateConstructor\GenerateConstructorTests.cs (4)
171await TestActionCountAsync(input, 1); 242await TestActionCountAsync(input, 1); 1218await TestActionCountAsync(input, 1); 4946await TestActionCountAsync(input, 1);
GenerateVariable\GenerateVariableTests.cs (4)
1068await TestActionCountAsync( 1173await TestActionCountAsync( 3149await TestActionCountAsync( 4251await TestActionCountAsync(
MakeMethodAsynchronousTests.cs (1)
96await TestActionCountAsync(initial, count: 1, new TestParameters(compilationOptions: new CSharpCompilationOptions(OutputKind.ConsoleApplication)));
PullMemberUp\CSharpPullMemberUpTests.cs (1)
80await TestActionCountAsync(testText, 0);
SimplifyTypeNames\SimplifyTypeNamesTests.cs (7)
247await TestActionCountAsync(source, 1); 1147await TestActionCountAsync( 1239await TestActionCountAsync(source, 1); 1280await TestActionCountAsync(source, 1); 1491await TestActionCountAsync(source, 1); 1539await TestActionCountAsync(source, 1); 1617await TestActionCountAsync(source, 1);
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_Middle.cs (3)
46await TestActionCountAsync(Initial, 1); 82await TestActionCountAsync(Initial, 1); 131await TestActionCountAsync(Initial, 2);
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_Statements_Middle.cs (3)
46await TestActionCountAsync(Initial, 1); 82await TestActionCountAsync(Initial, 1); 125await TestActionCountAsync(Initial, 2);
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithNested.cs (3)
446await TestActionCountAsync(Initial, 1); 489await TestActionCountAsync(Initial, 1); 542await TestActionCountAsync(Initial, 2);
UseInferredMemberNameTests.cs (2)
77await TestActionCountAsync( 93await TestActionCountAsync(
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (1)
884await TestActionCountAsync(input, outputs.Length, parameters);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (54)
AddFileBanner\AddFileBannerTests.vb (1)
298Await TestActionCountAsync(initialMarkup, expectedActionCount)
AddParameterTests.vb (1)
1059Await TestActionCountAsync(code, 1)
CodeActions\EncapsulateField\EncapsulateFieldTests.vb (1)
479Await TestActionCountAsync(text, 2, New TestParameters(testHost:=host))
CodeActions\IntroduceVariable\IntroduceVariableTests.vb (4)
645Await TestActionCountAsync( 681Await TestActionCountAsync( 1100Await TestActionCountAsync( 1455Await TestActionCountAsync(
CodeActions\MoveType\MoveTypeTests.ActionCountTests.vb (12)
19Await TestActionCountAsync(code, count:=2) 31Await TestActionCountAsync(code, count:=2) 43Await TestActionCountAsync(code, count:=2) 57Await TestActionCountAsync(code, count:=2) 72Await TestActionCountAsync(code, count:=2) 86Await TestActionCountAsync(code, count:=0) 96Await TestActionCountAsync(code, count:=0) 108Await TestActionCountAsync(code, count:=0) 121Await TestActionCountAsync(code, count:=0) 136Await TestActionCountAsync(code, count:=1) 151Await TestActionCountAsync(code, count:=3) 172Await TestActionCountAsync(code, count:=5)
Diagnostics\AddImport\AddImportTests.vb (1)
539Await TestActionCountAsync(
Diagnostics\ExitContinue\ExitContinueCodeActionTests.vb (1)
766Await TestActionCountAsync(
Diagnostics\GenerateType\GenerateTypeTests.vb (2)
685Await TestActionCountAsync( 797Await TestActionCountAsync(
Diagnostics\GenerateVariable\GenerateVariableTests.vb (3)
2214Await TestActionCountAsync( 2891Await TestActionCountAsync( 2902Await TestActionCountAsync(
Diagnostics\Spellcheck\SpellcheckTests.vb (4)
319Await TestActionCountAsync(text.ConvertTestSourceTag(), 2) 374Await TestActionCountAsync(text.ConvertTestSourceTag(), 1) 422Await TestActionCountAsync(text.ConvertTestSourceTag(), 3) 457Await TestActionCountAsync(text.ConvertTestSourceTag(), 1)
Diagnostics\Suppression\SuppressionTests.vb (1)
966Await TestActionCountAsync(source.Value, 1)
ImplementInterface\ImplementInterfaceTests.vb (9)
876Await TestActionCountAsync( 1041Await TestActionCountAsync( 1061Await TestActionCountAsync( 1166Await TestActionCountAsync( 1256Await TestActionCountAsync( 1283Await TestActionCountAsync( 1423Await TestActionCountAsync( 1446Await TestActionCountAsync( 1469Await TestActionCountAsync(
SimplifyTypeNames\SimplifyTypeNamesTests.vb (5)
261Await TestActionCountAsync(source, 1) 704Await TestActionCountAsync(source, 1) 840Await TestActionCountAsync(source, 1) 874Await TestActionCountAsync(source, 1) 904Await TestActionCountAsync(source, 1)
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_ElseIf_WithNext.vb (3)
226Await TestActionCountAsync(Initial, 1) 255Await TestActionCountAsync(Initial, 1) 294Await TestActionCountAsync(Initial, 2)
SplitOrMergeIfStatements\MergeConsecutiveIfStatementsTests_Statements_WithNext.vb (3)
145Await TestActionCountAsync(Initial, 1) 184Await TestActionCountAsync(Initial, 1) 231Await TestActionCountAsync(Initial, 2)
SplitOrMergeIfStatements\MergeNestedIfStatementsTests_WithNested.vb (3)
246Await TestActionCountAsync(Initial, 1) 277Await TestActionCountAsync(Initial, 1) 316Await TestActionCountAsync(Initial, 2)