115 references to AssertLogDoesntContain
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
171
mockLogger2.
AssertLogDoesntContain
("IHaveBeenLogged");
Microsoft.Build.Engine.UnitTests (103)
BackEnd\BatchingEngine_Tests.cs (3)
312
log.
AssertLogDoesntContain
("Item After:dev 1");
313
log.
AssertLogDoesntContain
("Item After:prod 1");
344
log.
AssertLogDoesntContain
("a.obj");
BackEnd\BuildManager_Tests.cs (22)
1048
_logger.
AssertLogDoesntContain
("[message]");
1565
_logger.
AssertLogDoesntContain
("[errormessage]");
1600
_logger.
AssertLogDoesntContain
("[errormessage]");
1640
_logger.
AssertLogDoesntContain
("[errormessage]");
1643
_logger.
AssertLogDoesntContain
("MSB4217");
1646
_logger.
AssertLogDoesntContain
("MSB4216");
1678
_logger.
AssertLogDoesntContain
("[errormessage]");
1719
_logger.
AssertLogDoesntContain
("[errormessage]");
1753
_logger.
AssertLogDoesntContain
("[errormessage]");
1756
_logger.
AssertLogDoesntContain
("MSB4217");
2231
_logger.
AssertLogDoesntContain
("MSB4223");
2286
_logger.
AssertLogDoesntContain
("[deleteme]");
2290
_logger.
AssertLogDoesntContain
("[foo]");
2328
_logger.
AssertLogDoesntContain
("[changed]");
2745
_logger.
AssertLogDoesntContain
("Error 2");
2842
_logger.
AssertLogDoesntContain
("Error 2");
2858
_logger.
AssertLogDoesntContain
(skippedMessage2);
2862
_logger.
AssertLogDoesntContain
(skippedMessage3);
2866
_logger.
AssertLogDoesntContain
(skippedMessage4);
3029
_logger.
AssertLogDoesntContain
("Error 2");
3098
_logger.
AssertLogDoesntContain
("[Error2]");
3387
_logger.
AssertLogDoesntContain
("[BaseValue]");
BackEnd\IntrinsicTask_Tests.cs (12)
193
logger.
AssertLogDoesntContain
("[v1][v2]");
917
logger.
AssertLogDoesntContain
("[a1][b1]");
3580
logger.
AssertLogDoesntContain
("start:");
3581
logger.
AssertLogDoesntContain
("end:");
3615
logger.
AssertLogDoesntContain
("[1]");
3646
logger.
AssertLogDoesntContain
("[1]");
3673
logger.
AssertLogDoesntContain
("[1]");
3674
logger.
AssertLogDoesntContain
("[2]");
3702
logger.
AssertLogDoesntContain
("[1]");
3703
logger.
AssertLogDoesntContain
("[2]");
3731
logger.
AssertLogDoesntContain
("[1]");
3760
logger.
AssertLogDoesntContain
("[1]");
BackEnd\MSBuild_Tests.cs (24)
831
logger.
AssertLogDoesntContain
("iin1=[a/b.foo;c/d.foo;g/h.foo]");
832
logger.
AssertLogDoesntContain
("iin1-target-paths=[b.foo;d.foo;h.foo]");
881
logger.
AssertLogDoesntContain
("MSB4120");
1348
logger.
AssertLogDoesntContain
("SecondProject");
1351
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure"));
1360
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1361
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure"));
1362
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NotBuildingInParallel"));
1366
logger.
AssertLogDoesntContain
("SecondProject");
1369
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure"));
1370
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NotBuildingInParallel"));
1379
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1380
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure"));
1381
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.NotBuildingInParallel"));
1562
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1582
logger2.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1698
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
1704
logger.
AssertLogDoesntContain
("Proj2 T2 message");
1711
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
1718
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
1724
logger.
AssertLogDoesntContain
("Proj2 T2 message");
1725
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
1731
logger.
AssertLogDoesntContain
("Proj2 T2 message");
1732
logger.
AssertLogDoesntContain
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
BackEnd\TargetBuilder_Tests.cs (4)
390
log.
AssertLogDoesntContain
("MSB4057"); // missing target
422
log.
AssertLogDoesntContain
("MSB4057"); // missing target
445
log.
AssertLogDoesntContain
("MSB4057"); // missing target
481
log.
AssertLogDoesntContain
("MSB4057"); // missing target
BackEnd\TargetEntry_Tests.cs (1)
655
log.
AssertLogDoesntContain
("item1;item2");
BackEnd\TargetUpToDateChecker_Tests.cs (4)
67
ml.
AssertLogDoesntContain
("Running Build target");
94
ml.
AssertLogDoesntContain
("This is an unhandled exception");
153
ml.
AssertLogDoesntContain
("Running Build target");
526
logger.
AssertLogDoesntContain
("B.out;B.out");
BackEnd\TaskBuilder_Tests.cs (8)
86
logger.
AssertLogDoesntContain
("Made it");
202
logger.
AssertLogDoesntContain
("MSB4181");
298
logger.
AssertLogDoesntContain
("start:");
299
logger.
AssertLogDoesntContain
("end:");
302
logger.
AssertLogDoesntContain
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("TaskStarted", "CreateProperty"));
458
logger.
AssertLogDoesntContain
("MSB4118");
459
logger.
AssertLogDoesntContain
("MSB3031");
675
logger.
AssertLogDoesntContain
("MSB4018");
BackEnd\TaskExecutionHost_Tests.cs (2)
1085
ml.
AssertLogDoesntContain
("MSB1025");
1087
ml.
AssertLogDoesntContain
(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("UnhandledMSBuildError", string.Empty));
Construction\SolutionFilter_Tests.cs (1)
150
logger.
AssertLogDoesntContain
("ClassLibraryBuilt");
Definition\ItemDefinitionGroup_Tests.cs (1)
1467
logger.
AssertLogDoesntContain
("[m2]");
Evaluation\Evaluator_Tests.cs (12)
330
logger.
AssertLogDoesntContain
("[ProjectDirectoryTargetsImport]");
332
logger.
AssertLogDoesntContain
("[ProjectDirectoryTargetsImportGroup]");
459
logger.
AssertLogDoesntContain
("[ProjectDirectoryTargetsImport]");
461
logger.
AssertLogDoesntContain
("[ProjectDirectoryTargetsImportGroup]");
563
logger.
AssertLogDoesntContain
("MSB4211");
608
logger.
AssertLogDoesntContain
("MSB4211");
651
logger.
AssertLogDoesntContain
("MSB4211");
697
logger.
AssertLogDoesntContain
("MSB4211");
852
logger.
AssertLogDoesntContain
("foo_bar");
1217
logger.
AssertLogDoesntContain
("01CB8D8A6E454918B17496468B3D74AA");
1316
logger.
AssertLogDoesntContain
("15F11509E2E047EF9B337807ACEE4448");
5224
logger.
AssertLogDoesntContain
("4.nottargets");
Evaluation\Expander_Tests.cs (4)
834
logger.
AssertLogDoesntContain
("This target should NOT run.");
1943
log.
AssertLogDoesntContain
("%28");
1944
log.
AssertLogDoesntContain
("%29");
1991
log.
AssertLogDoesntContain
("Reference assembly paths do not match");
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (2)
172
logger.
AssertLogDoesntContain
("MSB4057"); // Should not contain TargetDoesNotExist
215
logger.
AssertLogDoesntContain
("MSB4057"); // Should not contain TargetDoesNotExist
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
376
logger.
AssertLogDoesntContain
($"ProjectFilePath = {p2Path}");
Graph\IsolateProjects_Tests.cs (1)
240
logger.
AssertLogDoesntContain
("MSB4260");
WarningsAsMessagesAndErrors_Tests.cs (1)
362
logger.
AssertLogDoesntContain
("MSB1237");
Microsoft.Build.Tasks.UnitTests (4)
CallTarget_Tests.cs (1)
78
logger.
AssertLogDoesntContain
("Inside C");
Exec_Tests.cs (1)
974
logger.
AssertLogDoesntContain
("1 echo line");
XmlPeek_Tests.cs (1)
330
logger.
AssertLogDoesntContain
("MSB4036");
XmlPoke_Tests.cs (1)
328
logger.
AssertLogDoesntContain
("MSB4036");
Microsoft.Build.UnitTests.Shared (3)
MockEngine.cs (1)
451
MockLogger.
AssertLogDoesntContain
(contains);
MockLogger.cs (2)
398
AssertLogDoesntContain
("MSB4018");
402
AssertLogDoesntContain
("MSB0001");
Microsoft.Build.Utilities.UnitTests (4)
MuxLogger_Tests.cs (4)
230
mockLogger1.
AssertLogDoesntContain
("Bar");
231
mockLogger1.
AssertLogDoesntContain
("Warning");
235
mockLogger2.
AssertLogDoesntContain
("Foo");
236
mockLogger2.
AssertLogDoesntContain
("Error");