34 references to _today
Microsoft.AspNetCore.HttpLogging.Tests (34)
FileLoggerProcessorTests.cs (34)
32Now = _today 47filePath = GetLogFilePath(path, options.FileName, _today, 0); 66Now = _today 68var tomorrow = _today.AddDays(1); 86filePathToday = GetLogFilePath(path, options.FileName, _today, 0); 120Now = _today 132filePath1 = GetLogFilePath(path, options.FileName, _today, 0); 133filePath2 = GetLogFilePath(path, options.FileName, _today, 1); 157Now = _today 176lastFilePath = GetLogFilePath(path, options.FileName, _today, 9); 181await WaitForRoll(GetLogFilePath(path, options.FileName, _today, i)).DefaultTimeout(); 195Assert.StartsWith(GetLogFileBaseName(options.FileName, _today), actualFiles[i], StringComparison.InvariantCulture); 211Now = _today 232lastFilePath = GetLogFilePath(path, options.FileName, _today, 9999); 269Now = _today 290var filePath = GetLogFilePath(path, options.FileName, _today, 2); 303var filePath = GetLogFilePath(path, options.FileName, _today, 5); 317Assert.Contains(GetLogFileName(options.FileName, _today, i), actualFiles1[i]); 327await WaitForFile(GetLogFilePath(path, options.FileName, _today, 6), _messageOne.Length).DefaultTimeout(); 328await WaitForRoll(GetLogFilePath(path, options.FileName, _today, 0)).DefaultTimeout(); 329await WaitForRoll(GetLogFilePath(path, options.FileName, _today, 1)).DefaultTimeout(); 341Assert.Equal(GetLogFileName(options.FileName, _today, i + 2), actualFiles2[i]); 355Now = _today 368var filePath1 = GetLogFilePath(path, options.FileName, _today, 0); 369var filePath2 = GetLogFilePath(path, options.FileName, _today, 1); 370var filePath3 = GetLogFilePath(path, options.FileName, _today, 2); 418Now = _today 432var filePath1 = GetLogFilePath(path, options.FileName, _today, 0); 433var filePath2 = GetLogFilePath(path, options.FileName, _today, 1); 434var filePath3 = GetLogFilePath(path, options.FileName, _today, 2); 435var filePath4 = GetLogFilePath(path, options.FileName, _today, 3); 487Now = _today 502var filePath1 = GetLogFilePath(path, options.FileName, _today, 0); 503var filePath2 = GetLogFilePath(path, options.FileName, _today, 1);