84 references to Equal
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (3)
Microsoft.AspNetCore.DataProtection.Tests (21)
KeyManagement\XmlKeyManagerTests.cs (12)
130Assert.Equal(creationDate, newKey.CreationDate);
131Assert.Equal(activationDate, newKey.ActivationDate);
132Assert.Equal(expirationDate, newKey.ExpirationDate);
228Assert.Equal(creationDate, newKey.CreationDate);
229Assert.Equal(activationDate, newKey.ActivationDate);
230Assert.Equal(expirationDate, newKey.ExpirationDate);
373Assert.Equal(XmlConvert.ToDateTimeOffset("2015-01-01T00:00:00Z"), keys[0].CreationDate);
374Assert.Equal(XmlConvert.ToDateTimeOffset("2015-02-01T00:00:00Z"), keys[0].ActivationDate);
375Assert.Equal(XmlConvert.ToDateTimeOffset("2015-03-01T00:00:00Z"), keys[0].ExpirationDate);
379Assert.Equal(XmlConvert.ToDateTimeOffset("2015-04-01T00:00:00Z"), keys[1].CreationDate);
380Assert.Equal(XmlConvert.ToDateTimeOffset("2015-05-01T00:00:00Z"), keys[1].ActivationDate);
381Assert.Equal(XmlConvert.ToDateTimeOffset("2015-06-01T00:00:00Z"), keys[1].ExpirationDate);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (1)
Microsoft.AspNetCore.HeaderParsing.Tests (3)
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.OutputCaching.Tests (1)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.DotNet.XUnitAssert.Tests (5)
Microsoft.Extensions.Caching.SqlServer.Tests (5)
Microsoft.Extensions.Diagnostics.Testing.Tests (15)
Metrics\MetricCollectorTests.cs (11)
67Assert.Equal(now, collector.LastMeasurement.Timestamp);
77Assert.Equal(timeProvider.GetUtcNow(), collector.LastMeasurement.Timestamp);
112Assert.Equal(now, collector.LastMeasurement.Timestamp);
122Assert.Equal(timeProvider.GetUtcNow(), collector.LastMeasurement.Timestamp);
159Assert.Equal(now, collector.LastMeasurement.Timestamp);
169Assert.Equal(timeProvider.GetUtcNow(), collector.LastMeasurement.Timestamp);
220Assert.Equal(now, collector.LastMeasurement.Timestamp);
230Assert.Equal(timeProvider.GetUtcNow(), collector.LastMeasurement.Timestamp);
404Assert.Equal(now, snap[0].Timestamp);
408Assert.Equal(now, snap[1].Timestamp);
412Assert.Equal(now, snap[2].Timestamp);
Microsoft.Extensions.TimeProvider.Testing.Tests (9)
Microsoft.Net.Http.Headers.Tests (2)
System.Private.Windows.Core.Tests (9)