365 references to Equal
Aspire.Hosting.Tests (4)
PublishAsConnectionStringTests.cs (1)
40Assert.Equal(expected, actual, ignoreLineEndingDifferences: true, ignoreWhiteSpaceDifferences: true);
PublishAsDockerfileTests.cs (3)
38Assert.Equal(expected, actual, ignoreLineEndingDifferences: true, ignoreWhiteSpaceDifferences: true); 80Assert.Equal(expected, actual, ignoreLineEndingDifferences: true, ignoreWhiteSpaceDifferences: true); 114Assert.Equal(expected, actual, ignoreLineEndingDifferences: true, ignoreWhiteSpaceDifferences: true);
InMemory.FunctionalTests (1)
Http2\Http2TestBase.cs (1)
1374Assert.Equal(header.Value, value, ignoreCase: true);
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\RoutePatternParserTests.cs (1)
73Assert.Equal(expected.Replace("\"", DoubleQuoteEscaping), actual, ignoreLineEndingDifferences: true);
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationPropertiesTests.cs (1)
379Assert.Equal(@"{
Microsoft.AspNetCore.Authentication.Test (4)
OpenIdConnect\OpenIdConnectTests.cs (4)
248Assert.Equal(UrlEncoder.Default.Encode("https://example.com/thelogout"), redirectUri, true); 253Assert.Equal("https://example.com/postlogout", properties.RedirectUri, true); 279Assert.Equal(UrlEncoder.Default.Encode("https://example.com/signout-callback-oidc"), redirectUri, true); 284Assert.Equal("http://www.example.com/specific_redirect_uri", properties.RedirectUri, true);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
358Assert.Equal(message, exception.Message, ignoreCase: true);
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsOfTTests.cs (1)
77Assert.Equal(expected.Trim(), actual.Trim(), ignoreLineEndingDifferences: true);
Microsoft.AspNetCore.HttpsPolicy.Tests (2)
HstsMiddlewareTests.cs (2)
215Assert.Equal($"The host '{hostUrl}' is excluded. Skipping HSTS header.", message.State.ToString(), ignoreCase: true); 325Assert.Equal($"The host '{hostUrl}' is excluded. Skipping HSTS header.", message.State.ToString(), ignoreCase: true);
Microsoft.AspNetCore.InternalTesting.Tests (3)
AssemblyTestLogTests.cs (3)
90Assert.Equal( 166Assert.Equal( 171Assert.Equal(
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (2)
326Assert.Equal(httpMethod, httpMethodAttribute.HttpMethods.Single(), ignoreCase: true); 329Assert.Equal(httpMethod, lastHttpMethodMetadata.HttpMethods.Single(), ignoreCase: true);
Microsoft.AspNetCore.Mvc.FunctionalTests (63)
BasicTests.cs (3)
249Assert.Equal(expectedBody, actualBody, ignoreLineEndingDifferences: true); 272Assert.Equal(expectedBody, actualBody.Trim(), ignoreLineEndingDifferences: true); 295Assert.Equal(expectedBody, actualBody.Trim(), ignoreLineEndingDifferences: true);
CompilationOptionsTests.cs (1)
43Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true);
ContentNegotiationTest.cs (1)
226Assert.Equal(expectedResponseBody, actualResponseBody, ignoreLineEndingDifferences: true);
DirectivesTest.cs (1)
68Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true);
FlushPointTest.cs (4)
45Assert.Equal(expected, body, ignoreLineEndingDifferences: true); 92Assert.Equal(expected, body, ignoreLineEndingDifferences: true); 118Assert.Equal(expected, body, ignoreLineEndingDifferences: true); 137Assert.Equal(expected, body, ignoreLineEndingDifferences: true);
HtmlGenerationTest.cs (10)
94Assert.Equal($"Vrijdag{Environment.NewLine}Month: FirstOne", response, ignoreLineEndingDifferences: true); 203Assert.Equal("img", imgElement.TagName, ignoreCase: true); 440Assert.Equal(expected1, response2.Trim(), ignoreLineEndingDifferences: true); 455Assert.Equal(expected2, response4.Trim(), ignoreLineEndingDifferences: true); 470Assert.Equal(expected3, response6.Trim(), ignoreLineEndingDifferences: true); 603Assert.Equal(expected1, response1.Trim(), ignoreLineEndingDifferences: true); 612Assert.Equal(expected2, response2.Trim(), ignoreLineEndingDifferences: true); 627Assert.Equal(expected3, response3.Trim(), ignoreLineEndingDifferences: true); 659Assert.Equal(expected, response, ignoreLineEndingDifferences: true); 673Assert.Equal(expected, response, ignoreLineEndingDifferences: true);
HtmlHelperOptionsTest.cs (2)
59Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 91Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true);
Infrastructure\ResourceFile.cs (1)
41Assert.Equal(expectedContent, responseContent, ignoreLineEndingDifferences: true);
RazorBuildTest.cs (4)
115Assert.Equal(expected1, body.Trim(), ignoreLineEndingDifferences: true); 130Assert.Equal(actual2, body.Trim(), ignoreLineEndingDifferences: true); 153Assert.Equal(expected1, body.Trim(), ignoreLineEndingDifferences: true); 169Assert.Equal(actual2, body.Trim(), ignoreLineEndingDifferences: true);
RazorPagesTest.cs (5)
649Assert.Equal(expected, response, ignoreLineEndingDifferences: true); 947Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 1131Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 1147Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 1164Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true);
RazorPagesWithBasePathTest.cs (8)
150Assert.Equal(expected, response, ignoreLineEndingDifferences: true); 165Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 212Assert.Equal(expectedContent, responseContent, ignoreLineEndingDifferences: true); 227Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 246Assert.Equal(expected, response, ignoreLineEndingDifferences: true); 343Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 359Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true); 382Assert.Equal(expected, response.Trim(), ignoreLineEndingDifferences: true);
RazorRuntimeCompilationHostingStartupTest.cs (4)
61Assert.Equal(expected1, body.Trim(), ignoreLineEndingDifferences: true); 76Assert.Equal(actual2, body.Trim(), ignoreLineEndingDifferences: true); 98Assert.Equal(expected1, body.Trim(), ignoreLineEndingDifferences: true); 114Assert.Equal(actual2, body.Trim(), ignoreLineEndingDifferences: true);
RazorViewLocationSpecificationTest.cs (4)
49Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 68Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 85Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 105Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true);
TagHelpersTest.cs (2)
188Assert.Equal(expected, result.Trim(), ignoreLineEndingDifferences: true); 201Assert.Equal(expected, result.Trim(), ignoreLineEndingDifferences: true);
ViewEngineTests.cs (13)
84Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 103Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 132Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 172Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 260Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 275Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 316Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 332Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 349Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 373Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 414Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 434Assert.Equal(expected, body.Trim(), ignoreLineEndingDifferences: true); 465Assert.Equal(expected, responseContent, ignoreLineEndingDifferences: true);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
src\Mvc\Mvc.ViewFeatures\test\Rendering\JsonHelperTestBase.cs (2)
28Assert.Equal(expectedOutput, htmlString.ToString(), ignoreCase: true); 81Assert.Equal(expectedOutput, htmlString.ToString(), ignoreCase: true);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Rendering\JsonHelperTestBase.cs (2)
28Assert.Equal(expectedOutput, htmlString.ToString(), ignoreCase: true); 81Assert.Equal(expectedOutput, htmlString.ToString(), ignoreCase: true);
Rendering\SystemTextJsonHelperTest.cs (1)
86Assert.Equal(expectedOutput, htmlString.ToString(), ignoreLineEndingDifferences: true);
StringHtmlContentTest.cs (1)
35Assert.Equal("😂2", stringWriter.ToString(), ignoreCase: true);
Microsoft.AspNetCore.Routing.Tests (3)
Matching\HttpMethodMatcherPolicyTest.cs (1)
173Assert.Equal(Http405EndpointDisplayName, httpContext.GetEndpoint().DisplayName, ignoreCase: true);
Matching\ILEmitTrieJumpTableTest.cs (2)
85Assert.Equal(entry, path.Substring(start, length), ignoreCase: true); 146Assert.Equal(entry, path.Substring(start, length), ignoreCase: true);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
GeneratedCodeTests.cs (1)
76Assert.Equal(expected.Trim(), actual.Trim(), ignoreLineEndingDifferences: true);
Microsoft.AspNetCore.Shared.Tests (1)
DotNetMuxerTests.cs (1)
21Assert.Equal("dotnet", Path.GetFileNameWithoutExtension(muxerPath), ignoreCase: true);
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketMiddlewareTests.cs (1)
57Assert.Equal("Bravo", client.SubProtocol, ignoreCase: true);
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\UsingTaskBodyElement_Tests.cs (1)
28Assert.Equal(body.Evaluate, bool.FalseString, true);
Microsoft.Build.Tasks.UnitTests (257)
GetSDKReference_Tests.cs (125)
437Assert.Equal(winmd, t.References[0].ItemSpec, true); 438Assert.Equal("A.winmd", Path.GetFileName(t.References[0].ItemSpec), true); 439Assert.Equal("WindowsRuntime 1.0;CLR V2.0.50727", t.References[0].GetMetadata("ImageRuntime"), true); 440Assert.Equal("A, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.References[0].GetMetadata("FusionName"), true); 441Assert.Equal("true", t.References[0].GetMetadata("WinMDFile"), true); 442Assert.Equal("Managed", t.References[0].GetMetadata("WinMDFileType"), true); 443Assert.Equal("true", t.References[0].GetMetadata("CopyLocal"), true); 444Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 445Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 447Assert.Equal("E.dll", Path.GetFileName(t.References[4].ItemSpec), true); 448Assert.Equal("CLR V2.0.50727", t.References[4].GetMetadata("ImageRuntime"), true); 449Assert.Equal("E, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.References[4].GetMetadata("FusionName"), true); 450Assert.Equal("false", t.References[4].GetMetadata("WinMDFile"), true); 452Assert.Equal("true", t.References[4].GetMetadata("CopyLocal"), true); 453Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 454Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 456Assert.Equal("A.winmd", Path.GetFileName(t.CopyLocalFiles[0].ItemSpec), true); 457Assert.Equal("WindowsRuntime 1.0;CLR V2.0.50727", t.CopyLocalFiles[0].GetMetadata("ImageRuntime"), true); 458Assert.Equal("A, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.CopyLocalFiles[0].GetMetadata("FusionName"), true); 459Assert.Equal("true", t.CopyLocalFiles[0].GetMetadata("WinMDFile"), true); 460Assert.Equal("Managed", t.CopyLocalFiles[0].GetMetadata("WinMDFileType"), true); 461Assert.Equal("true", t.CopyLocalFiles[0].GetMetadata("CopyLocal"), true); 462Assert.Equal("SDkWithManifest, Version=2.0", t.CopyLocalFiles[0].GetMetadata("OriginalItemSpec"), true); 463Assert.Equal("GetSDKReferenceFiles", t.CopyLocalFiles[0].GetMetadata("ResolvedFrom"), true); 465Assert.Equal("E.dll", Path.GetFileName(t.CopyLocalFiles[5].ItemSpec), true); 466Assert.Equal("CLR V2.0.50727", t.CopyLocalFiles[5].GetMetadata("ImageRuntime"), true); 467Assert.Equal("E, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.CopyLocalFiles[5].GetMetadata("FusionName"), true); 468Assert.Equal("false", t.CopyLocalFiles[5].GetMetadata("WinMDFile"), true); 470Assert.Equal("true", t.CopyLocalFiles[5].GetMetadata("CopyLocal"), true); 471Assert.Equal("SDkWithManifest, Version=2.0", t.CopyLocalFiles[5].GetMetadata("OriginalItemSpec"), true); 472Assert.Equal("GetSDKReferenceFiles", t.CopyLocalFiles[5].GetMetadata("ResolvedFrom"), true); 559Assert.Equal("A.winmd", Path.GetFileName(t.References[0].ItemSpec), true); 560Assert.Equal("WindowsRuntime 1.0;CLR V2.0.50727", t.References[0].GetMetadata("ImageRuntime"), true); 561Assert.Equal("A, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.References[0].GetMetadata("FusionName"), true); 562Assert.Equal("true", t.References[0].GetMetadata("WinMDFile"), true); 563Assert.Equal("Managed", t.References[0].GetMetadata("WinMDFileType"), true); 564Assert.Equal("false", t.References[0].GetMetadata("CopyLocal"), true); 565Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 566Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 568Assert.Equal("B.winmd", Path.GetFileName(t.References[1].ItemSpec), true); 569Assert.Equal("WindowsRuntime 1.0", t.References[1].GetMetadata("ImageRuntime"), true); 570Assert.Equal("B, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.References[1].GetMetadata("FusionName"), true); 571Assert.Equal("true", t.References[1].GetMetadata("WinMDFile"), true); 572Assert.Equal("Native", t.References[1].GetMetadata("WinMDFileType"), true); 573Assert.Equal("false", t.References[1].GetMetadata("CopyLocal"), true); 574Assert.Equal("SDkWithManifest, Version=2.0", t.References[1].GetMetadata("OriginalItemSpec"), true); 575Assert.Equal("GetSDKReferenceFiles", t.References[1].GetMetadata("ResolvedFrom"), true); 577Assert.Equal("E.dll", Path.GetFileName(t.References[4].ItemSpec), true); 578Assert.Equal("CLR V2.0.50727", t.References[4].GetMetadata("ImageRuntime"), true); 579Assert.Equal("E, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=null", t.References[4].GetMetadata("FusionName"), true); 580Assert.Equal("false", t.References[4].GetMetadata("WinMDFile"), true); 582Assert.Equal("false", t.References[4].GetMetadata("CopyLocal"), true); 583Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 584Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 690Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 691Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 697Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 698Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 732Assert.Equal("A.dll", Path.GetFileName(t.References[0].ItemSpec), true); 733Assert.Equal("false", t.References[0].GetMetadata("WinMDFile"), true); 735Assert.Equal("false", t.References[0].GetMetadata("CopyLocal"), true); 736Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 737Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 739Assert.Equal("h.dll", Path.GetFileName(t.References[4].ItemSpec), true); 740Assert.Equal("false", t.References[4].GetMetadata("WinMDFile"), true); 742Assert.Equal("false", t.References[4].GetMetadata("CopyLocal"), true); 743Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 744Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 834Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 835Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 841Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 842Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 886Assert.Equal("SDkWithManifest, Version=2.0", t.References[0].GetMetadata("OriginalItemSpec"), true); 887Assert.Equal("GetSDKReferenceFiles", t.References[0].GetMetadata("ResolvedFrom"), true); 893Assert.Equal("SDkWithManifest, Version=2.0", t.References[4].GetMetadata("OriginalItemSpec"), true); 894Assert.Equal("GetSDKReferenceFiles", t.References[4].GetMetadata("ResolvedFrom"), true); 966Assert.Equal("Super\\A.dll", t.RedistFiles[0].GetMetadata("TargetPath"), true); 967Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[0].GetMetadata("OriginalItemSpec"), true); 968Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[0].GetMetadata("ResolvedFrom"), true); 971Assert.Equal("B.dll", Path.GetFileName(t.RedistFiles[1].ItemSpec), true); 972Assert.Equal("Super\\ASubDirectory\\TwoDeep\\B.dll", t.RedistFiles[1].GetMetadata("TargetPath"), true); 973Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[1].GetMetadata("OriginalItemSpec"), true); 974Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[1].GetMetadata("ResolvedFrom"), true); 977Assert.Equal("B.PRI", Path.GetFileName(t.RedistFiles[2].ItemSpec), true); 978Assert.Equal("Super\\B.PRI", t.RedistFiles[2].GetMetadata("TargetPath"), true); 979Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[2].GetMetadata("OriginalItemSpec"), true); 980Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[2].GetMetadata("ResolvedFrom"), true); 983Assert.Equal("C.dll", Path.GetFileName(t.RedistFiles[3].ItemSpec), true); 984Assert.Equal("Super\\C.dll", t.RedistFiles[3].GetMetadata("TargetPath"), true); 985Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[3].GetMetadata("OriginalItemSpec"), true); 986Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[3].GetMetadata("ResolvedFrom"), true); 989Assert.Equal("D.dll", Path.GetFileName(t.RedistFiles[4].ItemSpec), true); 990Assert.Equal("Super\\D.dll", t.RedistFiles[4].GetMetadata("TargetPath"), true); 991Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[4].GetMetadata("OriginalItemSpec"), true); 992Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[4].GetMetadata("ResolvedFrom"), true); 1371Assert.Equal("A.dll", Path.GetFileName(t.RedistFiles[0].ItemSpec), true); 1372Assert.Equal("SDK1\\A.dll", t.RedistFiles[0].GetMetadata("TargetPath"), true); 1373Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[0].GetMetadata("OriginalItemSpec"), true); 1374Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[0].GetMetadata("ResolvedFrom"), true); 1377Assert.Equal("B.dll", Path.GetFileName(t.RedistFiles[1].ItemSpec), true); 1378Assert.Equal("SDK2\\B.dll", t.RedistFiles[1].GetMetadata("TargetPath"), true); 1379Assert.Equal("AnotherSDK, Version=2.0", t.RedistFiles[1].GetMetadata("OriginalItemSpec"), true); 1380Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[1].GetMetadata("ResolvedFrom"), true); 1383Assert.Equal("B.dll", Path.GetFileName(t.RedistFiles[2].ItemSpec), true); 1384Assert.Equal("SDK1\\ASubDirectory\\TwoDeep\\B.dll", t.RedistFiles[2].GetMetadata("TargetPath"), true); 1385Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[2].GetMetadata("OriginalItemSpec"), true); 1386Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[2].GetMetadata("ResolvedFrom"), true); 1389Assert.Equal("B.pri", Path.GetFileName(t.RedistFiles[3].ItemSpec), true); 1390Assert.Equal("SDK2\\B.Pri", t.RedistFiles[3].GetMetadata("TargetPath"), true); 1391Assert.Equal("AnotherSDK, Version=2.0", t.RedistFiles[3].GetMetadata("OriginalItemSpec"), true); 1392Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[3].GetMetadata("ResolvedFrom"), true); 1393Assert.Equal("SDK2", t.RedistFiles[3].GetMetadata("Root"), true); 1395Assert.Equal("B.PRI", Path.GetFileName(t.RedistFiles[4].ItemSpec), true); 1396Assert.Equal("SDK1\\B.PRI", t.RedistFiles[4].GetMetadata("TargetPath"), true); 1397Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[4].GetMetadata("OriginalItemSpec"), true); 1398Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[4].GetMetadata("ResolvedFrom"), true); 1399Assert.Equal("SDK1", t.RedistFiles[4].GetMetadata("Root"), true); 1401Assert.Equal("C.dll", Path.GetFileName(t.RedistFiles[5].ItemSpec), true); 1402Assert.Equal("SDK1\\C.dll", t.RedistFiles[5].GetMetadata("TargetPath"), true); 1403Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[5].GetMetadata("OriginalItemSpec"), true); 1404Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[5].GetMetadata("ResolvedFrom"), true); 1407Assert.Equal("D.dll", Path.GetFileName(t.RedistFiles[6].ItemSpec), true); 1408Assert.Equal("SDK1\\D.dll", t.RedistFiles[6].GetMetadata("TargetPath"), true); 1409Assert.Equal("SDkWithManifest, Version=2.0", t.RedistFiles[6].GetMetadata("OriginalItemSpec"), true); 1410Assert.Equal("GetSDKReferenceFiles", t.RedistFiles[6].GetMetadata("ResolvedFrom"), true);
ResolveSDKReference_Tests.cs (132)
110Assert.Equal("\"newt, Version=1.0\"", result[3], true); 1100Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 1101Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1102Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1103Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1104Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1105Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1137Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1138Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1141Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1142Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1143Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1178Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1179Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1184Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1216Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1217Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1218Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1219Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1220Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1255Assert.Equal("GoodTestSDK", t.ResolvedSDKReferences[0].GetMetadata("SimpleName"), true); 1256Assert.Equal("2.0", t.ResolvedSDKReferences[0].GetMetadata("Version"), true); 1257Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1258Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1259Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1260Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1261Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1289Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1290Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1291Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1292Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1293Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1362Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1363Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1364Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1365Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1366Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1367Assert.Equal("GoodTestSDK, Version=2.0", t.ResolvedSDKReferences[0].GetMetadata("SDKName"), true); 1770Assert.Equal("Allow", t.ResolvedSDKReferences[0].GetMetadata("SupportsMultipleVersions"), true); 1772Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1773Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1774Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1775Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1776Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1870Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1941Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 1942Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 1943Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 1944Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 1945Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 1946Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 1947Assert.Equal("GoodTestSDK\\Redist", t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory"), true); 2009Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 2010Assert.Equal("Neutral|RetailNeutralLocation", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 2011Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2012Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2013Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2014Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2015Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2016Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2075Assert.Equal("PlatformID", t.ResolvedSDKReferences[0].GetMetadata("PlatformIdentity"), true); 2076Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2077Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 2078Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2079Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2080Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2081Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2082Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2149Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 2150Assert.Equal("Good Platform", t.ResolvedSDKReferences[0].GetMetadata("PlatformIdentity"), true); 2151Assert.Equal("Neutral|Location", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 2152Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2153Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2154Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2155Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2156Assert.Equal("X86", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2157Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2219Assert.Equal("arm|ARMAppx", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 2220Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2221Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2222Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2223Assert.Equal("Debug", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2224Assert.Equal("arm", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2225Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2287Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 2288Assert.Equal("Good Platform", t.ResolvedSDKReferences[0].GetMetadata("PlatformIdentity"), true); 2289Assert.Equal("arm|ARMAppx|x64|x64Appx|x86|x86Appx", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 2290Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2291Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2292Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2293Assert.Equal("Debug", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2294Assert.Equal("arm", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2295Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2501Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 2502Assert.Equal("x64|RetailX64Location|x86|RetailX86Location", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 2503Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 2504Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 2505Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 2506Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 2507Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 2508Assert.Equal("X86", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 2509Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 2510Assert.Equal("GoodTestSDK\\Redist", t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory"), true); 3331Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 3332Assert.Equal("Arm|RetailArmLocation|Neutral|NeutralLocation|X64|RetailX64Location|X86|RetailX86Location", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 3333Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 3334Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 3335Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 3336Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 3337Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 3338Assert.Equal("X86", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 3339Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 3340Assert.Equal("GoodTestSDK\\Redist", t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory"), true); 3476Assert.Equal("Neutral|NeutralLocation|X64|RetailX64Location|X86|RetailX86Location", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 3477Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 3478Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 3479Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 3480Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 3481Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 3482Assert.Equal("X86", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 3483Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 3484Assert.Equal("GoodTestSDK\\Redist", t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory"), true); 3611Assert.Equal("GoodTestSDKIdentity", t.ResolvedSDKReferences[0].GetMetadata("FrameworkIdentity"), true); 3612Assert.Equal("Neutral|RetailNeutralLocation", t.ResolvedSDKReferences[0].GetMetadata("AppXLocation"), true); 3613Assert.Equal("External", t.ResolvedSDKReferences[0].GetMetadata("SDKType"), true); 3614Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyRedist"), true); 3615Assert.Equal("True", t.ResolvedSDKReferences[0].GetMetadata("ExpandReferenceAssemblies"), true); 3616Assert.Equal("False", t.ResolvedSDKReferences[0].GetMetadata("CopyLocalExpandedReferenceAssemblies"), true); 3617Assert.Equal("Retail", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKConfiguration"), true); 3618Assert.Equal("Neutral", t.ResolvedSDKReferences[0].GetMetadata("TargetedSDKArchitecture"), true); 3619Assert.Equal(item.ItemSpec, t.ResolvedSDKReferences[0].GetMetadata("OriginalItemSpec"), true); 3620Assert.Equal("GoodTestSDK\\Redist", t.ResolvedSDKReferences[0].GetMetadata("CopyRedistToSubDirectory"), true);
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
562Assert.Equal(
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SarifErrorLoggerTests.cs (1)
128Assert.Equal(
Microsoft.DotNet.Arcade.Sdk.Tests (1)
GenerateResxSourceTests.cs (1)
59Assert.Equal(File.ReadAllText(expectedFile), actualFileContents, ignoreLineEndingDifferences: true);
Microsoft.DotNet.Open.Api.Tools.Tests (2)
OpenApiRefreshTests.cs (2)
39Assert.Equal(Content, await File.ReadAllTextAsync(expectedJsonPath), ignoreLineEndingDifferences: true); 69Assert.Equal(Content, await File.ReadAllTextAsync(expectedJsonPath), ignoreLineEndingDifferences: true);
Microsoft.DotNet.XUnitAssert.Tests (3)
StringAssertsTests.cs (3)
615 Assert.Equal(value1, value2, ignoreCase, ignoreLineEndingDifferences, ignoreWhiteSpaceDifferences, ignoreAllWhiteSpace); 616 Assert.Equal(value2, value1, ignoreCase, ignoreLineEndingDifferences, ignoreWhiteSpaceDifferences, ignoreAllWhiteSpace); 685 verify(() => Assert.Equal(expected, actual, ignoreCase, ignoreLineEndingDifferences, ignoreWhiteSpaceDifferences, ignoreAllWhiteSpace));
Microsoft.Extensions.SecretManager.Tools.Tests (1)
SecretManagerTests.cs (1)
255Assert.Equal(@"{
Mvc.Api.Analyzers.Test (2)
AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs (1)
78Assert.Equal(expectedOutput, actualOutput, ignoreLineEndingDifferences: true);
ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs (1)
43Assert.Equal(expectedOutput, actualOutput, ignoreLineEndingDifferences: true);
xunit.assert (1)
StringAsserts.cs (1)
849 Equal(expected, actual, false, false, false, false);