323 references to MockLogger
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
721var mockLogFromPlaybackWithTL = new MockLogger(); 725var mockLogFromPlaybackWithoutTL = new MockLogger();
Microsoft.Build.Engine.OM.UnitTests (31)
Definition\Project_Tests.cs (23)
90MockLogger mockLogger = new MockLogger(); 125MockLogger mockLogger = new MockLogger(); 152MockLogger mockLogger = new MockLogger(); 153MockLogger mockLogger2 = new MockLogger(); 405MockLogger logger = new MockLogger(); 435MockLogger logger = new MockLogger(); 471MockLogger logger = new MockLogger(); 508MockLogger logger = new MockLogger(); 2057MockLogger mockLogger = new MockLogger(); 2075MockLogger logger = new MockLogger(); 2109MockLogger collectionLogger = new MockLogger(); 2112MockLogger mockLogger = new MockLogger(); 2436MockLogger logger = new MockLogger(); 2460MockLogger logger = new MockLogger(); 2530MockLogger logger = new MockLogger(); 3896MockLogger logger = new MockLogger(); 3945MockLogger logger = new MockLogger(); 3989MockLogger logger = new MockLogger(); 4036MockLogger logger = new MockLogger(); 4076MockLogger logger = new MockLogger(); 4119MockLogger logger = new MockLogger(); 4162MockLogger logger = new MockLogger(); 4200MockLogger logger = new MockLogger();
Definition\ProjectCollection_Tests.cs (3)
1224collection.RegisterLogger(new MockLogger()); 1229collection.RegisterLoggers(new Build.Framework.ILogger[] { new MockLogger(), new MockLogger() });
Definition\ProjectItem_Tests.cs (2)
834MockLogger collectionLogger = new MockLogger(); 959MockLogger collectionLogger = new MockLogger();
Definition\ProjectItemDefinition_Tests.cs (2)
217MockLogger logger = new MockLogger(); 455MockLogger l = new MockLogger();
Instance\ProjectInstance_Tests.cs (1)
384MockLogger logger = new MockLogger();
Microsoft.Build.Engine.UnitTests (256)
BackEnd\BatchingEngine_Tests.cs (2)
489MockLogger logger = new MockLogger(); 523MockLogger logger = new MockLogger();
BackEnd\IntrinsicTask_Tests.cs (57)
178MockLogger logger = new MockLogger(); 215MockLogger logger = new MockLogger(); 902MockLogger logger = new MockLogger(); 940MockLogger logger = new MockLogger(); 1076MockLogger logger = new MockLogger(); 1160MockLogger logger = new MockLogger(); 1210MockLogger logger = new MockLogger(); 1233MockLogger logger = new MockLogger(); 1256MockLogger logger = new MockLogger(); 1297MockLogger logger = new MockLogger(); 1327MockLogger logger = new MockLogger(); 1347MockLogger logger = new MockLogger(); 1369MockLogger logger = new MockLogger(); 1389MockLogger logger = new MockLogger(); 1411MockLogger logger = new MockLogger(); 1436MockLogger logger = new MockLogger(); 1468MockLogger logger = new MockLogger(); 1510MockLogger logger = new MockLogger(); 1557MockLogger logger = new MockLogger(); 1659MockLogger logger = new MockLogger(); 2283MockLogger logger = new MockLogger(); 2316MockLogger logger = new MockLogger(); 2349MockLogger logger = new MockLogger(); 2387MockLogger logger = new MockLogger(); 2427MockLogger logger = new MockLogger(); 2462MockLogger logger = new MockLogger(); 2492MockLogger logger = new MockLogger(); 2552MockLogger logger = new MockLogger(); 2577MockLogger logger = new MockLogger(); 2608MockLogger logger = new MockLogger(); 2650MockLogger logger = new MockLogger(); 2695MockLogger logger = new MockLogger(); 2739MockLogger logger = new MockLogger(); 2784MockLogger logger = new MockLogger(); 2863MockLogger logger = new MockLogger(); 2921MockLogger logger = new MockLogger(); 3127MockLogger logger = new MockLogger(); 3178MockLogger logger = new MockLogger(); 3219MockLogger logger = new MockLogger(); 3273MockLogger logger = new MockLogger(); 3300MockLogger logger = new MockLogger(); 3331MockLogger logger = new MockLogger(); 3380MockLogger logger = new MockLogger(); 3419MockLogger logger = new MockLogger(); 3462MockLogger logger = new MockLogger(); 3494MockLogger logger = new MockLogger(); 3558MockLogger logger = new MockLogger(); 3593MockLogger logger = new MockLogger(); 3622MockLogger logger = new MockLogger(); 3653MockLogger logger = new MockLogger(); 3680MockLogger logger = new MockLogger(); 3709MockLogger logger = new MockLogger(); 3738MockLogger logger = new MockLogger(); 3767MockLogger logger = new MockLogger(); 3804MockLogger logger = new MockLogger(); 3833MockLogger logger = new MockLogger(); 3863MockLogger logger = new MockLogger();
BackEnd\LoggingService_Tests.cs (2)
970MockLogger logger = new MockLogger(); 1073_initializedService.RegisterLogger(new MockLogger() { Verbosity = LoggerVerbosity.Normal });
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
442MockLogger mockLogger = new MockLogger();
BackEnd\MSBuild_Tests.cs (7)
185MockLogger logger = new MockLogger(); 1339MockLogger logger = new MockLogger(); 1557MockLogger logger = new MockLogger(); 1579MockLogger logger2 = new MockLogger(); 1688MockLogger logger = new MockLogger(); 1850MockLogger logger = new MockLogger(); 1886MockLogger logger = new MockLogger();
BackEnd\OnError_Tests.cs (21)
35MockLogger l = new MockLogger(); 145MockLogger l = new MockLogger(); 190MockLogger l = new MockLogger(); 222MockLogger l = new MockLogger(); 256MockLogger l = new MockLogger(); 289MockLogger l = new MockLogger(); 321MockLogger l = new MockLogger(); 346MockLogger l = new MockLogger(); 374MockLogger l = new MockLogger(); 402MockLogger l = new MockLogger(); 435MockLogger l = new MockLogger(); 477MockLogger l = new MockLogger(); 502MockLogger l = new MockLogger(); 532MockLogger l = new MockLogger(); 558MockLogger l = new MockLogger(); 610MockLogger l = new MockLogger(); 632MockLogger l = new MockLogger(); 655MockLogger l = new MockLogger(); 678MockLogger l = new MockLogger(); 701MockLogger l = new MockLogger(); 724MockLogger l = new MockLogger();
BackEnd\Scheduler_Tests.cs (2)
81_logger = new MockLogger(); 384_logger = new MockLogger();
BackEnd\SdkResolverService_Tests.cs (1)
35_logger = new MockLogger();
BackEnd\TargetBuilder_Tests.cs (2)
70_mockLogger = new MockLogger(); 285MockLogger logger = new MockLogger();
BackEnd\TargetEntry_Tests.cs (1)
852MockLogger logger = new MockLogger();
BackEnd\TargetUpToDateChecker_Tests.cs (10)
47MockLogger ml = new MockLogger(); 77MockLogger ml = new MockLogger(); 103MockLogger ml = new MockLogger(); 130ml = new MockLogger(); 302MockLogger logger = new MockLogger(); 331MockLogger logger = new MockLogger(); 360MockLogger logger = new MockLogger(); 390MockLogger logger = new MockLogger(); 420MockLogger logger = new MockLogger(); 468MockLogger logger = new MockLogger();
BackEnd\TaskBuilder_Tests.cs (10)
70MockLogger logger = new MockLogger(); 123MockLogger logger = new MockLogger(); 215MockLogger logger = new MockLogger(); 261MockLogger logger = new MockLogger(); 318MockLogger logger = new MockLogger(); 415MockLogger logger = new MockLogger(); 468MockLogger logger = new MockLogger(); 494MockLogger logger = new MockLogger(); 519MockLogger logger = new MockLogger(); 550MockLogger logger = new MockLogger();
BackEnd\TaskExecutionHost_Tests.cs (2)
1061MockLogger ml = new MockLogger() { AllowTaskCrashes = true }; 1234_logger = new MockLogger();
BinaryLogger_Tests.cs (2)
110var mockLogFromBuild = new MockLogger(); 158var mockLogFromPlayback = new MockLogger();
ConsoleLogger_Tests.cs (1)
157MockLogger mockLogger = new MockLogger();
Construction\SolutionFilter_Tests.cs (1)
127MockLogger logger = new();
Definition\ItemDefinitionGroup_Tests.cs (35)
327MockLogger logger = new MockLogger(); 357MockLogger logger = new MockLogger(); 386MockLogger logger = new MockLogger(); 701MockLogger logger = new MockLogger(); 729MockLogger logger = new MockLogger(); 755MockLogger logger = new MockLogger(); 780MockLogger logger = new MockLogger(); 815MockLogger logger = new MockLogger(); 834MockLogger logger = new MockLogger(); 850MockLogger logger = new MockLogger(); 862MockLogger logger = new MockLogger(); 901MockLogger logger = new MockLogger(); 931MockLogger logger = new MockLogger(); 961MockLogger logger = new MockLogger(); 992MockLogger logger = new MockLogger(); 1023MockLogger logger = new MockLogger(); 1061MockLogger logger = new MockLogger(); 1095MockLogger logger = new MockLogger(); 1123MockLogger logger = new MockLogger(); 1151MockLogger logger = new MockLogger(); 1181MockLogger logger = new MockLogger(); 1211MockLogger logger = new MockLogger(); 1305MockLogger logger = new MockLogger(); 1332MockLogger logger = new MockLogger(); 1365MockLogger logger = new MockLogger(); 1397MockLogger logger = new MockLogger(); 1436MockLogger logger = new MockLogger(); 1477MockLogger logger = new MockLogger(); 1570MockLogger logger = new MockLogger(); 1627MockLogger logger = new MockLogger(); 1654MockLogger logger = new MockLogger(); 1681MockLogger logger = new MockLogger(); 1709MockLogger logger = new MockLogger(); 1772MockLogger logger = new MockLogger(); 1831MockLogger logger = new MockLogger();
Definition\ToolsVersion_Tests.cs (18)
83MockLogger mockLogger = new MockLogger(); 103MockLogger mockLogger = new MockLogger(); 122MockLogger mockLogger = new MockLogger(); 142MockLogger mockLogger = new MockLogger(); 192MockLogger mockLogger = new MockLogger(); 217MockLogger mockLogger = new MockLogger(); 238MockLogger mockLogger = new MockLogger(); 304MockLogger mockLogger = new MockLogger(); 341MockLogger mockLogger = new MockLogger(); 377MockLogger mockLogger = new MockLogger(); 407MockLogger mockLogger = new MockLogger(); 439MockLogger mockLogger = new MockLogger(); 547MockLogger mockLogger = new MockLogger(); 585MockLogger mockLogger = new MockLogger(); 626MockLogger mockLogger = new MockLogger(); 697MockLogger mockLogger = new MockLogger(); 782MockLogger mockLogger = new MockLogger(); 893MockLogger mockLogger = new MockLogger();
EscapingInProjects_Tests.cs (4)
678MockLogger logger = new MockLogger(); 702MockLogger logger = new MockLogger(); 736MockLogger logger = new(); 810MockLogger logger = new MockLogger();
Evaluation\EvaluationLogging_Tests.cs (2)
85firstEvaluationLogger ??= new MockLogger(); 143project => new MockLogger
Evaluation\Evaluator_Tests.cs (54)
64MockLogger logger = new(); 91MockLogger logger = new(); 322MockLogger logger = new MockLogger(); 451MockLogger logger = new MockLogger(); 513MockLogger logger = new MockLogger(); 556MockLogger logger = new MockLogger(); 601MockLogger logger = new MockLogger(); 644MockLogger logger = new MockLogger(); 690MockLogger logger = new MockLogger(); 734MockLogger logger = new MockLogger(); 780MockLogger logger = new MockLogger(); 847MockLogger logger = new MockLogger(); 1155MockLogger logger = new MockLogger(); 1211MockLogger logger = new MockLogger(); 1275MockLogger logger = new MockLogger(); 1312MockLogger logger = new MockLogger(); 1359MockLogger logger = new MockLogger(); 2308MockLogger mockLogger = new MockLogger(); 2333MockLogger mockLogger = new MockLogger(); 2357MockLogger mockLogger = new MockLogger(); 2890MockLogger logger = new MockLogger(); 2915MockLogger logger = new MockLogger(); 2940MockLogger logger = new MockLogger(); 2970MockLogger logger = new MockLogger(); 3000MockLogger logger = new MockLogger(); 3030MockLogger logger = new MockLogger(); 3060MockLogger logger = new MockLogger(); 3104MockLogger logger = new MockLogger(); 3141MockLogger logger = new MockLogger(); 3176MockLogger logger = new MockLogger(); 3210MockLogger logger = new MockLogger(); 3355MockLogger logger = new MockLogger(); 3409MockLogger logger = new MockLogger(); 3470MockLogger logger = new MockLogger(); 3530MockLogger logger = new MockLogger(); 3604MockLogger logger = new MockLogger(); 3677MockLogger logger = new MockLogger(); 3740MockLogger logger = new MockLogger(); 3802MockLogger logger = new MockLogger(); 3855MockLogger logger = new MockLogger(); 3921MockLogger logger = new MockLogger(); 3973MockLogger logger = new MockLogger(); 4025MockLogger logger = new MockLogger(); 4084MockLogger logger = new MockLogger(); 4147MockLogger logger = new MockLogger(); 4206MockLogger logger = new MockLogger(); 4258MockLogger logger = new MockLogger(); 4302MockLogger logger = new MockLogger(); 4382MockLogger logger = new MockLogger(); 4580MockLogger logger = new MockLogger(); 4693MockLogger logger = new MockLogger(); 5021MockLogger logger = new MockLogger(); 5060MockLogger logger = new() 5218MockLogger logger = new MockLogger();
Evaluation\Expander_Tests.cs (2)
5132var logger = new MockLogger(); 5169var logger = new MockLogger();
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (11)
57var logger = new MockLogger(); 307var logger = new MockLogger(); 409var logger = new MockLogger(); 502var logger = new MockLogger(); 579var logger = new MockLogger(); 640var logger = new MockLogger(); 710var logger = new MockLogger(); 775var logger = new MockLogger(); 834var logger = new MockLogger(); 869var logger = new MockLogger(); 926var logger = new MockLogger();
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
365var logger = new MockLogger(); 474MockLogger logger = new MockLogger();
Evaluation\SdkResultEvaluation_Tests.cs (1)
41_logger = new MockLogger();
FixPathOnUnix_Tests.cs (1)
45var logger = new MockLogger();
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
440MockLogger logger = new();
Instance\TaskItem_Tests.cs (3)
281MockLogger logger = new MockLogger(); 335MockLogger logger = new MockLogger(); 370MockLogger logger = new MockLogger();
Microsoft.Build.Tasks.UnitTests (19)
MSBuild_Tests.cs (4)
168MockLogger logger = new MockLogger(); 1388MockLogger logger = new MockLogger(); 1474var logger = new MockLogger(); 1510var logger = new MockLogger();
ProjectExtensionsImportTestBase.cs (2)
227MockLogger logger = new MockLogger(); 254MockLogger logger = new MockLogger();
ResolveSDKReference_Tests.cs (9)
3809MockLogger logger = new MockLogger(); 3824logger = new MockLogger(); 3952MockLogger logger = new MockLogger(); 3967logger = new MockLogger(); 4061MockLogger logger = new MockLogger(); 4076logger = new MockLogger(); 4158MockLogger logger = new MockLogger(); 4175logger = new MockLogger(); 4291MockLogger logger = new MockLogger();
XmlPeek_Tests.cs (1)
336MockLogger log = new();
XmlPoke_Tests.cs (3)
144MockLogger log = new(); 156MockLogger log = new(); 169MockLogger log = new();
Microsoft.Build.UnitTests.Shared (6)
EngineTestEnvironment.cs (1)
170var logger = new MockLogger();
MockEngine.cs (1)
67MockLogger = new MockLogger();
ObjectModelHelpers.cs (4)
785MockLogger logger = new MockLogger(); 1359logger ??= new MockLogger 1385var logger = new MockLogger(); 1480MockLogger mockLogger = (testOutput == null) ? new MockLogger() : new MockLogger(testOutput);
Microsoft.Build.Utilities.UnitTests (9)
MuxLogger_Tests.cs (9)
72muxLogger.RegisterLogger(1, new MockLogger()); 93MockLogger mockLogger2 = new MockLogger(); 111MockLogger mockLogger = new MockLogger(); 156MockLogger mockLogger = new MockLogger(); 209MockLogger mockLogger1 = new MockLogger(); 210MockLogger mockLogger2 = new MockLogger(); 264MockLogger mockLogger1 = new MockLogger(); 265MockLogger mockLogger2 = new MockLogger(); 314MockLogger mockLogger = new MockLogger();