255 references to Equal
Aspire.Dashboard.Tests (7)
Contract.XmlSerializer.IntegrationTests (6)
dotnet-svcutil.xmlserializer.IntegrationTests (6)
Microsoft.Analyzers.Local.Tests (3)
Microsoft.AspNetCore.Authentication.Test (10)
OpenIdConnect\OpenIdConnectTests.cs (8)
403Assert.Equal(DateTime.MaxValue, GetNonceExpirationTime(noncePrefix + DateTime.MaxValue.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
405Assert.Equal(DateTime.MinValue + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + DateTime.MinValue.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
407Assert.Equal(utcNow + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
409Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix, TimeSpan.FromHours(1)));
411Assert.Equal(DateTime.MinValue, GetNonceExpirationTime("", TimeSpan.FromHours(1)));
413Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix + noncePrefix, TimeSpan.FromHours(1)));
415Assert.Equal(utcNow + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
417Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
Microsoft.AspNetCore.Components.Tests (4)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (7)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (8)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
SimpleTypeModelBinderIntegrationTest.cs (2)
261Assert.Equal(new DateTime(2020, 02, 01, 0, 0, 0, DateTimeKind.Utc), model);
310Assert.Equal(new DateTime(2020, 02, 01, 0, 0, 0, DateTimeKind.Utc), model);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (4)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.Routing.FunctionalTests (5)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Microsoft.Build.Engine.OM.UnitTests (3)
Microsoft.Build.Engine.UnitTests (6)
Microsoft.Build.Tasks.UnitTests (13)
FileStateTests.cs (10)
112Assert.Equal(info.LastWriteTime, state.LastWriteTime);
131Assert.Equal(info.LastWriteTimeUtc, state.LastWriteTimeUtcFast);
240Assert.Equal(info.LastWriteTime, state.LastWriteTime);
247Assert.Equal(time, state.LastWriteTime);
266Assert.Equal(info.LastWriteTimeUtc, state.LastWriteTimeUtcFast);
273Assert.Equal(time.ToUniversalTime(), state.LastWriteTimeUtcFast);
347Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTime, new FileState(Path.GetTempPath()).LastWriteTime);
353Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTimeUtc, new FileState(Path.GetTempPath()).LastWriteTimeUtcFast);
369Assert.Equal(new FileInfo(file).LastWriteTime, new FileState(file).LastWriteTime);
379Assert.Equal(new FileInfo(file).LastWriteTimeUtc, new FileState(file).LastWriteTimeUtcFast);
Microsoft.Build.Utilities.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Data.Analysis.Tests (1)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.ML.Core.Tests (1)
Microsoft.ML.Tests (1)
Microsoft.VisualBasic.Tests (5)
System.Private.Windows.Core.Tests (9)
System.Windows.Forms.Primitives.Tests (2)
System.Windows.Forms.Tests (136)
System.Windows.Forms.UI.IntegrationTests (4)