31 references to TestFormat
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (31)
DocCommentFormatting\DocCommentFormattingTests.cs (31)
35=> TestFormat("Class <c>Point</c> models a point in a two-dimensional plane.", "Class Point models a point in a two-dimensional plane."); 39=> TestFormat(""" 52=> TestFormat(""" 66=> TestFormat(""" 79=> TestFormat(@"<permission cref=""System.Security.PermissionSet"">Everyone can access this method.</permission>", @"Everyone can access this method."); 83=> TestFormat(@"<see cref=""AnotherFunction""/>", @"AnotherFunction"); 87=> TestFormat(@"<seealso cref=""AnotherFunction""/>", @"AnotherFunction"); 91=> TestFormat(@"<value>Property <c>X</c> represents the point's x-coordinate.</value>", @"Property X represents the point's x-coordinate."); 95=> TestFormat(""" 102=> TestFormat(@"This method fetches data and returns a list of <typeparamref name=""Z""/>.", @"This method fetches data and returns a list of Z."); 106=> TestFormat(" This has extra whitespace. ", "This has extra whitespace."); 110=> TestFormat(""" 117=> TestFormat("This has extra whitespace.", "This has extra whitespace."); 121=> TestFormat(""" 127=> TestFormat(""" 138=> TestFormat(""" 149=> TestFormat(""" 159=> TestFormat(""" 174=> TestFormat($""" 187=> TestFormat(@"See <see cref=""T:System.Object"" />", "See System.Object"); 191=> TestFormat(@"See <see />", @"See"); 195=> TestFormat(@"See <see langword=""true"" />", "See true"); 199=> TestFormat(@"See <see href=""https://github.com"" />", "See https://github.com"); 203=> TestFormat(@"See <see href=""https://github.com"">GitHub</see>", "See GitHub"); 207=> TestFormat(@"See <see href=""https://github.com""></see>", "See https://github.com"); 211=> TestFormat(@"See also <seealso cref=""T:System.Object"" />", @"See also System.Object"); 215=> TestFormat(@"See also <seealso />", @"See also"); 219=> TestFormat(@"See also <seealso langword=""true"" />", "See also true"); 223=> TestFormat(@"See also <seealso href=""https://github.com"" />", "See also https://github.com"); 227=> TestFormat(@"See also <seealso href=""https://github.com"">GitHub</seealso>", "See also GitHub"); 231=> TestFormat(@"See also <seealso href=""https://github.com""></seealso>", "See also https://github.com");