320 references to Equals
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (5)
Aspire.Playground.Tests (1)
BasicWebSite (1)
Binding.Http.IntegrationTests (1)
Client.ChannelLayer.IntegrationTests (1)
Client.ClientBase.IntegrationTests (13)
ChannelBaseTests.4.0.0.cs (5)
41Assert.True(String.Equals(echoText, result),
90Assert.True(String.Equals(expected, actual),
94Assert.True(String.Equals(expected, actual),
144Assert.True(String.Equals(expected, actual),
148Assert.True(String.Equals(expected, actual),
MessageInspectorTests.4.4.0.cs (4)
47Assert.True(String.Equals(result1.Result, expectedErrorDescription), String.Format("Expected Error Description: {0}/Actual Error Description: {1}", expectedErrorDescription, result2.Result));
54Assert.True(String.Equals(result2.Result, expectedErrorDescription), String.Format("Expected Error Description: {0}/nActual Error Description: {1}", expectedErrorDescription, result2.Result));
96Assert.True(String.Equals(authorizationHeaderValue, accessToken), String.Format("Expected Authorization Header value: {0}/nActual Authorization Header value: {1}", accessToken, authorizationHeaderValue));
97Assert.True(String.Equals(authTypeHeaderValue, authType.ToString()), String.Format("Expected AuthType Header value: {0}/nActual AuthType Header value: {1}", authType.ToString(), authTypeHeaderValue));
Client.ExpectedExceptions.IntegrationTests (9)
ExpectedExceptionTests.4.0.0.cs (4)
49Assert.True(String.Equals(exception.Message, exceptionMsg), String.Format("Expected exception message: {0}\nActual exception message: {1}", exceptionMsg, exception.Message));
179Assert.True(String.Equals(exception.Detail.Message, faultMsg), String.Format("Expected fault message: {0}\nActual fault message: {1}", faultMsg, exception.Detail.Message));
214Assert.True(String.Equals(exception.Detail.Message, faultMsg), String.Format("Expected fault message: {0}\nActual fault message: {1}", faultMsg, exception.Detail.Message));
354Assert.True((String.Equals("test", results[i])),
ExpectedExceptionTests.4.1.0.cs (5)
273Assert.True(String.Equals(exceptionCodeName, exception.Code.Name), String.Format("Expected exception code name: {0}\nActual exception code name: {1}", exceptionCodeName, exception.Code.Name));
274Assert.True(String.Equals(exceptionReason, exception.Reason.GetMatchingTranslation().Text), String.Format("Expected exception reason: {0}\nActual exception reason: {1}", exceptionReason, exception.Reason.GetMatchingTranslation().Text));
326Assert.True(String.Equals(exceptionCodeName, exception.Code.Name), String.Format("Expected exception code name: {0}\nActual exception code name: {1}", exceptionCodeName, exception.Code.Name));
327Assert.True(String.Equals(exceptionReason, exception.Reason.GetMatchingTranslation().Text), String.Format("Expected exception reason: {0}\nActual exception reason: {1}", exceptionReason, exception.Reason.GetMatchingTranslation().Text));
604Assert.True((String.Equals("test", results[i])),
Client.TypedClient.IntegrationTests (11)
TypedProxyTests.4.0.0.cs (11)
139Assert.True(String.Equals(result, "Hello"), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello", result));
202Assert.True(String.Equals(result, "Hello"), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello", result));
252Assert.True(String.Equals(replyMessageAction, action + "Response"),
261Assert.True(String.Equals(actualResponse, expectedResponse),
316Assert.True(String.Equals(replyMessageAction, action + "Response"),
325Assert.True(String.Equals(actualResponse, expectedResponse),
381Assert.True(String.Equals(replyMessageAction, action + "Response"),
390Assert.True(String.Equals(actualResponse, expectedResponse),
482Assert.True(String.Equals(result, "Hello"), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello", result));
523Assert.True(String.Equals(result, "Hello"), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello", result));
556Assert.True(String.Equals(result, "Hello"), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello", result));
ClientSample (1)
CodeGenerator (1)
Contract.Data.IntegrationTests (1)
Contract.Fault.IntegrationTests (2)
FaultExceptionTests.4.0.0.cs (2)
45Assert.True(String.Equals(exception.Detail.Message, faultMsg), String.Format("Expected Fault Message: {0}, actual: {1}", faultMsg, exception.Detail.Message));
79Assert.True(String.Equals(exception.Detail.Message, faultMsg), String.Format("Expected Fault Message: {0}, actual: {1}", faultMsg, exception.Detail.Message));
Contract.Message.IntegrationTests (4)
Contract.Service.IntegrationTests (7)
ServiceContractTests.4.1.0.cs (7)
657Assert.True(string.Equals(result, "Hello " + echoString), String.Format("Expected response from Service: {0} Actual was: {1}", "Hello " + echoString, result));
736Assert.True(actualEcho1 == null || String.Equals(expectedEcho1, actualEcho1),
739Assert.True(actualEcho2 == null || String.Equals(expectedEcho2, actualEcho2),
826Assert.True(actualEcho1 == null || String.Equals(expectedEcho1, actualEcho1),
829Assert.True(actualEcho2 == null || String.Equals(expectedEcho2, actualEcho2),
917Assert.True(actualEcho1 == null || String.Equals(expectedEcho1, actualEcho1),
920Assert.True(actualEcho2 == null || String.Equals(expectedEcho2, actualEcho2),
CreateDefaultBuilderApp (1)
CreateDefaultBuilderOfTApp (1)
dotnet-svcutil-lib (8)
Encoding.Encoders.IntegrationTests (2)
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.cs (5)
39Assert.True(String.Equals(result, testString), String.Format(" Error: expected response from service: '{0}' Actual was: '{1}'", testString, result));
75Assert.True(String.Equals(result, testString), String.Format(" Error: expected response from service: '{0}' Actual was: '{1}'", testString, result));
111Assert.True(String.Equals(result, testString), String.Format(" Error: expected response from service: '{0}' Actual was: '{1}'", testString, result));
147Assert.True(String.Equals(result, testString), String.Format(" Error: expected response from service: '{0}' Actual was: '{1}'", testString, result));
183Assert.True(String.Equals(result, testString), String.Format(" Error: expected response from service: '{0}' Actual was: '{1}'", testString, result));
GenericHostWebSite (1)
IIS.ShadowCopy.Tests (1)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.Authentication.Test (2)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Cors.Test (3)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Html.Abstractions.Tests (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Microsoft.AspNetCore.Razor.Test (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (5)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.DotNet.Build.Tasks.Workloads (6)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (1)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.Extensions.ApiDescription.Client (1)
Microsoft.Extensions.DependencyModel (2)
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Identity.Core (3)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.NET.StringTools (1)
Microsoft.NET.StringTools.net35 (1)
Microsoft.VisualBasic.Core (5)
Negotiate.Client (3)
Negotiate.Server (2)
PresentationBuildTasks (4)
PresentationCore (1)
PresentationFramework (3)
ScenarioTests.Common.Tests (1)
Security.TransportSecurity.IntegrationTests (10)
Tcp\StreamingTests.4.1.0.cs (3)
278Assert.True(String.Equals(testString, result), String.Format("Error: Expected test string: '{0}' but got '{1}'", testString, result));
319Assert.True(String.Equals(testString, result), String.Format("Error: Expected test string: '{0}' but got '{1}'", testString, result));
360Assert.True(String.Equals(testString, result), String.Format("Error: Expected test string: '{0}' but got '{1}'", testString, result));
SignalR.Client.FunctionalTestApp (1)
SignalRSamples (1)
SocialSample (8)
System.Collections.Immutable (6)
System.ComponentModel.TypeConverter (1)
System.Diagnostics.TraceSource (1)
System.IO.IsolatedStorage (2)
System.Net.Http (1)
System.Net.Security (2)
System.Private.CoreLib (17)
System.Private.Xml (9)
System.Reflection.DispatchProxy (1)
System.Resources.Extensions (3)
System.Resources.Writer (1)
System.Security.Claims (3)
System.Security.Cryptography (1)
System.ServiceModel.NetTcp.Tests (1)
System.ServiceModel.Primitives (1)
System.ServiceModel.Primitives.Tests (22)
Channels\CustomChannelTest.cs (7)
75Assert.True(String.Equals(testMessageBody, result),
172Assert.True(String.Equals(testMessageBody, result),
251Assert.True(String.Equals(expectedExceptionMessage, actualException.Message),
306Assert.True(String.Equals(expectedExceptionMessage, actualException.Message),
365Assert.True(String.Equals(testMessageBody, result),
471Assert.True(String.Equals(caughtException.Message, thrownException.Message),
725Assert.True(string.Equals(thrownException.Message, caughtException.Message),
System.ServiceModel.UnixDomainSocket.Tests (1)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (11)
System.Windows.Forms.Design (5)
Templates.Blazor.Tests (3)
Templates.Blazor.WebAssembly.Auth.Tests (3)
Templates.Blazor.WebAssembly.Tests (3)
Templates.Mvc.Tests (3)
Templates.Tests (3)
UnitTests.Common (2)
xunit.console (4)