13 references to AssertMessageCount
Microsoft.Build.Engine.UnitTests (13)
BackEnd\MSBuild_Tests.cs (4)
838
logger.
AssertMessageCount
("MSB4120", 6);
840
logger.
AssertMessageCount
($"{projFileName}(4,34):", 2, false);
841
logger.
AssertMessageCount
($"{projFileName}(5,34):", 2, false);
842
logger.
AssertMessageCount
($"{projFileName}(6,34):", 2, false);
Graph\IsolateProjects_Tests.cs (8)
237
logger.
AssertMessageCount
("Message from reference", 2);
259
logger.
AssertMessageCount
("Message from reference", 2);
262
logger.
AssertMessageCount
("MSB4260", 2);
359
declaredReferenceLogger.
AssertMessageCount
("Message from undeclared reference", 1);
360
declaredReferenceLogger.
AssertMessageCount
("MSB4260", 1);
386
logger.
AssertMessageCount
("Message from reference", 1);
389
logger.
AssertMessageCount
("MSB4260", 1);
613
buildManagerSession.Logger.
AssertMessageCount
("Previously built successfully", 4);
ProjectCache\ProjectCacheTests.cs (1)
768
logger.
AssertMessageCount
("MSB4274", 1);