17 references to ExpectFile
Microsoft.Build.BuildCheck.UnitTests (2)
EndToEndTests.cs (2)
594string logFile = _env.ExpectFile(".binlog").Path; 708string logFile = _env.ExpectFile(".binlog").Path;
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (2)
109TransientTestFile markerFile = _env.ExpectFile(); 181TransientTestFile markerFile = _env.ExpectFile();
Microsoft.Build.Engine.UnitTests (6)
BinaryLogger_Tests.cs (3)
85_logFile = _env.ExpectFile(".binlog").Path; 143fileToReplay = _env.ExpectFile(".binlog").Path; 224string replayedLogFile = _env.ExpectFile(".binlog").Path;
TerminalLogger_Tests.cs (3)
913string logFileWithTL = env.ExpectFile(".binlog").Path; 914string logFileWithoutTL = env.ExpectFile(".binlog").Path; 1062string binlogPath = env.ExpectFile(".binlog").Path;
Microsoft.Build.Tasks.UnitTests (6)
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
53TransientTestFile binlog = env.ExpectFile(".binlog"); 105TransientTestFile binlog = env.ExpectFile(".binlog");
GenerateBindingRedirects_Tests.cs (3)
269string outputAppConfigFile = env.ExpectFile(".config").Path; 281string outputAppConfigFile = _env.ExpectFile(".config").Path; 319string outputAppConfig = string.IsNullOrEmpty(targetAppConfigFile) ? _env.ExpectFile(".config").Path : targetAppConfigFile;
WriteLinesToFile_Tests.cs (1)
176string file = testEnv.ExpectFile().Path;
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
917var output = testEnvironment.ExpectFile();