9 references to s_testTime
Aspire.Dashboard.Tests (9)
Model\TelemetryImportServiceTests.cs (9)
315LogRecords = { CreateLogRecord(time: s_testTime, message: "Round trip test", severity: OpenTelemetry.Proto.Logs.V1.SeverityNumber.Warn) }
368LogRecords = { CreateLogRecord(time: s_testTime, message: "Test message", attributes: [new KeyValuePair<string, string>("custom.attr", "custom-value")]) }
400LogRecords = { CreateLogRecord(time: s_testTime, message: "Existing message") }
447Spans = { CreateSpan(traceId: "trace123456789012", spanId: "span1234", startTime: s_testTime, endTime: s_testTime.AddSeconds(1), kind: Span.Types.SpanKind.Server) }
481var timeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(s_testTime);
522var timeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(s_testTime);
523var endTimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(s_testTime.AddSeconds(1));
570var timeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(s_testTime);