37 references to s_testTime
Aspire.Dashboard.Tests (37)
TelemetryRepositoryTests\LogTests.cs (37)
154CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1"), 155CreateLogRecord(time: s_testTime.AddMinutes(2), message: "2"), 156CreateLogRecord(time: s_testTime.AddMinutes(3), message: "3"), 157CreateLogRecord(time: s_testTime.AddMinutes(10), message: "10"), 158CreateLogRecord(time: s_testTime.AddMinutes(9), message: "9"), 159CreateLogRecord(time: s_testTime.AddMinutes(4), message: "4"), 160CreateLogRecord(time: s_testTime.AddMinutes(5), message: "5"), 161CreateLogRecord(time: s_testTime.AddMinutes(7), message: "7"), 162CreateLogRecord(time: s_testTime.AddMinutes(6), message: "6"), 163CreateLogRecord(time: s_testTime.AddMinutes(8), message: "8"), 217CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Trace), 218CreateLogRecord(time: s_testTime.AddMinutes(2), message: "2", severity: SeverityNumber.Debug), 219CreateLogRecord(time: s_testTime.AddMinutes(3), message: "3", severity: SeverityNumber.Info), 220CreateLogRecord(time: s_testTime.AddMinutes(4), message: "4", severity: SeverityNumber.Warn), 221CreateLogRecord(time: s_testTime.AddMinutes(5), message: "5", severity: SeverityNumber.Error), 222CreateLogRecord(time: s_testTime.AddMinutes(6), message: "6", severity: SeverityNumber.Fatal) 237CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 293CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 308CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 345CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 360CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Fatal) 398CreateLogRecord(time: s_testTime.AddMinutes(1), message: "1", severity: SeverityNumber.Error), 799CreateLogRecord(time: s_testTime.AddMinutes(1), message: "test_message", severity: SeverityNumber.Error), 943LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(1), message: "message-1", attributes: [KeyValuePair.Create("key-1", "value-1")]) } 955LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(2), message: "message-2", attributes: [KeyValuePair.Create("key-2", "value-2")]) } 967LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(3)) } 1031LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(1), message: "message-1") } 1043LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(2), message: "message-2") } 1055LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(3)) } 1096LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(1), message: "message-1") } 1108LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(2), message: "message-2") } 1120LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(3), message: "message-3") } 1170LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(1), message: "message-1") } 1182LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(2), message: "message-2") } 1194LogRecords = { CreateLogRecord(time: s_testTime.AddMinutes(3), message: "message-3") } 1237LogRecords = { CreateLogRecord(time: DateTime.UnixEpoch, observedTime: s_testTime.AddMinutes(1)) } 1256Assert.Equal(s_testTime.AddMinutes(1), app.TimeStamp);