26 references to _messageOne
Microsoft.AspNetCore.HttpLogging.Tests (26)
FileLoggerProcessorTests.cs (26)
46logger.EnqueueMessage(_messageOne); 49await WaitForFile(filePath, _messageOne.Length).DefaultTimeout(); 53Assert.Equal(_messageOne + Environment.NewLine, File.ReadAllText(filePath)); 84logger.EnqueueMessage(_messageOne); 88await WaitForFile(filePathToday, _messageOne.Length).DefaultTimeout(); 99Assert.Equal(_messageOne + Environment.NewLine, File.ReadAllText(filePathToday)); 130logger.EnqueueMessage(_messageOne); 140Assert.Equal(_messageOne + Environment.NewLine, File.ReadAllText(filePath1)); 174logger.EnqueueMessage(_messageOne); 178await WaitForFile(lastFilePath, _messageOne.Length).DefaultTimeout(); 230logger.EnqueueMessage(_messageOne); 233await WaitForFile(lastFilePath, _messageOne.Length).DefaultTimeout(); 238logger.EnqueueMessage(_messageOne); 254logger.EnqueueMessage(_messageOne); 288logger.EnqueueMessage(_messageOne); 292await WaitForFile(filePath, _messageOne.Length).DefaultTimeout(); 301logger.EnqueueMessage(_messageOne); 305await WaitForFile(filePath, _messageOne.Length).DefaultTimeout(); 325logger.EnqueueMessage(_messageOne); 327await WaitForFile(GetLogFilePath(path, options.FileName, _today, 6), _messageOne.Length).DefaultTimeout(); 375logger.EnqueueMessage(_messageOne); 404Assert.Equal(_messageOne + Environment.NewLine, File.ReadAllText(filePath1)); 440logger.EnqueueMessage(_messageOne); 509logger.EnqueueMessage(_messageOne); 510await WaitForFile(filePath1, _messageOne.Length).DefaultTimeout(); 539Assert.Equal(_messageOne + Environment.NewLine, File.ReadAllText(filePath1));