61 references to TestAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (61)
Debugging\DataTipInfoGetterTests.cs (61)
63await TestAsync("class [|C$$|] { }");
64await TestAsync("struct [|C$$|] { }");
65await TestAsync("interface [|C$$|] { }");
66await TestAsync("enum [|C$$|] { }");
67await TestAsync("delegate void [|C$$|] ();"); // Without the space, that position is actually on the open paren.
73await TestAsync(
88await TestAsync(
103await TestAsync(
118await TestAsync(
133await TestAsync(
163await TestAsync(
193await TestAsync(
208await TestAsync(
223await TestAsync(
238await TestAsync(
268await TestAsync(
282await TestAsync(
302await TestAsync(
310await TestAsync(
326await TestAsync(
338await TestAsync("class C<T, [|$$U|], V> { }");
339await TestAsync(
351await TestAsync(
364await TestAsync(
381await TestAsync(
411await TestAsync( // From
421await TestAsync( // Let
431await TestAsync( // Join
441await TestAsync( // Join Into
451await TestAsync( // Continuation
493await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|]"));
496await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|].C"));
497await TestAsync(string.Format(sourceTemplate, "[|Me?.B.$$C|]"));
499await TestAsync(string.Format(sourceTemplate, "[|Me.$$B|]?.C"));
500await TestAsync(string.Format(sourceTemplate, "[|Me.B?.$$C|]"));
502await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|]?.C"));
503await TestAsync(string.Format(sourceTemplate, "[|Me?.B?.$$C|]"));
506await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|].C.D"));
507await TestAsync(string.Format(sourceTemplate, "[|Me?.B.$$C|].D"));
508await TestAsync(string.Format(sourceTemplate, "[|Me?.B.C.$$D|]"));
510await TestAsync(string.Format(sourceTemplate, "[|Me.$$B|]?.C.D"));
511await TestAsync(string.Format(sourceTemplate, "[|Me.B?.$$C|].D"));
512await TestAsync(string.Format(sourceTemplate, "[|Me.B?.C.$$D|]"));
514await TestAsync(string.Format(sourceTemplate, "[|Me.$$B|].C?.D"));
515await TestAsync(string.Format(sourceTemplate, "[|Me.B.$$C|]?.D"));
516await TestAsync(string.Format(sourceTemplate, "[|Me.B.C?.$$D|]"));
518await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|]?.C.D"));
519await TestAsync(string.Format(sourceTemplate, "[|Me?.B?.$$C|].D"));
520await TestAsync(string.Format(sourceTemplate, "[|Me?.B?.C.$$D|]"));
522await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|].C?.D"));
523await TestAsync(string.Format(sourceTemplate, "[|Me?.B.$$C|]?.D"));
524await TestAsync(string.Format(sourceTemplate, "[|Me?.B.C?.$$D|]"));
526await TestAsync(string.Format(sourceTemplate, "[|Me.$$B|]?.C?.D"));
527await TestAsync(string.Format(sourceTemplate, "[|Me.B?.$$C|]?.D"));
528await TestAsync(string.Format(sourceTemplate, "[|Me.B?.C?.$$D|]"));
530await TestAsync(string.Format(sourceTemplate, "[|Me?.$$B|]?.C?.D"));
531await TestAsync(string.Format(sourceTemplate, "[|Me?.B?.$$C|]?.D"));
532await TestAsync(string.Format(sourceTemplate, "[|Me?.B?.C?.$$D|]"));
559await TestAsync(string.Format(sourceTemplate, "/*1*/[|$$Me|]/*2*/?./*3*/B/*4*/?./*5*/C/*6*/"));
560await TestAsync(string.Format(sourceTemplate, "/*1*/[|Me/*2*/?./*3*/$$B|]/*4*/?./*5*/C/*6*/"));
561await TestAsync(string.Format(sourceTemplate, "/*1*/[|Me/*2*/?./*3*/B/*4*/?./*5*/$$C|]/*6*/"));