112 references to TestAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (112)
TypeInferrer\TypeInferrerTests.cs (112)
55await TestAsync(text, expectedType, mode); 69await TestAsync(text, expectedType, mode); 243await TestAsync( 286await TestAsync(text, "global::System.Boolean", mode); 303await TestAsync(text, "global::System.Boolean", mode); 319await TestAsync(text, "global::System.Boolean", TestMode.Node); 335await TestAsync(text, "global::System.Boolean", TestMode.Node); 352await TestAsync(text, "global::System.Boolean", mode); 372await TestAsync(text, "Program", TestMode.Node); 393await TestAsync(text, "global::System.Boolean", mode); 409await TestAsync(text, "global::System.Int32", TestMode.Node); 426await TestAsync(text, "global::System.Boolean", mode); 442await TestAsync(text, "global::System.Boolean", TestMode.Node); 458await TestAsync(text, "global::System.Boolean", TestMode.Node); 475await TestAsync(text, "global::System.Boolean", mode); 495await TestAsync(text, "Program", TestMode.Node); 516await TestAsync(text, "global::System.Boolean", mode); 532await TestAsync(text, "global::System.Int32", TestMode.Node); 549await TestAsync(text, "global::System.Boolean", mode); 565await TestAsync(text, "global::System.Boolean", TestMode.Node); 581await TestAsync(text, "global::System.Boolean", TestMode.Node); 598await TestAsync(text, "global::System.Boolean", mode); 618await TestAsync(text, "Program", TestMode.Node); 639await TestAsync(text, "global::System.Boolean", mode); 655await TestAsync(text, "global::System.Int32", TestMode.Node); 672await TestAsync(text, "global::System.Boolean", mode); 689await TestAsync(text, "global::System.Boolean", mode); 706await TestAsync(text, "global::System.Int32", mode); 723await TestAsync(text, "global::System.Boolean", mode); 740await TestAsync(text, "global::System.Int32", mode); 757await TestAsync(text, "global::System.Boolean", mode); 774await TestAsync(text, "global::System.Int32", mode); 1301await TestAsync(markup, "global::System.Int32", mode); 1318await TestAsync(markup, "global::System.String?", mode); 1336await TestAsync(markup, "global::System.Int32", mode); 1350await TestAsync(markup, "global::System.Object", mode); 1372await TestAsync(markup, "global::System.Int32", mode); 1393await TestAsync(markup, "global::System.Int32", mode); 1414await TestAsync(markup, "global::System.Object", mode); 1420await TestAsync( 1610await TestAsync( 1998await TestAsync( 2012await TestAsync( 2026await TestAsync( 2042await TestAsync( 2063await TestAsync( 2156await TestAsync(text, "global::System.Int32", mode); 2178await TestAsync(text, "global::System.Int32", mode); 2199await TestAsync(text, "global::System.Int32", mode); 2218await TestAsync(text, "global::System.Object", mode); 2241await TestAsync(text, "global::System.Object?", mode); 2260await TestAsync(text, "global::System.Int32", mode); 2281await TestAsync(text, "global::System.Int32", mode); 2302await TestAsync(text, "global::System.String?", mode); 2322await TestAsync(text, "global::System.Int32", mode); 2343await TestAsync(text, "global::System.String?", mode); 2363await TestAsync(text, "global::System.Int32", mode); 2383await TestAsync(text, "global::System.String", mode); 2408await TestAsync(text, "global::System.Int32", TestMode.Node); 2434await TestAsync(text, "global::System.Boolean", mode); 2460await TestAsync(text, "global::System.String", mode); 2485await TestAsync(text, "global::System.String?", mode); 2502await TestAsync(text, "global::A", TestMode.Node); 2519await TestAsync(text, "global::A[]", TestMode.Position); 2536await TestAsync(text, "global::A", TestMode.Node); 2553await TestAsync(text, "global::A[][]", TestMode.Position); 2570await TestAsync(text, "global::A[]", TestMode.Node); 2587await TestAsync(text, "global::A[][]", TestMode.Position); 2605await TestAsync(text, "global::System.Func<global::System.Int32, global::System.Int32>", mode); 2624await TestAsync(text, "global::System.Int32", mode); 2644await TestAsync(text, "global::System.String?", mode); 2662await TestAsync(text, "global::System.Int32", mode); 2680await TestAsync(text, "global::System.Int32", mode); 2697await TestAsync(text, "global::System.String", mode); 2716await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.Int32>", mode); 2736await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.String?>", mode); 2755await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.Threading.Tasks.Task<global::System.Int32>>", mode); 2774await TestAsync(text, "global::System.Threading.Tasks.Task", mode); 2794await TestAsync(text, "global::System.Object", mode); 2814await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.Object>", mode); 2833await TestAsync(markup, "global::System.Int32", mode); 2854await TestAsync(markup, "global::System.DayOfWeek", mode); 2875await TestAsync(markup, "global::System.Double", mode); 2896await TestAsync(markup, "global::System.String", mode); 2922await TestAsync(text, "global::System.String", mode); 2982await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.Boolean>", TestMode.Node); 3001await TestAsync(text, "global::System.Threading.Tasks.Task<global::System.Object>", TestMode.Node); 3021await TestAsync(text, "global::System.Boolean", TestMode.Node); 3042await TestAsync(text, "global::System.Boolean", mode); 3061await TestAsync(text, mode == TestMode.Node ? "global::System.Object?" : "global::System.Object", mode); 3080await TestAsync(text, mode == TestMode.Node ? "global::System.Object?" : "global::System.Object", mode); 3100await TestAsync(text, mode == TestMode.Node ? "global::System.Object?" : "global::System.Object", mode); 3119await TestAsync(text, "global::System.Object", TestMode.Node); 3138await TestAsync(text, "global::System.String", TestMode.Node); 3160await TestAsync(text, "global::B", mode); 3176await TestAsync(text, "global::System.ConsoleModifiers", TestMode.Position); 3192await TestAsync(text, "global::System.ConsoleModifiers", TestMode.Position); 3209await TestAsync(text, "global::System.Collections.Generic.IEnumerable<global::System.Int32>", TestMode.Node); 3226await TestAsync(text, "global::System.Collections.Generic.IEnumerable<global::System.Object>", TestMode.Node); 3246await TestAsync(text, "global::C", TestMode.Position); 3287await TestAsync(text, "global::Program", TestMode.Position); 3308await TestAsync(text, "global::System.String?", mode); 3327await TestAsync(text, "global::System.String", TestMode.Position); 3346await TestAsync(text, "global::System.Object", mode); 3387await TestAsync(text, "global::System.IO.FileAttributes", mode); 3423await TestAsync(markup, expectedType, TestMode.Position); 3454await TestAsync(markup, "global::Color", TestMode.Position); 3479await TestAsync(markup, "global::Color", TestMode.Position); 3504await TestAsync(markup, "global::Color", TestMode.Position); 3530await TestAsync(markup, "global::Color", TestMode.Position); 3556await TestAsync(markup, "global::Color", TestMode.Position); 3566await TestAsync(markup, "global::System.Int32", TestMode.Position);