599 references to AssertLogContains
Microsoft.Build.Engine.OM.UnitTests (25)
Definition\Project_Tests.cs (20)
113
mockLogger.
AssertLogContains
("NewLineEvalAsEmpty");
114
mockLogger.
AssertLogContains
("TabEvalAsEmpty");
115
mockLogger.
AssertLogContains
("CarriageReturnEvalAsEmpty");
142
mockLogger.
AssertLogContains
("IHaveBeenLogged");
170
mockLogger.
AssertLogContains
("IHaveBeenLogged");
415
logger.
AssertLogContains
("MSB4210"); // selfimport
450
logger.
AssertLogContains
("MSB4210"); // selfimport
486
logger.
AssertLogContains
("MSB4011"); // duplicate import
529
logger.
AssertLogContains
("MSB4011"); // duplicate import
2446
logger.
AssertLogContains
("MSB4177");
2470
logger.
AssertLogContains
("MSB4177");
2540
logger.
AssertLogContains
("MSB4177");
3922
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to false condition; ( \'$(Something)\' == \'nothing\' ) was evaluated as ( \'\' == \'nothing\' ).");
3963
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to no matching files.");
4008
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to the file being empty.");
4055
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to the file being invalid.");
4095
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to the expression evaluating to an empty string.");
4138
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to the file not existing.");
4181
logger.
AssertLogContains
($"Project \"{import.Project}\" was not imported by \"{pre.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}), due to no matching files.");
4227
logger.
AssertLogContains
($"Importing project \"{pre1.FullPath}\" into project \"{pre2.FullPath}\" at ({eventArgs.LineNumber},{eventArgs.ColumnNumber}).");
Definition\ProjectItem_Tests.cs (3)
843
collectionLogger.
AssertLogContains
("MSB5029");
969
collectionLogger.
AssertLogContains
("MSB5029");
970
collectionLogger.
AssertLogContains
(testProjectFile);
Definition\ProjectItemDefinition_Tests.cs (1)
221
logger.
AssertLogContains
("a.foo;a.bar/m1");
Instance\ProjectInstance_Tests.cs (1)
387
logger.
AssertLogContains
("[OK]");
Microsoft.Build.Engine.UnitTests (535)
BackEnd\BatchingEngine_Tests.cs (10)
271
log.
AssertLogContains
("[AToBBatched: a;b]");
310
log.
AssertLogContains
("Item Before:dev 1");
311
log.
AssertLogContains
("Item Before:prod 1");
367
log.
AssertLogContains
("[a=a1 b=]");
368
log.
AssertLogContains
("[a= b=b1]");
393
log.
AssertLogContains
("[]");
457
log.
AssertLogContains
("AToZBatched: a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z");
458
log.
AssertLogContains
("ZToABatched: z;y;x;w;v;u;t;s;r;q;p;o;n;m;l;k;j;i;h;g;f;e;d;c;b;a");
492
logger.
AssertLogContains
("[i1;i2 ]", "[i3 m1]");
527
logger.
AssertLogContains
("MSB4036");
BackEnd\BuildManager_Tests.cs (55)
137
_logger.
AssertLogContains
("[success]");
254
_logger.
AssertLogContains
("[success]");
571
_logger.
AssertLogContains
("[success]");
611
_logger.
AssertLogContains
("[success]");
655
_logger.
AssertLogContains
("[success]");
717
_logger.
AssertLogContains
("[success]");
787
_logger.
AssertLogContains
("[success]");
839
_logger.
AssertLogContains
("[success]");
936
_logger.
AssertLogContains
("[success]");
960
_logger.
AssertLogContains
("[errormessage]");
997
logger.
AssertLogContains
("[Warn]");
998
logger.
AssertLogContains
("[Message]");
1000
logger.
AssertLogContains
(highMessage);
1001
logger.
AssertLogContains
(normalMessage);
1002
logger.
AssertLogContains
(lowMessage);
1046
_logger.
AssertLogContains
("[errormessage]");
1047
_logger.
AssertLogContains
("[warn]");
1080
_logger.
AssertLogContains
("[errormessage]");
1081
_logger.
AssertLogContains
("[warn]");
1082
_logger.
AssertLogContains
("[message]");
1281
_logger.
AssertLogContains
("[success 1]");
1347
_logger.
AssertLogContains
("[success 1]");
1348
_logger.
AssertLogContains
("[success 2]");
1387
_logger.
AssertLogContains
("[success 1]");
1388
_logger.
AssertLogContains
("[success 2]");
2054
_logger.
AssertLogContains
("Value:Baz");
2070
_logger.
AssertLogContains
("Value:FOO");
2201
_logger.
AssertLogContains
("[success]");
2230
_logger.
AssertLogContains
("[success]");
2287
_logger.
AssertLogContains
("[overridden]");
2288
_logger.
AssertLogContains
("[unmodified]");
2289
_logger.
AssertLogContains
("[new]");
2291
_logger.
AssertLogContains
("[foo2;foo21]");
2292
_logger.
AssertLogContains
("[baz]");
2326
_logger.
AssertLogContains
("[overridden]");
2327
_logger.
AssertLogContains
("[unmodified]");
2478
_logger.
AssertLogContains
("[Build]");
2479
_logger.
AssertLogContains
("[Build2]");
2480
_logger.
AssertLogContains
("[AT1]");
2481
_logger.
AssertLogContains
("[AT2]");
2750
_logger.
AssertLogContains
(skippedMessage);
2846
_logger.
AssertLogContains
("Error in Target2");
2847
_logger.
AssertLogContains
("Target 3");
2848
_logger.
AssertLogContains
("Target 4");
2853
_logger.
AssertLogContains
(skippedMessage1);
2942
_logger.
AssertLogContains
("Error 1");
2943
_logger.
AssertLogContains
("Error 2");
2948
_logger.
AssertLogContains
(skippedMessage1);
2952
_logger.
AssertLogContains
(skippedMessage2);
3377
_logger.
AssertLogContains
("[BaseValue]");
3378
_logger.
AssertLogContains
("[BaseItem]");
3385
_logger.
AssertLogContains
("[NewValue]");
3386
_logger.
AssertLogContains
("[BaseItem;NewItem]");
4429
_logger.
AssertLogContains
("MSB4040");
4441
_logger.
AssertLogContains
("MSB4040");
BackEnd\IntrinsicTask_Tests.cs (64)
209
logger.
AssertLogContains
("[v1][v2]");
230
logger.
AssertLogContains
("MSB4191"); // Metadata not allowed
934
logger.
AssertLogContains
("[a1][b1]");
956
logger.
AssertLogContains
("MSB4191"); // Metadata not allowed
1088
logger.
AssertLogContains
("MSB4191"); // Metadata not allowed
1172
logger.
AssertLogContains
("MSB4191");
1227
logger.
AssertLogContains
("[#a1#*#a2#]");
1250
logger.
AssertLogContains
("[v0]");
1286
logger.
AssertLogContains
("start:[v0]", "end:[v2]", "final:[v2]");
1341
logger.
AssertLogContains
("[p1]");
1363
logger.
AssertLogContains
("[p1]");
1383
logger.
AssertLogContains
("[i1]");
1405
logger.
AssertLogContains
("[i1]");
1430
logger.
AssertLogContains
(new string[] { "start:[1.in]", "end:[1.in]", "start:[2.in]", "end:[2.in]" });
1455
logger.
AssertLogContains
(new string[] { "start:[]", "end:[p1]", "start:[]", "end:[p1]" });
1491
logger.
AssertLogContains
(new string[] { "start:[]", "end:[" + newFiles.ElementAt(1) + "]", "final:[" + oldFiles.First() + ";" + newFiles.ElementAt(1) + "]" });
1534
logger.
AssertLogContains
(new string[] { "start:[]", "end:[" + newFiles.ElementAt(1) + "]", "final:[" + newFiles.ElementAt(1) + "]" });
1589
logger.
AssertLogContains
(new string[] { "start:[" + newInput + "]",
1693
logger.
AssertLogContains
(new string[] { "final:[a;b;d]" });
2303
logger.
AssertLogContains
("[]");
2336
logger.
AssertLogContains
("[]");
2373
logger.
AssertLogContains
("[a2;a1;a3][b1]");
2410
logger.
AssertLogContains
("[]");
2447
logger.
AssertLogContains
("[a1;a1][a1;a1]");
2485
logger.
AssertLogContains
("[m2]");
2516
logger.
AssertLogContains
("[m3]");
2571
logger.
AssertLogContains
(new string[] { "start:[1.in]", "end:[]", "start:[2.in]", "end:[]" });
2597
logger.
AssertLogContains
(new string[] { "start:[j1]", "end:[]", "start:[j1]", "end:[]" });
2641
logger.
AssertLogContains
(new string[] { "in target:[a][a]", "after target:[a;b;c][a;b;c]" });
2684
logger.
AssertLogContains
(new string[] { "Props During t1:[prop]", "Props During t2:[prop]", "Props After t1;t2:[]", "Props During Build:[prop]" });
2685
logger.
AssertLogContains
(new string[] { "Items During t1:[item]", "Items During t2:[item]", "Items After t1;t2:[]", "Items During Build:[item]" });
2728
logger.
AssertLogContains
(new string[] { "Props During t1:[prop]", "Props During t2:[prop]", "Props After t1;t2:[]", "Props During Build:[prop]" });
2729
logger.
AssertLogContains
(new string[] { "Items During t1:[item]", "Items During t2:[item]", "Items After t1;t2:[]", "Items During Build:[item]" });
2772
logger.
AssertLogContains
(new string[] { "Props During t1:[prop]", "Props During t2:[prop]", "Props After t1;t2:[]", "Props During Build:[prop]" });
2773
logger.
AssertLogContains
(new string[] { "Items During t1:[item]", "Items During t2:[item]", "Items After t1;t2:[]", "Items During Build:[item]" });
2817
logger.
AssertLogContains
(new string[] { "in target:[a][a]", "after target:[a;b;c][a;b;c]" });
2890
logger.
AssertLogContains
(@"[item1|v1|v2|v3]");
2940
logger.
AssertLogContains
(new string[] { "[m2][n1]" });
3170
logger.
AssertLogContains
(@"[a.idl|dlldatadir\a_dlldata.c|headerdir\a.h|tlbdir\a.tlb|proxydir\a_p.c|interfacedir\a_i.c]",
3203
logger.
AssertLogContains
("[m1]");
3249
logger.
AssertLogContains
("[m0][n0]", "[m1][n1]");
3289
logger.
AssertLogContains
("[a.dll]->[.dll]");
3290
logger.
AssertLogContains
("[a.pdb]->[.pdb]");
3317
logger.
AssertLogContains
("[a.dll]->[.dll]");
3318
logger.
AssertLogContains
("[a.dll.pdb]->[.pdb]");
3319
logger.
AssertLogContains
("[a.dll.pdb.pdb]->[.pdb]");
3363
logger.
AssertLogContains
("[a.dll]->[.dll]->[]");
3364
logger.
AssertLogContains
(
3408
logger.
AssertLogContains
("[imported]", "[]");
3448
logger.
AssertLogContains
("[m1]");
3485
logger.
AssertLogContains
(new string[] { "start:[]", "end:[--1.in]", "start:[]", "end:[--2.in]", "final:[--2.in]" });
3511
logger.
AssertLogContains
(new string[] { "end:[--2.in]" });
3582
logger.
AssertLogContains
(new string[] { "final:[" + files.First() + "]" });
3616
logger.
AssertLogContains
("[2]");
3647
logger.
AssertLogContains
("[2]");
3732
logger.
AssertLogContains
("[2]");
3761
logger.
AssertLogContains
("[2]");
3798
logger.
AssertLogContains
("[a;b;c = m4]");
3826
logger.
AssertLogContains
("[b = m1]");
3827
logger.
AssertLogContains
("[a;c = m3]");
3855
logger.
AssertLogContains
("[a = m3]");
3856
logger.
AssertLogContains
("[b = m1]");
3857
logger.
AssertLogContains
("[c = m2]");
3894
logger.
AssertLogContains
("[a;b;c=]");
BackEnd\MSBuild_Tests.cs (48)
266
logger.
AssertLogContains
("Hello from foo.csproj");
304
logger.
AssertLogContains
("Hello from foo.csproj");
352
logger.
AssertLogContains
("Hello from foo.csproj");
398
logger.
AssertLogContains
("Hello from foo.csproj");
685
logger.
AssertLogContains
("a=[a]");
686
logger.
AssertLogContains
("b=[b]");
687
logger.
AssertLogContains
("c=[]");
688
logger.
AssertLogContains
("d=[]");
689
logger.
AssertLogContains
("e=[e]");
690
logger.
AssertLogContains
("f=[f]");
691
logger.
AssertLogContains
("g=[]");
752
logger.
AssertLogContains
("iout1=[]");
753
logger.
AssertLogContains
("iout2=[]");
754
logger.
AssertLogContains
("iout3=[]");
755
logger.
AssertLogContains
("iout4=[]");
756
logger.
AssertLogContains
("iout5=[a/b.foo]");
757
logger.
AssertLogContains
($"iout6=[a{Path.DirectorySeparatorChar}b.foo]");
758
logger.
AssertLogContains
("iin1=[]");
759
logger.
AssertLogContains
("iin2=[]");
760
logger.
AssertLogContains
("iin3=[]");
761
logger.
AssertLogContains
("iin4=[]");
762
logger.
AssertLogContains
("iin5=[a/b.foo]");
763
logger.
AssertLogContains
($"iin6=[a{Path.DirectorySeparatorChar}b.foo]");
799
logger.
AssertLogContains
("iout1=[a/b.foo;c/d.foo;g/h.foo]");
800
logger.
AssertLogContains
("iout1-target-paths=[b.foo;d.foo;h.foo]");
833
logger.
AssertLogContains
("iin1=[a/b.foo;c/d.foo;g/h.foo;g/h.foo]");
834
logger.
AssertLogContains
("iin1-target-paths=[;b.foo;b.foo;d.foo]");
836
logger.
AssertLogContains
(string.Format(ResourceUtilities.GetResourceString("ItemReferencingSelfInTarget"), "iin1", "Filename"));
837
logger.
AssertLogContains
(string.Format(ResourceUtilities.GetResourceString("ItemReferencingSelfInTarget"), "iin1", "Extension"));
878
logger.
AssertLogContains
("iin1=[a/b.foo;c/d.foo;g/h.foo]");
879
logger.
AssertLogContains
("iin1-target-paths=[b.foo;d.foo;h.foo]");
1350
logger.
AssertLogContains
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1352
logger.
AssertLogContains
(AssemblyResources.GetString("MSBuild.NotBuildingInParallel"));
1358
logger.
AssertLogContains
("SecondProject");
1368
logger.
AssertLogContains
(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects"));
1377
logger.
AssertLogContains
("SecondProject");
1696
logger.
AssertLogContains
("Proj2 T1 message");
1697
logger.
AssertLogContains
("Proj2 T2 message");
1702
logger.
AssertLogContains
("Proj2 T1 message");
1703
logger.
AssertLogContains
(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
1709
logger.
AssertLogContains
("Proj2 T1 message");
1710
logger.
AssertLogContains
("Proj2 T2 message");
1716
logger.
AssertLogContains
("Proj2 T1 message");
1717
logger.
AssertLogContains
("Proj2 T2 message");
1723
logger.
AssertLogContains
("Proj2 T1 message");
1730
logger.
AssertLogContains
("Proj2 T1 message");
1854
logger.
AssertLogContains
("[foo.out]");
1890
logger.
AssertLogContains
("[foo.out]");
BackEnd\OnError_Tests.cs (2)
179
l.
AssertLogContains
("[a1;a2][v1][v2]");
596
logger.
AssertLogContains
(String.Format(MockLogger.GetString("TaskReturnedFalseButDidNotLogError"), "FailingTask"));
BackEnd\Scheduler_Tests.cs (2)
718
_logger.
AssertLogContains
("[success]");
722
_logger.
AssertLogContains
(reader.ReadLine());
BackEnd\TargetBuilder_Tests.cs (5)
332
logger.
AssertLogContains
("[GFA;GFT;DFTA;GAFT]");
389
log.
AssertLogContains
("[t]");
421
log.
AssertLogContains
("[t]", "[a]", "[c]");
444
log.
AssertLogContains
("[t]");
480
log.
AssertLogContains
("[a]", "[t]", "[c]", "[t2]");
BackEnd\TargetEntry_Tests.cs (2)
654
log.
AssertLogContains
("item2");
659
log.
AssertLogContains
("item1;item2");
BackEnd\TargetUpToDateChecker_Tests.cs (9)
128
ml.
AssertLogContains
("Running Build target");
324
logger.
AssertLogContains
("SomeMetaThing");
353
logger.
AssertLogContains
("SomeMetaThing");
382
logger.
AssertLogContains
("1;2;3;4;5;6;7;8;9");
383
logger.
AssertLogContains
("a;b;c;d;e;f;g");
412
logger.
AssertLogContains
("1;2;3;4;5;6;7;8;9");
413
logger.
AssertLogContains
("a;b;c;d;e;f;g");
447
logger.
AssertLogContains
("foo.goo");
448
logger.
AssertLogContains
("foo1.goo");
BackEnd\TaskBuilder_Tests.cs (31)
85
logger.
AssertLogContains
("MSB4036");
138
logger.
AssertLogContains
("Made it");
200
logger.
AssertLogContains
("MSB5021");
244
logger.
AssertLogContains
(new string[] { "final:[/assemblyresource:c.resx,barz]" });
245
logger.
AssertLogContains
(new string[] { ResourceUtilities.FormatResourceStringStripCodeAndKeyword("TaskStarted", "CreateProperty") });
246
logger.
AssertLogContains
(new string[] { ResourceUtilities.FormatResourceStringStripCodeAndKeyword("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:a.resx,foo", "/assemblyresource:b.resx,bar") });
247
logger.
AssertLogContains
(new string[] { ResourceUtilities.FormatResourceStringStripCodeAndKeyword("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:b.resx,bar", "/assemblyresource:c.resx,barz") });
301
logger.
AssertLogContains
(new string[] { "final:[/assemblyresource:c.resx,barz]" });
303
logger.
AssertLogContains
(new string[] { ResourceUtilities.FormatResourceStringStripCodeAndKeyword("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:a.resx,foo", "/assemblyresource:b.resx,bar") });
304
logger.
AssertLogContains
(new string[] { ResourceUtilities.FormatResourceStringStripCodeAndKeyword("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:b.resx,bar", "/assemblyresource:c.resx,barz") });
368
logger.
AssertLogContains
("Property1=[foo]");
369
logger.
AssertLogContains
("Property2=[foo]");
370
logger.
AssertLogContains
("MetadataProperty=[foo]");
371
logger.
AssertLogContains
("TestItem1=[foo]");
372
logger.
AssertLogContains
("TestItem2=[foo]");
373
logger.
AssertLogContains
("MetadataItem=[foo]");
419
logger.
AssertLogContains
("[start:]");
420
logger.
AssertLogContains
("[0:true]");
421
logger.
AssertLogContains
("[1:false]");
422
logger.
AssertLogContains
("[p:false]");
423
logger.
AssertLogContains
("[2:true]");
424
logger.
AssertLogContains
("[3:true]");
425
logger.
AssertLogContains
("[4:false]");
426
logger.
AssertLogContains
("[4:false]");
457
logger.
AssertLogContains
(slashAndBracket);
485
logger.
AssertLogContains
("MSB3031");
509
logger.
AssertLogContains
("MSB3031");
540
logger.
AssertLogContains
("[.ext]");
571
logger.
AssertLogContains
("[||illegal||]");
595
logger.
AssertLogContains
("[foo: ]");
619
logger.
AssertLogContains
("[foo: ]");
BackEnd\TaskExecutionHost_Tests.cs (4)
1031
_logger.
AssertLogContains
("MSB4036");
1051
ml.
AssertLogContains
("a=b");
1083
ml.
AssertLogContains
("MSB4018");
1088
ml.
AssertLogContains
(testExceptionMessage);
BackEnd\TaskHost_Tests.cs (2)
731
mockLogger.
AssertLogContains
($"{item.Key}: '{item.Value}'");
759
mockLogger.
AssertLogContains
("Global property count: 0");
BackEnd\TaskRegistry_Tests.cs (1)
683
logger.
AssertLogContains
("MSB4275");
ChangeWaves_Tests.cs (1)
73
log.
AssertLogContains
(warningCodesLogShouldContain);
Construction\SolutionFilter_Tests.cs (1)
147
logger.
AssertLogContains
(new string[] { "SimpleProjectBuilt" });
Construction\SolutionProjectGenerator_Tests.cs (8)
638
logger.
AssertLogContains
(logoutputs[i]);
660
logger1.
AssertLogContains
(".[11.0]. .[4.0].");
661
logger1.
AssertLogContains
(String.Format(".[{0}]. .[{0}].", ObjectModelHelpers.MSBuildDefaultToolsVersion));
728
logger.
AssertLogContains
(String.Format(".[{0}].", ObjectModelHelpers.MSBuildDefaultToolsVersion));
2051
logger.
AssertLogContains
("MSB4126");
2134
logger.
AssertLogContains
("MSB4203");
2222
logger.
AssertLogContains
("MSB4204");
2620
mockLogger.
AssertLogContains
("Message from MyTarget");
Definition\ItemDefinitionGroup_Tests.cs (35)
350
logger.
AssertLogContains
("[{a.cpp}{DEBUG;CODEANALYSIS}]"); // Unexpected value after evaluation
380
logger.
AssertLogContains
("[{a.cpp}{DEBUG;CODEANALYSIS}]"); // Unexpected value after evaluation
412
logger.
AssertLogContains
("[{a.cpp}{DEBUG;CODEANALYSIS}]"); // Unexpected value after evaluation
723
logger.
AssertLogContains
("[a.cpp==DEBUG]", "[b.cpp==DEBUG]");
748
logger.
AssertLogContains
("[$(xyz)]");
774
logger.
AssertLogContains
("[]");
806
logger.
AssertLogContains
("[m2-n1-o1]");
895
logger.
AssertLogContains
("[m2]", "[n2]");
925
logger.
AssertLogContains
("[m2]");
955
logger.
AssertLogContains
("[m1]");
986
logger.
AssertLogContains
("[m2]");
1017
logger.
AssertLogContains
("[m1]");
1047
logger.
AssertLogContains
("[m2]");
1117
logger.
AssertLogContains
("[a.cpp==RETAIL]", "[b.cpp==DEBUG]");
1145
logger.
AssertLogContains
("[a.cpp==DEBUG]", "[a.cpp==4]");
1175
logger.
AssertLogContains
("[m2]");
1205
logger.
AssertLogContains
("[n2]");
1240
logger.
AssertLogContains
("[a.cpp==DEBUG]");
1326
logger.
AssertLogContains
("[m1][n2]");
1355
logger.
AssertLogContains
("[m1][n2]");
1388
logger.
AssertLogContains
("[m1]");
1422
logger.
AssertLogContains
("[m2]");
1466
logger.
AssertLogContains
("[m1]");
1616
logger.
AssertLogContains
("i:1 [im1][in1][io2][ip1][]");
1617
logger.
AssertLogContains
("j:2 [jm3][jn3][][][jq3]");
1618
logger.
AssertLogContains
("j:1 [jm6][in1][io2][ip1][jq3]");
1619
logger.
AssertLogContains
("k:3 [km5][][][][kq4]");
1620
logger.
AssertLogContains
("k:2 [jm3][jn3][][][jq3]");
1621
logger.
AssertLogContains
("k:1 [jm6][in1][io2][ip1][jq3]");
1648
logger.
AssertLogContains
("[m1][~m1~]");
1675
logger.
AssertLogContains
("[~~][n1]");
1703
logger.
AssertLogContains
("[m1][m1][]");
1735
logger.
AssertLogContains
("[a.cpp==CODEANALYSIS;RETAIL]");
1794
logger.
AssertLogContains
("[PARENT-before:m1]", "[CHILD:m2]", "[PARENT-after:m1]");
1846
logger.
AssertLogContains
("[CHILD:i1:m=m1,n=n1]", "[PARENT:i1:m=m1,n=n1]");
Definition\ToolsVersion_Tests.cs (24)
93
mockLogger.
AssertLogContains
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OverrideTasksFileFailure", rootedPathMessage));
111
mockLogger.
AssertLogContains
("MSB4194");
131
mockLogger.
AssertLogContains
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OverrideTasksFileFailure", rootedPathMessage));
151
mockLogger.
AssertLogContains
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OverrideTasksFileFailure", rootedPathMessage));
319
mockLogger.
AssertLogContains
("ToolsVersion=\"98.6\"");
320
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
356
mockLogger.
AssertLogContains
("ToolsVersion=\"0.1\"");
357
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
391
mockLogger.
AssertLogContains
("ToolsVersion=\"invalidToolsVersion\"");
392
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
453
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
454
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
560
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
561
mockLogger.
AssertLogContains
("ToolsVersion=\"foo\"");
598
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
600
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
641
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
642
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
712
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
713
mockLogger.
AssertLogContains
("ToolsVersion=\"foo\"");
797
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
798
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
907
mockLogger.
AssertLogContains
("ToolsVersion=\"4.0\"");
909
mockLogger.
AssertLogContains
(ObjectModelHelpers.CleanupFileContents("ToolsVersion=\"msbuilddefaulttoolsversion\""));
EndToEndCondition_Tests.cs (2)
43
logger.
AssertLogContains
("Condition evaluated true");
66
logger.
AssertLogContains
("Condition evaluated false");
EscapingInProjects_Tests.cs (9)
102
logger.
AssertLogContains
("Property value is 'abc ; def ; ghi'");
124
logger.
AssertLogContains
("Property value is 'abc ; def ; ghi'");
561
logger.
AssertLogContains
("Resources = aaa%3bbbb.resx;ccc%3bddd.resx");
599
logger.
AssertLogContains
("Transformed item list: 'X;X%3bX.txt Y;Y%3bY.txt Z;Z%3bZ.txt'");
626
logger.
AssertLogContains
("Transformed item list: 'X;X%3bX.txt Y;Y%3bY.txt Z;Z%3bZ.txt'");
692
logger.
AssertLogContains
("MyGlobalProperty = 'foo%3bbar'");
721
logger.
AssertLogContains
("[*]");
756
logger.
AssertLogContains
("[*]");
814
logger.
AssertLogContains
("[OVERRIDE]");
Evaluation\Evaluator_Tests.cs (136)
325
logger.
AssertLogContains
("PropertyOutsideTarget: ..\\test.txt");
326
logger.
AssertLogContains
("PropertyGroupOutsideTarget: test.txt");
327
logger.
AssertLogContains
("PropertyInsideTarget: ..\\test.txt");
328
logger.
AssertLogContains
("PropertyGroupInsideTarget: ..\\test.txt");
329
logger.
AssertLogContains
("[TargetDirectoryTargetsImport]");
331
logger.
AssertLogContains
("[TargetDirectoryTargetsImportGroup]");
454
logger.
AssertLogContains
("PropertyOutsideTarget: " + Path.Combine("..", "test.txt"));
455
logger.
AssertLogContains
("PropertyGroupOutsideTarget: test.txt");
456
logger.
AssertLogContains
("PropertyInsideTarget: " + Path.Combine("..", "test.txt"));
457
logger.
AssertLogContains
("PropertyGroupInsideTarget: " + Path.Combine("..", "test.txt"));
458
logger.
AssertLogContains
("[TargetDirectoryTargetsImport]");
460
logger.
AssertLogContains
("[TargetDirectoryTargetsImportGroup]");
520
logger.
AssertLogContains
("MSB4211");
741
logger.
AssertLogContains
("MSB4211");
787
logger.
AssertLogContains
("MSB4211");
851
logger.
AssertLogContains
("foo");
1160
logger.
AssertLogContains
("[imported1]");
1161
logger.
AssertLogContains
("[imported2]");
1215
logger.
AssertLogContains
("15F11509E2E047EF9B337807ACEE4448;1C5C388AD1AB46F8A95BDF5894E95B8B");
1216
logger.
AssertLogContains
("5D64384AAB7A45FEA105EDA9959F5A41");
1279
logger.
AssertLogContains
("43FEAE1F861742549766443A31C581F9;14F2D19468E24EEE86F7DD6D6E81BB20;DCBE5C70A6EC41288AEA2259F0BFEEB4;74960FBBB84C46F5B7CAAF9113F955FC;67EFAD6EF5584EC2BD651119E6489424");
1382
logger.
AssertLogContains
(aProjName + @": MSBuildThisFileDirectory=" + aDirName);
1383
logger.
AssertLogContains
(aProjName + @": MSBuildThisFileDirectoryNoRoot=a" + Path.DirectorySeparatorChar);
1384
logger.
AssertLogContains
(aProjName + @": MSBuildThisFile=p.proj");
1385
logger.
AssertLogContains
(aProjName + @": MSBuildThisFileExtension=.proj");
1386
logger.
AssertLogContains
(aProjName + @": MSBuildThisFileFullPath=" + aProjName);
1387
logger.
AssertLogContains
(aProjName + @": MSBuildThisFileName=p");
1389
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFileDirectory=" + aDirName);
1390
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFileDirectoryNoRoot=a" + Path.DirectorySeparatorChar);
1391
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFile=t1.targets");
1392
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFileExtension=.targets");
1393
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFileFullPath=" + targets1FileName);
1394
logger.
AssertLogContains
(targets1FileName + @": MSBuildThisFileName=t1");
1396
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFileDirectory=" + bDirName);
1397
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFileDirectoryNoRoot=a" + Path.DirectorySeparatorChar + "b" + Path.DirectorySeparatorChar);
1398
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFile=t2.targets");
1399
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFileExtension=.targets");
1400
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFileFullPath=" + targets2FileName);
1401
logger.
AssertLogContains
(targets2FileName + @": MSBuildThisFileName=t2");
1403
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFileDirectory=" + rootDirName);
1404
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFileDirectoryNoRoot=");
1405
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFile=t3.targets");
1406
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFileExtension=.targets");
1407
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFileFullPath=" + targets3FileName);
1408
logger.
AssertLogContains
(targets3FileName + @": MSBuildThisFileName=t3");
2319
mockLogger.
AssertLogContains
("MSB4092");
2893
logger.
AssertLogContains
(String.Format("[{0}]", 1));
2918
logger.
AssertLogContains
(String.Format("[{0}]", FrameworkLocationHelper.programFiles32));
2943
logger.
AssertLogContains
("[Bar]");
2973
logger.
AssertLogContains
("[Baz]");
3003
logger.
AssertLogContains
("[Bar]");
3033
logger.
AssertLogContains
("[Baz]");
3063
logger.
AssertLogContains
("[BazBar]");
3107
logger.
AssertLogContains
(".[Foo1Foo2].");
3108
logger.
AssertLogContains
(".[[Bar1Bar2]].");
3109
logger.
AssertLogContains
(".[[[Baz1Baz2]]].");
3179
logger.
AssertLogContains
(".[BazFoo].");
3180
logger.
AssertLogContains
(".[[FooGoo]].");
3213
logger.
AssertLogContains
(".[BazGoo].");
3214
logger.
AssertLogContains
(".[[FooGoo]].");
3358
logger.
AssertLogContains
(".[Foo2].");
3359
logger.
AssertLogContains
(".[[Bar2]].");
3360
logger.
AssertLogContains
(".[[[Baz1]]].");
3412
logger.
AssertLogContains
("[BazBar]");
3473
logger.
AssertLogContains
("[Baz]");
3533
logger.
AssertLogContains
("[Bar]");
3607
logger.
AssertLogContains
(".[Foo3Foo1Foo2].");
3608
logger.
AssertLogContains
(".[[Bar3Bar2]].");
3609
logger.
AssertLogContains
(".[[[Baz3Baz2]]].");
3680
logger.
AssertLogContains
(".[Foo3Foo1Foo2].");
3681
logger.
AssertLogContains
(".[[Bar3Bar2]].");
3682
logger.
AssertLogContains
(".[[[Baz3Baz2]]].");
3743
logger.
AssertLogContains
(".[Foo1].");
3805
logger.
AssertLogContains
(".[Foo1Foo2].");
3862
logger.
AssertLogContains
(".[a1].");
3863
logger.
AssertLogContains
(".[[b1]].");
3864
logger.
AssertLogContains
(".[[[]]].");
3865
logger.
AssertLogContains
(".[[[[10.0]]]].");
3871
logger.
AssertLogContains
(".[a1].");
3872
logger.
AssertLogContains
(".[[b2]].");
3873
logger.
AssertLogContains
(".[[[c2]]].");
3874
logger.
AssertLogContains
(".[[[[11.0]]]].");
3879
logger.
AssertLogContains
("|changed|");
3880
logger.
AssertLogContains
("||a1||");
3925
logger.
AssertLogContains
(".[a1].");
3926
logger.
AssertLogContains
(".[[b1]].");
3927
logger.
AssertLogContains
(".[[[]]].");
3928
logger.
AssertLogContains
(".[[[[ABCDE]]]].");
3932
logger.
AssertLogContains
("|changed|");
3933
logger.
AssertLogContains
("||a1||");
3977
logger.
AssertLogContains
(".[a3].");
3978
logger.
AssertLogContains
(".[[b1]].");
3979
logger.
AssertLogContains
(".[[[c3]]].");
3980
logger.
AssertLogContains
(".[[[[FakeSubToolset]]]].");
3984
logger.
AssertLogContains
("|changed|");
3985
logger.
AssertLogContains
("||a3||");
4029
logger.
AssertLogContains
(".[a1].");
4030
logger.
AssertLogContains
(".[[b1]].");
4031
logger.
AssertLogContains
(".[[[]]].");
4032
logger.
AssertLogContains
(".[[[[abcdef]]]].");
4036
logger.
AssertLogContains
("|changed|");
4037
logger.
AssertLogContains
("||a1||");
4088
logger.
AssertLogContains
(".[a3].");
4089
logger.
AssertLogContains
(".[[b1]].");
4090
logger.
AssertLogContains
(".[[[c3]]].");
4091
logger.
AssertLogContains
(".[[[[d4]]]].");
4092
logger.
AssertLogContains
(".[[[[[FakeSubToolset]]]]]");
4096
logger.
AssertLogContains
("|changed|");
4097
logger.
AssertLogContains
("||a3||");
4151
logger.
AssertLogContains
(".[a3].");
4152
logger.
AssertLogContains
(".[[b1]].");
4153
logger.
AssertLogContains
(".[[[c5]]].");
4154
logger.
AssertLogContains
(".[[[[d5]]]].");
4155
logger.
AssertLogContains
(".[[[[[FakeSubToolset]]]]].");
4159
logger.
AssertLogContains
("|changed|");
4160
logger.
AssertLogContains
("||a3||");
4210
logger.
AssertLogContains
(".[a1].");
4211
logger.
AssertLogContains
(".[[b2]].");
4212
logger.
AssertLogContains
(".[[[c2]]].");
4213
logger.
AssertLogContains
(".[[[[11.0]]]].");
4217
logger.
AssertLogContains
("|changed|");
4218
logger.
AssertLogContains
("||a1||");
4262
logger.
AssertLogContains
(".[a3].");
4263
logger.
AssertLogContains
(".[[b1]].");
4264
logger.
AssertLogContains
(".[[[c3]]].");
4265
logger.
AssertLogContains
(".[[[[FakeSubToolset]]]].");
4269
logger.
AssertLogContains
("|changed|");
4270
logger.
AssertLogContains
("||a3||");
4306
logger.
AssertLogContains
(".[a3].");
4307
logger.
AssertLogContains
(".[[b1]].");
4308
logger.
AssertLogContains
(".[[[c3]]].");
4309
logger.
AssertLogContains
(".[[[[FakeSubToolset]]]].");
4313
logger.
AssertLogContains
("|changed|");
4314
logger.
AssertLogContains
("||a3||");
4701
logger.
AssertLogContains
(
5223
logger.
AssertLogContains
(new string[] { "[2.targets]", "[3.cpp.targets]", "[1.targets]" });
Evaluation\Expander_Tests.cs (42)
418
logger.
AssertLogContains
(@"DirChain0: Value1\;Value2\");
419
logger.
AssertLogContains
(@"DirChain1: Value1\||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||Value2\");
420
logger.
AssertLogContains
(@"DirChain2: Value1\||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||##Value2\");
421
logger.
AssertLogContains
(@"DirChain3: Value1\||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||$##Value2\");
422
logger.
AssertLogContains
(@"DirChain4: Value1\$||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||$##Value2\");
423
logger.
AssertLogContains
(@"DirChain5: Value1\$||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||$##$Value2\");
445
log.
AssertLogContains
("[2][0]");
468
log.
AssertLogContains
("2;0");
490
log.
AssertLogContains
("[0][0]");
513
log.
AssertLogContains
("0;0");
535
log.
AssertLogContains
(String.Format(@"[{0}foo;{0}bar]", current + Path.DirectorySeparatorChar));
557
log.
AssertLogContains
(String.Format(@"[{0}foo;{0}bar]", current + Path.DirectorySeparatorChar));
579
log.
AssertLogContains
(String.Format(@"[{0}foo;{0}bar]", current + Path.DirectorySeparatorChar));
600
log.
AssertLogContains
("[foo;bar]");
620
log.
AssertLogContains
("MSB4198");
640
log.
AssertLogContains
("MSB4198");
850
logger.
AssertLogContains
("Item list foo contains abc");
875
logger.
AssertLogContains
("Property OutputType=Library");
876
logger.
AssertLogContains
("Item ObjFiles=foo.obj;bar.obj");
877
logger.
AssertLogContains
("Item CleanFiles=foo.obj;bar.obj");
917
logger.
AssertLogContains
("MSB4023");
936
logger.
AssertLogContains
("MSB4023");
976
logger.
AssertLogContains
("MSB4023");
995
logger.
AssertLogContains
("MSB4023");
1035
logger.
AssertLogContains
("MSB4023");
1051
logger.
AssertLogContains
("MSB4248");
1067
logger.
AssertLogContains
("MSB4248");
1086
logger.
AssertLogContains
("MSB4023");
1129
logger.
AssertLogContains
("[One|Three|Four]");
1161
logger.
AssertLogContains
("[Two|Three|Four]");
1183
logger.
AssertLogContains
("QualifiedNotMatchCase Foo=X");
1184
logger.
AssertLogContains
("QualifiedMatchCase Foo=X");
1185
logger.
AssertLogContains
("UnqualifiedNotMatchCase Foo=X");
1186
logger.
AssertLogContains
("UnqualifiedMatchCase Foo=X");
1212
logger.
AssertLogContains
("QualifiedNotMatchCase Foo=X");
1213
logger.
AssertLogContains
("QualifiedMatchCase Foo=X");
1214
logger.
AssertLogContains
("UnqualifiedNotMatchCase Foo=X");
1215
logger.
AssertLogContains
("UnqualifiedMatchCase Foo=X");
1236
logger.
AssertLogContains
("QualifiedNotMatchCase Foo=Foo");
1237
logger.
AssertLogContains
("QualifiedMatchCase Foo=Foo");
1238
logger.
AssertLogContains
("UnqualifiedNotMatchCase Foo=Foo");
1239
logger.
AssertLogContains
("UnqualifiedMatchCase Foo=Foo");
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (19)
62
logger.
AssertLogContains
("MSB4226");
102
l.
AssertLogContains
("Running FromExtn");
103
l.
AssertLogContains
("PropertyFromExtn1: FooBar");
136
(p, l) => l.
AssertLogContains
("MSB4210"));
268
logger.
AssertLogContains
("MSB4210");
311
logger.
AssertLogContains
("MSB4024");
366
l.
AssertLogContains
("Running FromExtn");
367
l.
AssertLogContains
("PropertyFromExtn1: FromSecondFile");
417
logger.
AssertLogContains
("Running FromExtn");
418
logger.
AssertLogContains
("PropertyFromExtn1: FromSecondFile");
507
logger.
AssertLogContains
("Running FromExtn3");
508
logger.
AssertLogContains
("Running FromExtn2");
509
logger.
AssertLogContains
("Running FromExtn");
584
logger.
AssertLogContains
("Running FromExtn");
646
logger.
AssertLogContains
("\"" + extnDir1 + "\"");
715
logger.
AssertLogContains
("Running FromExtn");
780
logger.
AssertLogContains
("Running FromExtn");
838
logger.
AssertLogContains
(@"MSB4226: The imported project """ + Path.Combine("$(UndefinedProperty)", "filenotfound.props")
875
logger.
AssertLogContains
("MSB4102");
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
375
logger.
AssertLogContains
($"ProjectFilePath = {p1Path}");
FixPathOnUnix_Tests.cs (1)
53
logger.
AssertLogContains
($"ItemMetadata: Md0 = {Path.Combine("lib", "foo.dll")}");
Instance\ProjectInstance_Internal_Tests.cs (1)
588
mockLogger.
AssertLogContains
(new string[] { "Building...", "Completed!" });
Instance\TaskItem_Tests.cs (9)
284
logger.
AssertLogContains
("[i1m1]");
285
logger.
AssertLogContains
("[i1m2]");
286
logger.
AssertLogContains
("[j1m1]");
287
logger.
AssertLogContains
("[j1m2]");
338
logger.
AssertLogContains
("[i1m1]");
339
logger.
AssertLogContains
("[i1m2]");
340
logger.
AssertLogContains
("[j1m1]");
341
logger.
AssertLogContains
("[j1m2]");
373
logger.
AssertLogContains
("i1%2ai2");
InvalidProjectFileException_Tests.cs (3)
47
ml.
AssertLogContains
("MSB4006");
48
ml.
AssertLogContains
("(4,29)");
49
ml.
AssertLogContains
(file);
WarningsAsMessagesAndErrors_Tests.cs (8)
309
logger.
AssertLogContains
(LogShouldContain);
398
logger.
AssertLogContains
("MSB1235");
417
logger.
AssertLogContains
("MSB4181");
442
logger.
AssertLogContains
("MSB4181");
467
logger.
AssertLogContains
("MSB1234");
487
logger.
AssertLogContains
("MSB4181");
507
logger.
AssertLogContains
("MSB4181");
527
logger.
AssertLogContains
("MSB4181");
Microsoft.Build.Tasks.UnitTests (28)
CallTarget_Tests.cs (7)
47
logger.
AssertLogContains
("Inside B");
74
logger.
AssertLogContains
("Inside A");
75
logger.
AssertLogContains
("Inside B");
107
logger.
AssertLogContains
("Inside A");
108
logger.
AssertLogContains
("Inside B");
109
logger.
AssertLogContains
("Inside C");
219
logger.
AssertLogContains
("CallTarget Outputs: a.txt;b.txt;c.txt");
CreateProperty_Tests.cs (5)
47
logger.
AssertLogContains
("NumberOfProcessors=''");
74
logger.
AssertLogContains
("TargetsToRunLaterProperty = Clean;Build");
75
logger.
AssertLogContains
("TargetsToRunLaterItem = Clean----Build");
102
logger.
AssertLogContains
("TargetsToRunLaterProperty = Clean;Build");
103
logger.
AssertLogContains
("TargetsToRunLaterItem = Clean;Build");
Exec_Tests.cs (3)
969
logger.
AssertLogContains
("line 2");
970
logger.
AssertLogContains
("line 3");
1026
logger.
AssertLogContains
("Hello, World!");
MSBuild_Tests.cs (5)
247
logger.
AssertLogContains
("Hello from foo.csproj");
283
logger.
AssertLogContains
("Hello from foo.csproj");
328
logger.
AssertLogContains
("Hello from foo.csproj");
374
logger.
AssertLogContains
("Hello from foo.csproj");
1392
logger.
AssertLogContains
("[foo.out]");
RoslynCodeTaskFactory_Tests.cs (1)
643
logger.
AssertLogContains
(errorMessage);
XmlPeek_Tests.cs (2)
340
log.
AssertLogContains
("MSB4044");
341
log.
AssertLogContains
("\"Query\"");
XmlPoke_Tests.cs (5)
148
log.
AssertLogContains
("MSB4044");
160
log.
AssertLogContains
("MSB4044");
161
log.
AssertLogContains
("\"Query\"");
173
log.
AssertLogContains
("MSB4044");
174
log.
AssertLogContains
("\"XmlInputPath\"");
Microsoft.Build.UnitTests.Shared (1)
MockEngine.cs (1)
420
MockLogger.
AssertLogContains
(contains);
Microsoft.Build.Utilities.UnitTests (10)
MuxLogger_Tests.cs (10)
170
mockLogger.
AssertLogContains
("Foo");
171
mockLogger.
AssertLogContains
("Error");
228
mockLogger1.
AssertLogContains
("Foo");
229
mockLogger1.
AssertLogContains
("Error");
237
mockLogger2.
AssertLogContains
("Bar");
238
mockLogger2.
AssertLogContains
("Warning");
280
mockLogger1.
AssertLogContains
("Foo");
281
mockLogger1.
AssertLogContains
("Error");
285
mockLogger2.
AssertLogContains
("Foo");
286
mockLogger2.
AssertLogContains
("Error");