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