85 references to MockLogger
Microsoft.Build.BuildCheck.UnitTests (2)
BuildCheckManagerProviderTests.cs (1)
31
_logger = new
MockLogger
(output);
TaskInvocationAnalysisDataTests.cs (1)
92
Loggers = [new
MockLogger
(_output)],
Microsoft.Build.Engine.OM.UnitTests (1)
Instance\ProjectInstance_Tests.cs (1)
635
MockLogger logger = new
MockLogger
(_testOutput);
Microsoft.Build.Engine.UnitTests (53)
BackEnd\BuildManager_Logging_Tests.cs (1)
74
_logger = new
MockLogger
(output);
BackEnd\BuildManager_Tests.cs (4)
77
_logger = new
MockLogger
(output);
365
Loggers = new List<ILogger> { new
MockLogger
(_output) }
1537
Loggers = new ILogger[] { _logger, new
MockLogger
(printEventsToStdout: true) },
4033
var mockLogger = new
MockLogger
(_output);
BackEnd\MSBuild_Tests.cs (11)
208
MockLogger logger = new
MockLogger
(_testOutput);
230
MockLogger logger = new
MockLogger
(_testOutput);
263
MockLogger logger = new
MockLogger
(_testOutput);
301
MockLogger logger = new
MockLogger
(_testOutput);
349
MockLogger logger = new
MockLogger
(_testOutput);
395
MockLogger logger = new
MockLogger
(_testOutput);
680
MockLogger logger = new
MockLogger
(_testOutput);
747
MockLogger logger = new
MockLogger
(_testOutput);
794
MockLogger logger = new
MockLogger
(_testOutput);
826
MockLogger logger = new
MockLogger
(_testOutput);
873
MockLogger logger = new
MockLogger
(_testOutput);
BackEnd\SdkResolverLoader_Tests.cs (1)
37
_logger = new
MockLogger
(output);
BackEnd\SdkResultOutOfProc_Tests.cs (1)
57
_logger = new
MockLogger
(output);
BackEnd\TaskBuilder_Tests.cs (3)
157
MockLogger logger = new
MockLogger
(_testOutput);
437
MockLogger logger = new
MockLogger
(this._testOutput);
1010
MockLogger logger = new
MockLogger
(_testOutput);
BackEnd\TaskHostFactory_Tests.cs (1)
174
projectInstance.Build(new[] { new
MockLogger
(env.Output) }).ShouldBeTrue();
BackEnd\TaskRegistry_Tests.cs (2)
92
_loggingService.RegisterLogger(new
MockLogger
(_output));
657
MockLogger logger = new
MockLogger
(_output);
ChangeWaves_Tests.cs (1)
62
MockLogger log = new
MockLogger
(_output);
Construction\SolutionFilter_Tests.cs (2)
145
MockLogger logger =
new
(output);
297
MockLogger logger =
new
(output);
Construction\SolutionProjectGenerator_Tests.cs (13)
81
MockLogger logger = new
MockLogger
(output);
293
MockLogger logger = new
MockLogger
(output);
633
MockLogger logger = new
MockLogger
(output);
655
MockLogger logger1 = new
MockLogger
(output);
723
MockLogger logger = new
MockLogger
(output);
1042
var logger = new
MockLogger
(output);
1768
MockLogger logger = new
MockLogger
(output);
2031
MockLogger logger = new
MockLogger
(output);
2119
MockLogger logger = new
MockLogger
(output);
2207
MockLogger logger = new
MockLogger
(output);
2290
MockLogger logger = new
MockLogger
(output);
2617
MockLogger mockLogger = new
MockLogger
(output);
2840
var logger = new
MockLogger
(output);
EndToEndCondition_Tests.cs (2)
34
MockLogger logger = new
MockLogger
(_output, profileEvaluation: false, printEventsToStdout: false);
57
MockLogger logger = new
MockLogger
(_output, profileEvaluation: false, printEventsToStdout: false);
EscapingInProjects_Tests.cs (5)
100
", logger: new
MockLogger
(_output));
122
", logger: new
MockLogger
(_output));
559
logger: new
MockLogger
(_output));
597
", logger: new
MockLogger
(_output));
624
", logger: new
MockLogger
(_output));
Evaluation\EvaluationLogging_Tests.cs (1)
169
new
MockLogger
(null, true));
Graph\ResultCacheBasedBuilds_Tests.cs (2)
34
_logger = new
MockLogger
(_output);
466
var logger = new
MockLogger
(env.Output);
Instance\ProjectInstance_Internal_Tests.cs (1)
583
MockLogger mockLogger = new
MockLogger
(_output);
InvalidProjectFileException_Tests.cs (2)
43
MockLogger ml = new
MockLogger
(_testOutput);
72
MockLogger logger = new
MockLogger
(_testOutput);
Microsoft.Build.Tasks.UnitTests (24)
AddToWin32Manifest_Tests.cs (1)
114
bool result = project.Build(new
MockLogger
(_testOutput));
CreateItem_Tests.cs (2)
179
MockLogger logger = new
MockLogger
(_testOutput);
214
Loggers = new ILogger[] { new
MockLogger
(_testOutput) },
Exec_Tests.cs (2)
945
MockLogger logger = new
MockLogger
(_output, profileEvaluation: false, printEventsToStdout: false);
1001
MockLogger logger = new
MockLogger
(_output, profileEvaluation: false, printEventsToStdout: false);
MSBuild_Tests.cs (9)
191
MockLogger logger = new
MockLogger
(_testOutput);
212
MockLogger logger = new
MockLogger
(_testOutput);
244
MockLogger logger = new
MockLogger
(_testOutput);
280
MockLogger logger = new
MockLogger
(_testOutput);
325
MockLogger logger = new
MockLogger
(_testOutput);
371
MockLogger logger = new
MockLogger
(_testOutput);
481
MockLogger logger = new
MockLogger
(_testOutput);
1415
MockLogger logger = new
MockLogger
(_testOutput);
1441
MockLogger logger = new
MockLogger
(_testOutput);
MSBuildInternalMessage_Tests.cs (1)
48
MockLogger logger = new
MockLogger
(_testOutput);
OutputPathTests.cs (4)
64
project.Build(new
MockLogger
(_output)).ShouldBeFalse();
100
project.Build(new
MockLogger
(_output)).ShouldBeTrue();
143
project.Build(new
MockLogger
(_output)).ShouldBeTrue();
179
project.Build(new
MockLogger
(_output)).ShouldBeTrue();
RegressionTests.cs (3)
47
bool result = project.Build(new
MockLogger
(_output));
79
var logger = new
MockLogger
(_output);
104
MockLogger logger = new
MockLogger
(_output);
ResourceHandling\GenerateResource_Tests.cs (2)
3117
MockLogger logger = new
MockLogger
(_output);
3302
MockLogger logger = new
MockLogger
(_output);
Microsoft.Build.UnitTests.Shared (5)
MockEngine.cs (1)
74
MockLogger = new
MockLogger
(output);
MockLogger.cs (1)
246
public MockLogger() :
this
(null)
ObjectModelHelpers.cs (3)
757
MockLogger logger = new
MockLogger
(testOutputHelper, verbosity: loggerVerbosity);
1480
MockLogger mockLogger = (testOutput == null) ? new MockLogger() : new
MockLogger
(testOutput);
2073
Logger = new
MockLogger
(_env.Output);