324 references to AssertFormatAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (324)
Formatting\FormattingTests.cs (243)
26=> await AssertFormatAsync("namespace A { }", "namespace A{}"); 41await AssertFormatAsync(expected, content); 60await AssertFormatAsync(expected, content); 82await AssertFormatAsync(expected, content); 109await AssertFormatAsync(expected, content); 136await AssertFormatAsync(expected, content); 156await AssertFormatAsync(expected, content); 192await AssertFormatAsync(expected, content); 218await AssertFormatAsync(expected, content); 241await AssertFormatAsync(expected, content); 247await AssertFormatAsync(""" 283await AssertFormatAsync(""" 321await AssertFormatAsync(""" 359await AssertFormatAsync(""" 387await AssertFormatAsync(""" 458await AssertFormatAsync(""" 758await AssertFormatAsync(""" 786await AssertFormatAsync(""" 810await AssertFormatAsync(""" 838await AssertFormatAsync(""" 864await AssertFormatAsync(""" 904await AssertFormatAsync(""" 926await AssertFormatAsync(""" 952await AssertFormatAsync(""" 972await AssertFormatAsync(""" 1610await AssertFormatAsync(""" 1913await AssertFormatAsync(""" 2180await AssertFormatAsync(""" 2347await AssertFormatAsync(""" 2488await AssertFormatAsync(""" 2507=> await AssertFormatAsync(@"enum E { a = 10, b, c }", @"enum E { a = 10, b, c }"); 2512await AssertFormatAsync(""" 2542await AssertFormatAsync(""" 2572await AssertFormatAsync(""" 2606await AssertFormatAsync(""" 2636await AssertFormatAsync(""" 2666await AssertFormatAsync(""" 2690await AssertFormatAsync(""" 2716await AssertFormatAsync(""" 2746await AssertFormatAsync(""" 2778await AssertFormatAsync(""" 2802await AssertFormatAsync(""" 2824await AssertFormatAsync(""" 2850await AssertFormatAsync(""" 2870await AssertFormatAsync(""" 2884await AssertFormatAsync(""" 2906await AssertFormatAsync(""" 2937await AssertFormatAsync(code, code); 2952await AssertFormatAsync(code, code); 2967await AssertFormatAsync(code, code); 2982await AssertFormatAsync(code, code); 2988await AssertFormatAsync(""" 3014await AssertFormatAsync(""" 3036await AssertFormatAsync(""" 3062await AssertFormatAsync(""" 3103await AssertFormatAsync(""" 3139await AssertFormatAsync(""" 3172await AssertFormatAsync(""" 3192await AssertFormatAsync(""" 3216await AssertFormatAsync(""" 3240await AssertFormatAsync(""" 3268await AssertFormatAsync(""" 3302await AssertFormatAsync(""" 3332await AssertFormatAsync(""" 3354await AssertFormatAsync(""" 3378await AssertFormatAsync(""" 3404await AssertFormatAsync(""" 3430await AssertFormatAsync(""" 3454await AssertFormatAsync(""" 3480await AssertFormatAsync(""" 3508await AssertFormatAsync(""" 3534await AssertFormatAsync(""" 3552await AssertFormatAsync(""" 3582await AssertFormatAsync(""" 3620await AssertFormatAsync(""" 3642await AssertFormatAsync(""" 3664await AssertFormatAsync(""" 3678await AssertFormatAsync(""" 3706await AssertFormatAsync(""" 3729await AssertFormatAsync(""" 3753await AssertFormatAsync(""" 3783await AssertFormatAsync(""" 3809await AssertFormatAsync(""" 3844await AssertFormatAsync(properlyFormattedCode, properlyFormattedCode); 3850await AssertFormatAsync(""" 3876await AssertFormatAsync(""" 3904await AssertFormatAsync(""" 3932await AssertFormatAsync(""" 3960await AssertFormatAsync(""" 3978await AssertFormatAsync(""" 3998await AssertFormatAsync(""" 4020await AssertFormatAsync(""" 4042await AssertFormatAsync(""" 4056await AssertFormatAsync(""" 4072await AssertFormatAsync(""" 4100await AssertFormatAsync(""" 4126await AssertFormatAsync(""" 4154await AssertFormatAsync(""" 4163await AssertFormatAsync(""" 4177await AssertFormatAsync(""" 4201await AssertFormatAsync(""" 4221await AssertFormatAsync(""" 4257await AssertFormatAsync(""" 4273await AssertFormatAsync(""" 4291await AssertFormatAsync(""" 4312await AssertFormatAsync(""" 4327=> await AssertFormatAsync(@"using System;", @" using System;"); 4332await AssertFormatAsync(""" 4358await AssertFormatAsync(""" 4400await AssertFormatAsync(expected, code); 4420await AssertFormatAsync(expected, code); 4438await AssertFormatAsync(code, code); 4462await AssertFormatAsync(expected, code); 4490await AssertFormatAsync(expected, code); 4514await AssertFormatAsync(expected, code); 4538await AssertFormatAsync(expected, code); 4558await AssertFormatAsync(expected, code); 4584await AssertFormatAsync(expected, code); 4602await AssertFormatAsync(expected, code); 4620await AssertFormatAsync(expected, code); 4650await AssertFormatAsync(expected, code); 4674await AssertFormatAsync(expected, code); 4698await AssertFormatAsync(expected, code); 4720await AssertFormatAsync(expected, code); 4768await AssertFormatAsync(expected, code); 4802await AssertFormatAsync(expected, code); 4834await AssertFormatAsync(expected, code); 4858await AssertFormatAsync(expected, code); 4889await AssertFormatAsync(expected, code); 4920await AssertFormatAsync(expected, code); 4951await AssertFormatAsync(expected, code); 4976await AssertFormatAsync(expected, code); 5009await AssertFormatAsync(expected, code); 5037await AssertFormatAsync(expected, code); 5060await AssertFormatAsync(expected, code); 5097await AssertFormatAsync(expected, code); 5127await AssertFormatAsync(expected, code); 5137await AssertFormatAsync(expected, code); 5157await AssertFormatAsync(expected, code); 5201await AssertFormatAsync(expected, code); 5274await AssertFormatAsync(expected, code); 5316await AssertFormatAsync(expected, code); 5358await AssertFormatAsync(expected, code); 5429await AssertFormatAsync(expectedFormattedText, text); 5463await AssertFormatAsync(expectedCode, code); 5487await AssertFormatAsync(expectedCode, code); 5512await AssertFormatAsync(expectedCode, code); 5537await AssertFormatAsync(expectedCode, code); 5562await AssertFormatAsync(expectedCode, code); 5587await AssertFormatAsync(expectedCode, code); 5606await AssertFormatAsync(expectedCode, code); 5629await AssertFormatAsync(expectedCode, code); 5655await AssertFormatAsync(expectedCode, code); 5681await AssertFormatAsync(expectedCode, code); 5709await AssertFormatAsync(expectedCode, code); 5735await AssertFormatAsync(expectedCode, code); 5754await AssertFormatAsync(expectedCode, code); 5786await AssertFormatAsync(expectedCode, code); 5817await AssertFormatAsync(expectedCode, code); 5848await AssertFormatAsync(expectedCode, code); 5871await AssertFormatAsync(expectedCode, code); 6001await AssertFormatAsync(expectedCode, code); 6036await AssertFormatAsync(expectedCode, code); 6062await AssertFormatAsync(expectedCode, code); 6088await AssertFormatAsync(expectedCode, code); 6118await AssertFormatAsync(expectedCode, code); 6145await AssertFormatAsync(expectedCode, code); 6186await AssertFormatAsync(expectedCode, code); 6227await AssertFormatAsync(expectedCode, code); 6261await AssertFormatAsync(expectedCode, code); 6297await AssertFormatAsync(expectedCode, code); 6330await AssertFormatAsync(expectedCode, code); 6369await AssertFormatAsync(expectedCode, code); 6401await AssertFormatAsync(expectedCode, code); 6432await AssertFormatAsync(expectedCode, code); 6465await AssertFormatAsync(expectedCode, code); 6484await AssertFormatAsync(expectedCode, code); 6508await AssertFormatAsync(expectedCode, code); 6541await AssertFormatAsync(expectedCode, code); 6563await AssertFormatAsync(expected, code); 6585await AssertFormatAsync(expected, code); 6615await AssertFormatAsync(expected, code); 6649await AssertFormatAsync(expected, code); 6685await AssertFormatAsync(expected, code); 6721await AssertFormatAsync(expected, code); 6729await AssertFormatAsync("", code); 6753await AssertFormatAsync(expected, code); 6801await AssertFormatAsync(expected, code); 6868await AssertFormatAsync(expected, code); 6895await AssertFormatAsync(expected, code); 6960await AssertFormatAsync(expected, code); 6975await AssertFormatAsync(expected, code); 7222await AssertFormatAsync(expectedDefault, code); 7293await AssertFormatAsync(expected, code); 7353await AssertFormatAsync(expected, code); 7431await AssertFormatAsync(expected, code); 7470await AssertFormatAsync(expected, code); 7509await AssertFormatAsync(expected, code); 7529await AssertFormatAsync(code, code); 8475await AssertFormatAsync(expected, code, parseOptions: parseOptions); 8539await AssertFormatAsync(expected, code); 8570await AssertFormatAsync(expected, code); 8600await AssertFormatAsync(expected, code); 8632await AssertFormatAsync(expected, code); 8662await AssertFormatAsync(expected, code); 8692await AssertFormatAsync(expected, code); 8724await AssertFormatAsync(expected, code); 8754await AssertFormatAsync(expected, code); 8786await AssertFormatAsync(expected, code); 8816await AssertFormatAsync(expected, code); 8848await AssertFormatAsync(expected, code); 8878await AssertFormatAsync(expected, code); 8906await AssertFormatAsync(expected, code); 8934await AssertFormatAsync(expected, code); 8968await AssertFormatAsync(expected, code); 8998await AssertFormatAsync(expected, code); 9028await AssertFormatAsync(expected, code); 9056await AssertFormatAsync(expected, code); 9084await AssertFormatAsync(expected, code); 9112await AssertFormatAsync(expected, code); 9175await AssertFormatAsync(""" 9235await AssertFormatAsync(expected, code); 9269await AssertFormatAsync(expected, code); 9303await AssertFormatAsync(expected, code); 9339await AssertFormatAsync(expected, code); 9389await AssertFormatAsync(code, code); 9464await AssertFormatAsync(expected, code); 9480await AssertFormatAsync(code, code); 9510await AssertFormatAsync(expected, code); 9641await AssertFormatAsync(expected, code); 9699await AssertFormatAsync(code, code); 9724await AssertFormatAsync(expected, code); 9762await AssertFormatAsync(expected, code); 10070await AssertFormatAsync(code, code); 10100await AssertFormatAsync(""" 10137await AssertFormatAsync(code, code); 10154await AssertFormatAsync(code, code); 10160await AssertFormatAsync(""" 10186await AssertFormatAsync(""" 10204await AssertFormatAsync(""" 10230await AssertFormatAsync(""" 10331await AssertFormatAsync(code, code); 10347await AssertFormatAsync(code, code);
Formatting\FormattingTests_FunctionPointers.cs (6)
31await AssertFormatAsync(expected, content); 49await AssertFormatAsync(expected, content); 67await AssertFormatAsync(expected, content); 85await AssertFormatAsync(expected, content); 103await AssertFormatAsync(expected, content); 121await AssertFormatAsync(expected, content);
Formatting\FormattingTests_Patterns.cs (9)
342await AssertFormatAsync(expected, content); 401await AssertFormatAsync(expected, content); 460await AssertFormatAsync(expected, content); 495await AssertFormatAsync(expected, content); 530await AssertFormatAsync(expected, content); 562await AssertFormatAsync(expected, content); 594await AssertFormatAsync(expected, content); 626await AssertFormatAsync(expected, content); 658await AssertFormatAsync(expected, content);
Formatting\FormattingTriviaTests.cs (66)
46await AssertFormatAsync(expected, content); 64await AssertFormatAsync(expected, content); 76await AssertFormatAsync(expected, content); 94await AssertFormatAsync(expected, content); 110await AssertFormatAsync(expected, content); 130await AssertFormatAsync(expected, content); 153await AssertFormatAsync(expected, content); 178await AssertFormatAsync(expected, content); 207await AssertFormatAsync(expected, content); 232await AssertFormatAsync(expected, content); 257await AssertFormatAsync(expected, content); 284await AssertFormatAsync(expected, content); 321await AssertFormatAsync(expected, content); 358await AssertFormatAsync(expected, content); 379await AssertFormatAsync(expected, content); 404await AssertFormatAsync(expected, content); 425await AssertFormatAsync(expected, content); 450await AssertFormatAsync(expected, content); 477await AssertFormatAsync(expected, content); 506await AssertFormatAsync(expected, content); 537await AssertFormatAsync(expected, content); 568await AssertFormatAsync(expected, content); 592await AssertFormatAsync(expected, content); 617await AssertFormatAsync(expected, content); 638await AssertFormatAsync(expected, content); 662await AssertFormatAsync(expected, content); 687await AssertFormatAsync(expected, content); 710await AssertFormatAsync(expected, content); 735await AssertFormatAsync(expected, content); 758await AssertFormatAsync(expected, content); 779await AssertFormatAsync(expected, content); 802await AssertFormatAsync(expected, content); 825await AssertFormatAsync(expected, content); 850await AssertFormatAsync(expected, content); 875await AssertFormatAsync(expected, content); 904await AssertFormatAsync(expected, content); 935await AssertFormatAsync(expected, content); 962await AssertFormatAsync(expected, content); 991await AssertFormatAsync(expected, content); 1028await AssertFormatAsync(expected, content); 1063await AssertFormatAsync(expected, content); 1096await AssertFormatAsync(expected, content); 1121await AssertFormatAsync(expected, content); 1148await AssertFormatAsync(expected, content); 1179await AssertFormatAsync(expected, content); 1211await AssertFormatAsync(expected, content); 1240await AssertFormatAsync(expected, content); 1269await AssertFormatAsync(expected, content); 1298await AssertFormatAsync(expected, content); 1329await AssertFormatAsync(expected, content); 1374await AssertFormatAsync(expected, content); 1405await AssertFormatAsync(expected, content); 1434await AssertFormatAsync(expected, content); 1460await AssertFormatAsync(expected, content); 1483await AssertFormatAsync(expected, content); 1498await AssertFormatAsync(content, content); 1525await AssertFormatAsync(expected, content); 1547await AssertFormatAsync(code, content); 1559await AssertFormatAsync(code, content); 1587await AssertFormatAsync(code, content); 1611await AssertFormatAsync(code, content); 1647await AssertFormatAsync(code, content); 1656await AssertFormatAsync(expected, content); 1665await AssertFormatAsync(expectedContent, content); 1701await AssertFormatAsync(expectedContent, content); 1735await AssertFormatAsync(expected, content);