451 instantiations of MockEngine
Microsoft.Build.Tasks.UnitTests (450)
AddToWin32Manifest_Tests.cs (1)
39BuildEngine = new MockEngine(_testOutput)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
29_taskLoggingHelper = new TaskLoggingHelper(new MockEngine(), "TaskA")
AssemblyDependency\SuggestedRedirects.cs (10)
48MockEngine e = new MockEngine(_output); 93MockEngine engine = new MockEngine(_output); 142MockEngine engine = new MockEngine(_output); 182MockEngine e = new MockEngine(_output); 225MockEngine e = new MockEngine(_output); 278MockEngine e = new MockEngine(_output); 317MockEngine e = new MockEngine(_output); 352MockEngine e = new MockEngine(_output); 396MockEngine e = new MockEngine(_output); 439MockEngine e = new MockEngine(_output);
AssignCulture_Tests.cs (14)
25t.BuildEngine = new MockEngine(); 44t.BuildEngine = new MockEngine(); 66t.BuildEngine = new MockEngine(); 87t.BuildEngine = new MockEngine(); 110t.BuildEngine = new MockEngine(); 129t.BuildEngine = new MockEngine(); 149t.BuildEngine = new MockEngine(); 170t.BuildEngine = new MockEngine(); 195t.BuildEngine = new MockEngine(); 217t.BuildEngine = new MockEngine(); 235t.BuildEngine = new MockEngine(); 252t.BuildEngine = new MockEngine(); 272t.BuildEngine = new MockEngine(); 293t.BuildEngine = new MockEngine();
AssignLinkMetadata_Tests.cs (7)
31BuildEngine = new MockEngine() 51BuildEngine = new MockEngine(), 70BuildEngine = new MockEngine(), 97BuildEngine = new MockEngine(), 121BuildEngine = new MockEngine(), 143BuildEngine = new MockEngine(), 163BuildEngine = new MockEngine(),
AssignTargetPath_Tests.cs (5)
22t.BuildEngine = new MockEngine(); 37t.BuildEngine = new MockEngine(); 51t.BuildEngine = new MockEngine(); 72t.BuildEngine = new MockEngine(); 94t.BuildEngine = new MockEngine();
CombinePath_Tests.cs (9)
26t.BuildEngine = new MockEngine(); 46t.BuildEngine = new MockEngine(); 76t.BuildEngine = new MockEngine(); 96t.BuildEngine = new MockEngine(); 125t.BuildEngine = new MockEngine(); 158t.BuildEngine = new MockEngine(); 176t.BuildEngine = new MockEngine(); 193t.BuildEngine = new MockEngine(); 211t.BuildEngine = new MockEngine(true);
CombineTargetFrameworkInfoProperties_Tests.cs (1)
23MockEngine e = new MockEngine();
ConvertToAbsolutePath_Tests.cs (4)
29t.BuildEngine = new MockEngine(); 61t.BuildEngine = new MockEngine(); 91t.BuildEngine = new MockEngine(); 118t.BuildEngine = new MockEngine();
Copy_Tests.cs (61)
133var task = new Copy { BuildEngine = new MockEngine(true), }; 149BuildEngine = new MockEngine(true), 174BuildEngine = new MockEngine(true), 217BuildEngine = new MockEngine(true), 238var engine = new MockEngine(true); 261var engine = new MockEngine(true); 292var engine = new MockEngine(true); 316var engine = new MockEngine(true); 340var engine = new MockEngine(true); 363var engine = new MockEngine(true); 387var engine = new MockEngine(true); 411var engine = new MockEngine(true); 436var engine = new MockEngine(true); 462var engine = new MockEngine(true); 504BuildEngine = new MockEngine(_testOutputHelper), 552BuildEngine = new MockEngine(_testOutputHelper), 612BuildEngine = new MockEngine(_testOutputHelper), 664BuildEngine = new MockEngine(_testOutputHelper), 720BuildEngine = new MockEngine(_testOutputHelper), 787BuildEngine = new MockEngine(_testOutputHelper), 854BuildEngine = new MockEngine(_testOutputHelper), 921BuildEngine = new MockEngine(_testOutputHelper), 994BuildEngine = new MockEngine(_testOutputHelper), 1060BuildEngine = new MockEngine(_testOutputHelper), 1112var engine = new MockEngine(_testOutputHelper); 1195BuildEngine = new MockEngine(_testOutputHelper), 1230var engine = new MockEngine(_testOutputHelper); 1277var engine = new MockEngine(_testOutputHelper); 1324var engine = new MockEngine(_testOutputHelper); 1367var engine = new MockEngine(_testOutputHelper); 1493var engine = new MockEngine(_testOutputHelper); 1540var engine = new MockEngine(_testOutputHelper); 1595var engine = new MockEngine(_testOutputHelper); 1677var engine = new MockEngine(_testOutputHelper); 1697engine = new MockEngine(_testOutputHelper); 1748var engine = new MockEngine(_testOutputHelper); 1802var engine = new MockEngine(_testOutputHelper); 1863var me = new MockEngine(_testOutputHelper); 1939BuildEngine = new MockEngine(_testOutputHelper), 2004BuildEngine = new MockEngine(_testOutputHelper), 2071BuildEngine = new MockEngine(_testOutputHelper), 2136var engine = new MockEngine(_testOutputHelper); 2188BuildEngine = new MockEngine(_testOutputHelper), 2226BuildEngine = new MockEngine(_testOutputHelper), 2252BuildEngine = new MockEngine(_testOutputHelper), 2276BuildEngine = new MockEngine(_testOutputHelper), 2296var engine = new MockEngine(true /* log to console */); 2318var engine = new MockEngine(true /* log to console */); 2342var engine = new MockEngine(true /* log to console */); 2409var engine = new MockEngine(true /* log to console */); 2436var engine = new MockEngine(true /* log to console */); 2468var engine = new MockEngine(true /* log to console */); 2497var engine = new MockEngine(true /* log to console */); 2529MockEngine engine = new MockEngine(_testOutputHelper); 2564var me = new MockEngine(true); 2654var me = new MockEngine(true); 2740MockEngine me = new MockEngine(true); 2819var me = new MockEngine(true); 2883MockEngine me = new MockEngine(true); 2914var engine = new MockEngine(true); 2951var me = new MockEngine(true);
CreateCSharpManifestResourceName_Tests.cs (13)
361t.BuildEngine = new MockEngine(); 395BuildEngine = new MockEngine(_testOutput), 435BuildEngine = new MockEngine(_testOutput), 468BuildEngine = new MockEngine(_testOutput), 502BuildEngine = new MockEngine(_testOutput), 533BuildEngine = new MockEngine(_testOutput), 567BuildEngine = new MockEngine(_testOutput), 603BuildEngine = new MockEngine(), 737MockEngine m = new MockEngine(); 796t.BuildEngine = new MockEngine(); 821t.BuildEngine = new MockEngine(); 846t.BuildEngine = new MockEngine(); 872t.BuildEngine = new MockEngine();
CreateItem_Tests.cs (11)
56t.BuildEngine = new MockEngine(); 74t.BuildEngine = new MockEngine(); 93t.BuildEngine = new MockEngine(); 112t.BuildEngine = new MockEngine(); 129t.BuildEngine = new MockEngine(); 145t.BuildEngine = new MockEngine(); 228t.BuildEngine = new MockEngine(); 246t.BuildEngine = new MockEngine(); 269t.BuildEngine = new MockEngine(); 302MockEngine engine = new MockEngine(); 354MockEngine engine = new MockEngine();
Delete_Tests.cs (3)
32t.BuildEngine = new MockEngine(); 64BuildEngine = new MockEngine(), 80BuildEngine = new MockEngine(),
DownloadFile_Tests.cs (1)
25private readonly MockEngine _mockEngine = new MockEngine();
Exec_Tests.cs (3)
39IBuildEngine2 mockEngine = new MockEngine(_output); 48IBuildEngine2 mockEngine = new MockEngine(_output); 887exec.BuildEngine = new MockEngine();
FindAppConfigFile_Tests.cs (6)
20f.BuildEngine = new MockEngine(); 33f.BuildEngine = new MockEngine(); 46f.BuildEngine = new MockEngine(); 59f.BuildEngine = new MockEngine(); 71f.BuildEngine = new MockEngine(); 85f.BuildEngine = new MockEngine();
FindInList_Tests.cs (9)
21f.BuildEngine = new MockEngine(); 32f.BuildEngine = new MockEngine(); 44f.BuildEngine = new MockEngine(); 56f.BuildEngine = new MockEngine(); 75f.BuildEngine = new MockEngine(); 92f.BuildEngine = new MockEngine(); 104f.BuildEngine = new MockEngine(); 115f.BuildEngine = new MockEngine(); 127MockEngine e = new MockEngine();
FindInvalidProjectReferences_Tests.cs (1)
23MockEngine engine = new MockEngine();
FindUnderPath_Tests.cs (5)
25t.BuildEngine = new MockEngine(); 43t.BuildEngine = new MockEngine(); 59t.BuildEngine = new MockEngine(); 100t.BuildEngine = new MockEngine(); 122t.BuildEngine = new MockEngine();
FormatUrl_Tests.cs (13)
30t.BuildEngine = new MockEngine(_out); 44t.BuildEngine = new MockEngine(_out); 58t.BuildEngine = new MockEngine(_out); 74t.BuildEngine = new MockEngine(_out); 88t.BuildEngine = new MockEngine(_out); 101t.BuildEngine = new MockEngine(_out); 116t.BuildEngine = new MockEngine(_out); 131t.BuildEngine = new MockEngine(_out); 145t.BuildEngine = new MockEngine(_out); 159t.BuildEngine = new MockEngine(_out); 173t.BuildEngine = new MockEngine(_out); 187t.BuildEngine = new MockEngine(_out); 201t.BuildEngine = new MockEngine(_out);
GenerateBindingRedirects_Tests.cs (1)
318MockEngine engine = new MockEngine(_output);
GetCompatiblePlatform_Tests.cs (12)
32BuildEngine = new MockEngine(_output), 55BuildEngine = new MockEngine(_output), 79BuildEngine = new MockEngine(_output), 100BuildEngine = new MockEngine(_output), 122BuildEngine = new MockEngine(_output), 144BuildEngine = new MockEngine(_output), 165BuildEngine = new MockEngine(_output), 188BuildEngine = new MockEngine(_output), 211BuildEngine = new MockEngine(_output), 237BuildEngine = new MockEngine(_output), 264BuildEngine = new MockEngine(_output), 286BuildEngine = new MockEngine(_output),
GetFileHash_Tests.cs (1)
23_mockEngine = new MockEngine(output);
GetInstalledSDKLocations_Tests.cs (7)
198MockEngine engine = new MockEngine(); 216MockEngine engine = new MockEngine(); 235MockEngine engine = new MockEngine(); 254MockEngine engine = new MockEngine(); 276MockEngine engine = new MockEngine(); 323MockEngine engine = new MockEngine(); 397MockEngine engine = new MockEngine();
GetSDKReference_Tests.cs (27)
228var engine = new MockEngine(_output); 349var engine = new MockEngine(_output); 367var engine = new MockEngine(_output); 392var engine = new MockEngine(_output); 418var engine = new MockEngine(_output); 483var engine = new MockEngine(_output); 539var engine = new MockEngine(_output); 594var engine = new MockEngine(_output); 660var engine = new MockEngine(_output); 708var engine = new MockEngine(_output); 753var engine = new MockEngine(_output); 776var engine = new MockEngine(_output); 801var engine = new MockEngine(_output); 852var engine = new MockEngine(_output); 903var engine = new MockEngine(_output); 938var engine = new MockEngine(_output); 1003var engine = new MockEngine(_output); 1034var engine = new MockEngine(_output); 1066var engine = new MockEngine(_output); 1097var engine = new MockEngine(_output); 1125var engine = new MockEngine(_output); 1154var engine = new MockEngine(_output); 1181var engine = new MockEngine(_output); 1209var engine = new MockEngine(_output); 1254var engine = new MockEngine(_output); 1296var engine = new MockEngine(_output); 1342var engine = new MockEngine(_output);
Hash_Tests.cs (2)
91MockEngine mockEngine = new(); 152BuildEngine = new MockEngine(),
MakeDir_Tests.cs (5)
31MockEngine engine = new MockEngine(); 78MockEngine engine = new MockEngine(); 135MockEngine engine = new MockEngine(); 185MockEngine engine = new MockEngine(); 243MockEngine engine = new MockEngine();
Move_Tests.cs (23)
43t.BuildEngine = new MockEngine(true /* log to console */); 88t.BuildEngine = new MockEngine(true /* log to console */); 137t.BuildEngine = new MockEngine(true /* log to console */); 183t.BuildEngine = new MockEngine(true /* log to console */); 226t.BuildEngine = new MockEngine(true /* log to console */); 278t.BuildEngine = new MockEngine(true /* log to console */); 334t.BuildEngine = new MockEngine(true /* log to console */); 388t.BuildEngine = new MockEngine(true /* log to console */); 443MockEngine engine = new MockEngine(true /* log to console */); 510move.BuildEngine = new MockEngine(true /* log to console */); 533move.BuildEngine = new MockEngine(); 547move.BuildEngine = new MockEngine(); 563move.BuildEngine = new MockEngine(); 578move.BuildEngine = new MockEngine(); 611MockEngine engine = new MockEngine(true /* log to console */); 655MockEngine engine = new MockEngine(true /* log to console */); 696t.BuildEngine = new MockEngine(true /* log to console */); 757MockEngine engine = new MockEngine(true /* log to console */); 799t.BuildEngine = new MockEngine(true /* log to console */); 828t.BuildEngine = new MockEngine(true /* log to console */); 846t.BuildEngine = new MockEngine(true /* log to console */); 864t.BuildEngine = new MockEngine(true /* log to console */); 882t.BuildEngine = new MockEngine(true /* log to console */);
MSBuild_Tests.cs (15)
78BuildEngine = new MockEngine(_testOutput), 126msbuildTask.BuildEngine = new MockEngine(); 522msbuildTask.BuildEngine = new MockEngine(); 580msbuildTask.BuildEngine = new MockEngine(); 636msbuildTask.BuildEngine = new MockEngine(); 691msbuildTask.BuildEngine = new MockEngine(); 738msbuildTask.BuildEngine = new MockEngine(); 797msbuildTask.BuildEngine = new MockEngine(); 852msbuildTask.BuildEngine = new MockEngine(); 910msbuildTask.BuildEngine = new MockEngine(); 961MockEngine mockEngine = new MockEngine(); 1160MockEngine mockEngine = new MockEngine(); 1177mockEngine = new MockEngine(); 1224MockEngine mockEngine = new MockEngine(); 1341msbuildTask.BuildEngine = new MockEngine();
RemoveDir_Tests.cs (5)
38t.BuildEngine = new MockEngine(_output); 63BuildEngine = new MockEngine(_output), 71BuildEngine = new MockEngine(_output), 85BuildEngine = new MockEngine(_output), 110t.BuildEngine = new MockEngine(_output);
RemoveDuplicates_Tests.cs (7)
21t.BuildEngine = new MockEngine(); 39t.BuildEngine = new MockEngine(); 57t.BuildEngine = new MockEngine(); 83t.BuildEngine = new MockEngine(); 109t.BuildEngine = new MockEngine(); 128t.BuildEngine = new MockEngine(); 146t.BuildEngine = new MockEngine();
ResolveCodeAnalysisRuleSet_Tests.cs (12)
53MockEngine mockEngine = new MockEngine(); 74MockEngine mockEngine = new MockEngine(); 98MockEngine mockEngine = new MockEngine(); 117MockEngine mockEngine = new MockEngine(); 146MockEngine mockEngine = new MockEngine(); 168MockEngine mockEngine = new MockEngine(); 197MockEngine mockEngine = new MockEngine(); 220MockEngine mockEngine = new MockEngine(); 244MockEngine mockEngine = new MockEngine(); 275MockEngine mockEngine = new MockEngine(); 295MockEngine mockEngine = new MockEngine(); 314MockEngine mockEngine = new MockEngine();
ResolveNonMSBuildProjectOutput_Tests.cs (3)
188MockEngine engine = new MockEngine(_output); 343MockEngine engine = new MockEngine(_output); 350engine = new MockEngine(_output);
ResolveSDKReference_Tests.cs (65)
192MockEngine engine1 = new MockEngine(); 210MockEngine engine2 = new MockEngine(); 228MockEngine engine3 = new MockEngine(); 246MockEngine engine3a = new MockEngine(); 268MockEngine engine4 = new MockEngine(); 285MockEngine engine5 = new MockEngine(); 315MockEngine engine = new MockEngine(); 357MockEngine engine = new MockEngine(); 387engine = new MockEngine(); 433MockEngine engine = new MockEngine(); 496MockEngine engine = new MockEngine(); 547MockEngine engine = new MockEngine(); 561MockEngine engine = new MockEngine(); 600MockEngine engine = new MockEngine(); 655MockEngine engine = new MockEngine(); 713MockEngine engine = new MockEngine(); 768MockEngine engine = new MockEngine(); 823MockEngine engine = new MockEngine(); 878MockEngine engine = new MockEngine(); 935MockEngine engine = new MockEngine(); 989MockEngine engine = new MockEngine(); 1044MockEngine engine = new MockEngine(); 1079MockEngine engine = new MockEngine(); 1116MockEngine engine = new MockEngine(); 1154MockEngine engine = new MockEngine(); 1195MockEngine engine = new MockEngine(); 1231MockEngine engine = new MockEngine(); 1265engine = new MockEngine(); 1303MockEngine engine = new MockEngine(); 1327MockEngine engine = new MockEngine(); 1377MockEngine engine = new MockEngine(); 1405MockEngine engine = new MockEngine(); 1438MockEngine engine = new MockEngine(); 1454MockEngine engine = new MockEngine(); 1469MockEngine engine = new MockEngine(); 1510MockEngine engine = new MockEngine(); 1569MockEngine engine = new MockEngine(); 1668MockEngine engine1 = new MockEngine(); 1681MockEngine engine2 = new MockEngine(); 1746MockEngine engine = new MockEngine(); 1828MockEngine engine = new MockEngine(); 1923MockEngine engine = new MockEngine(); 1994MockEngine engine = new MockEngine(); 2059MockEngine engine = new MockEngine(); 2132MockEngine engine = new MockEngine(); 2201MockEngine engine = new MockEngine(); 2271MockEngine engine = new MockEngine(); 2342MockEngine engine = new MockEngine(); 2414MockEngine engine = new MockEngine(); 2484MockEngine engine = new MockEngine(); 2558MockEngine engine = new MockEngine(); 2623MockEngine engine = new MockEngine(); 2690MockEngine engine = new MockEngine(); 2755MockEngine engine = new MockEngine(); 2840MockEngine engine = new MockEngine(); 2938MockEngine engine = new MockEngine(); 3046MockEngine engine = new MockEngine(); 3149MockEngine engine = new MockEngine(); 3238MockEngine engine = new MockEngine(); 3312MockEngine engine = new MockEngine(); 3388MockEngine engine = new MockEngine(); 3456MockEngine engine = new MockEngine(); 3532MockEngine engine = new MockEngine(); 3595MockEngine engine = new MockEngine(); 3669MockEngine engine = new MockEngine();
ResourceHandling\GenerateResource_Tests.cs (2)
3717GenerateResource t = new GenerateResource { BuildEngine = new MockEngine(_output) }; 3903t.BuildEngine = new MockEngine(output);
RoslynCodeTaskFactory_Tests.cs (2)
774MockEngine buildEngine = new MockEngine(); 800MockEngine buildEngine = new MockEngine();
TelemetryTaskTests.cs (4)
16MockEngine engine = new MockEngine(); 37MockEngine engine = new MockEngine(); 58MockEngine engine = new MockEngine(); 79MockEngine engine = new MockEngine();
ToolTaskExtension_Tests.cs (2)
26MockEngine engine = new MockEngine(); 61MockEngine engine = new MockEngine();
Touch_Tests.cs (10)
188MockEngine engine = new MockEngine(); 211MockEngine engine = new MockEngine(); 233MockEngine engine = new MockEngine(); 256MockEngine engine = new MockEngine(); 279MockEngine engine = new MockEngine(); 301MockEngine engine = new MockEngine(); 318MockEngine engine = new MockEngine(); 343MockEngine engine = new MockEngine(); 369MockEngine engine = new MockEngine(); 394MockEngine engine = new MockEngine();
Unzip_Tests.cs (1)
22private readonly MockEngine _mockEngine = new MockEngine();
VerifyFileHash_Tests.cs (1)
22_mockEngine = new MockEngine(output);
WriteCodeFragment_Tests.cs (31)
31MockEngine engine = new MockEngine(true); 48MockEngine engine = new MockEngine(true); 64MockEngine engine = new MockEngine(true); 80MockEngine engine = new MockEngine(true); 111MockEngine engine = new MockEngine(true); 131MockEngine engine = new MockEngine(true); 149MockEngine engine = new MockEngine(true); 171MockEngine engine = new MockEngine(true); 206MockEngine engine = new MockEngine(true); 233MockEngine engine = new MockEngine(true); 252MockEngine engine = new MockEngine(true); 270MockEngine engine = new MockEngine(true); 292MockEngine engine = new MockEngine(true); 321MockEngine engine = new MockEngine(true); 344MockEngine engine = new MockEngine(true); 373MockEngine engine = new MockEngine(true); 400MockEngine engine = new MockEngine(true); 421MockEngine engine = new MockEngine(true); 452MockEngine engine = new MockEngine(true); 475MockEngine engine = new MockEngine(true); 498MockEngine engine = new MockEngine(true); 522MockEngine engine = new MockEngine(true); 554MockEngine engine = new MockEngine(true); 590MockEngine engine = new MockEngine(true); 623MockEngine engine = new MockEngine(true); 646MockEngine engine = new MockEngine(true); 669MockEngine engine = new MockEngine(true); 692MockEngine engine = new MockEngine(true); 725MockEngine engine = new MockEngine(true); 1094MockEngine engine = new(true); 1128MockEngine engine = new(true);
WriteLinesToFile_Tests.cs (15)
35BuildEngine = new MockEngine(_output), 58BuildEngine = new MockEngine(_output), 77BuildEngine = new MockEngine(_output), 109BuildEngine = new MockEngine(_output), 130BuildEngine = new MockEngine(_output), 142BuildEngine = new MockEngine(_output), 162MockEngine engine = new(_output); 192BuildEngine = new MockEngine(_output), 213BuildEngine = new MockEngine(_output), 226BuildEngine = new MockEngine(_output), 271BuildEngine = new MockEngine(_output), 282BuildEngine = new MockEngine(_output), 305BuildEngine = new MockEngine(_output), 336BuildEngine = new MockEngine(_output), 362BuildEngine = new MockEngine(_output),
XmlPeek_Tests.cs (12)
65MockEngine engine = new MockEngine(true); 88MockEngine engine = new MockEngine(true); 117MockEngine engine = new MockEngine(true); 146MockEngine engine = new MockEngine(true); 168MockEngine engine = new MockEngine(true); 188MockEngine engine = new MockEngine(true); 211MockEngine engine = new MockEngine(true); 228MockEngine engine = new MockEngine(true); 245MockEngine engine = new MockEngine(true); 263MockEngine engine = new MockEngine(true); 281MockEngine engine = new MockEngine(true); 347MockEngine engine = new MockEngine(true);
XmlPoke_Tests.cs (5)
180MockEngine engine = new(true); 223MockEngine engine = new MockEngine(true); 242MockEngine engine = new MockEngine(true); 259MockEngine engine = new MockEngine(true); 348MockEngine engine = new MockEngine(true);
XslTransformation_Tests.cs (1)
1139engine = new MockEngine();
ZipDirectory_Tests.cs (1)
20private readonly MockEngine _mockEngine = new MockEngine();
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
258MockEngine engine = new MockEngine();
396 references to MockEngine
Microsoft.Build.Tasks.UnitTests (395)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (6)
45internal Microsoft.Build.UnitTests.MockEngine.GetStringDelegate resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(AssemblyResources.GetString); 3061MockEngine e = (MockEngine)t.BuildEngine; 3130internal void ExecuteRAROnItemsAndRedist(ResolveAssemblyReference t, MockEngine e, ITaskItem[] items, string redistString, bool consistencyCheck) 3138internal void ExecuteRAROnItemsAndRedist(ResolveAssemblyReference t, MockEngine e, ITaskItem[] items, string redistString, bool consistencyCheck, List<string> additionalSearchPaths)
AssemblyDependency\SuggestedRedirects.cs (10)
48MockEngine e = new MockEngine(_output); 93MockEngine engine = new MockEngine(_output); 142MockEngine engine = new MockEngine(_output); 182MockEngine e = new MockEngine(_output); 225MockEngine e = new MockEngine(_output); 278MockEngine e = new MockEngine(_output); 317MockEngine e = new MockEngine(_output); 352MockEngine e = new MockEngine(_output); 396MockEngine e = new MockEngine(_output); 439MockEngine e = new MockEngine(_output);
CombinePath_Tests.cs (1)
216((MockEngine)t.BuildEngine).AssertLogContains("MSB3095");
CombineTargetFrameworkInfoProperties_Tests.cs (1)
23MockEngine e = new MockEngine();
Copy_Tests.cs (80)
238var engine = new MockEngine(true); 261var engine = new MockEngine(true); 292var engine = new MockEngine(true); 316var engine = new MockEngine(true); 340var engine = new MockEngine(true); 363var engine = new MockEngine(true); 387var engine = new MockEngine(true); 411var engine = new MockEngine(true); 436var engine = new MockEngine(true); 462var engine = new MockEngine(true); 517((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 625((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 678((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 738((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // did not do retries as it was r/o 805((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 868((MockEngine)t.BuildEngine).AssertLogContains("MSB3026"); 869Assert.Equal(((t.Retries + 1) * 3) - 1, ((MockEngine)t.BuildEngine).Warnings); 872((MockEngine)t.BuildEngine).AssertLogContains("MSB3027"); 873((MockEngine)t.BuildEngine).AssertLogContains("MSB3021"); 874Assert.Equal(2, ((MockEngine)t.BuildEngine).Errors); 939((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1016((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1078((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1112var engine = new MockEngine(_testOutputHelper); 1206((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1230var engine = new MockEngine(_testOutputHelper); 1247((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1277var engine = new MockEngine(_testOutputHelper); 1294((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1324var engine = new MockEngine(_testOutputHelper); 1367var engine = new MockEngine(_testOutputHelper); 1493var engine = new MockEngine(_testOutputHelper); 1540var engine = new MockEngine(_testOutputHelper); 1595var engine = new MockEngine(_testOutputHelper); 1643((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1677var engine = new MockEngine(_testOutputHelper); 1695((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1715((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1748var engine = new MockEngine(_testOutputHelper); 1766((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1802var engine = new MockEngine(_testOutputHelper); 1831((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); 1863var me = new MockEngine(_testOutputHelper); 1888MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 1893MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 1904((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1965((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2027((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2104((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2136var engine = new MockEngine(_testOutputHelper); 2154((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2200((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2239((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2263((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2287((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2296var engine = new MockEngine(true /* log to console */); 2318var engine = new MockEngine(true /* log to console */); 2342var engine = new MockEngine(true /* log to console */); 2409var engine = new MockEngine(true /* log to console */); 2436var engine = new MockEngine(true /* log to console */); 2468var engine = new MockEngine(true /* log to console */); 2497var engine = new MockEngine(true /* log to console */); 2529MockEngine engine = new MockEngine(_testOutputHelper); 2564var me = new MockEngine(true); 2579MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2600((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2654var me = new MockEngine(true); 2670MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2701((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2740MockEngine me = new MockEngine(true); 2765MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2792((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2819var me = new MockEngine(true); 2836MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2858((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3891"); // Didn't do retries 2883MockEngine me = new MockEngine(true); 2898MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2914var engine = new MockEngine(true); 2951var me = new MockEngine(true); 2986((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries
CreateCSharpManifestResourceName_Tests.cs (1)
737MockEngine m = new MockEngine();
CreateItem_Tests.cs (2)
302MockEngine engine = new MockEngine(); 354MockEngine engine = new MockEngine();
Delete_Tests.cs (2)
73((MockEngine)t.BuildEngine).AssertLogContains("MSB3062"); 85((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3062");
DownloadFile_Tests.cs (1)
25private readonly MockEngine _mockEngine = new MockEngine();
Exec_Tests.cs (46)
95MockEngine engine = (MockEngine)exec.BuildEngine; 153((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073"); 156((MockEngine)exec.BuildEngine).AssertLogContains("cp: "); 172((MockEngine)exec.BuildEngine).AssertLogContains("MSB5002"); 173int warningsCount = ((MockEngine)exec.BuildEngine).Warnings; 176((MockEngine)exec.BuildEngine).WarningEvents.Select(w => w.Message))); 179Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 191MockEngine mockEngine = (MockEngine)exec.BuildEngine; 210Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 211Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 239((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073"); 276((MockEngine)exec.BuildEngine).AssertLogContains("[" + working + "]"); 310((MockEngine)exec.BuildEngine).AssertLogContains("[" + expected + "]"); 343((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 381((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 418((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 455((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 595((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 620((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003"); 633((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003"); 653MockEngine e = (MockEngine)exec.BuildEngine; 675MockEngine e = (MockEngine)exec.BuildEngine; 684e = (MockEngine)exec.BuildEngine; 706MockEngine e = (MockEngine)exec.BuildEngine; 716e = (MockEngine)exec.BuildEngine; 735Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 736Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 752Assert.Equal(3, ((MockEngine)exec.BuildEngine).Errors); 753Assert.Equal(2, ((MockEngine)exec.BuildEngine).Warnings); 767((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {"); 768Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 769Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 784((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {"); 785Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 786Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 802Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors); 803Assert.Equal(1, ((MockEngine)exec.BuildEngine).Warnings); 815Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors); 816Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 876((MockEngine)exec.BuildEngine).AssertLogContains("MSB3072"); 892((MockEngine)exec.BuildEngine).AssertLogContains("[myvalue]");
FindInList_Tests.cs (1)
127MockEngine e = new MockEngine();
FindInvalidProjectReferences_Tests.cs (1)
23MockEngine engine = new MockEngine();
GenerateBindingRedirects_Tests.cs (2)
318MockEngine engine = new MockEngine(_output); 364public MockEngine Engine { get; set; }
GetCompatiblePlatform_Tests.cs (4)
174((MockEngine)task.BuildEngine).AssertLogContains("MSB3981"); 197((MockEngine)task.BuildEngine).AssertLogContains("MSB3982"); 222((MockEngine)task.BuildEngine).AssertLogContains("MSB3983"); 248((MockEngine)task.BuildEngine).AssertLogContains("MSB3983");
GetFileHash_Tests.cs (1)
19private readonly MockEngine _mockEngine;
GetInstalledSDKLocations_Tests.cs (7)
198MockEngine engine = new MockEngine(); 216MockEngine engine = new MockEngine(); 235MockEngine engine = new MockEngine(); 254MockEngine engine = new MockEngine(); 276MockEngine engine = new MockEngine(); 323MockEngine engine = new MockEngine(); 397MockEngine engine = new MockEngine();
GetSDKReference_Tests.cs (28)
189private readonly MockEngine.GetStringDelegate _resourceDelegate; 228var engine = new MockEngine(_output); 349var engine = new MockEngine(_output); 367var engine = new MockEngine(_output); 392var engine = new MockEngine(_output); 418var engine = new MockEngine(_output); 483var engine = new MockEngine(_output); 539var engine = new MockEngine(_output); 594var engine = new MockEngine(_output); 660var engine = new MockEngine(_output); 708var engine = new MockEngine(_output); 753var engine = new MockEngine(_output); 776var engine = new MockEngine(_output); 801var engine = new MockEngine(_output); 852var engine = new MockEngine(_output); 903var engine = new MockEngine(_output); 938var engine = new MockEngine(_output); 1003var engine = new MockEngine(_output); 1034var engine = new MockEngine(_output); 1066var engine = new MockEngine(_output); 1097var engine = new MockEngine(_output); 1125var engine = new MockEngine(_output); 1154var engine = new MockEngine(_output); 1181var engine = new MockEngine(_output); 1209var engine = new MockEngine(_output); 1254var engine = new MockEngine(_output); 1296var engine = new MockEngine(_output); 1342var engine = new MockEngine(_output);
Hash_Tests.cs (1)
91MockEngine mockEngine = new();
MakeDir_Tests.cs (5)
31MockEngine engine = new MockEngine(); 78MockEngine engine = new MockEngine(); 135MockEngine engine = new MockEngine(); 185MockEngine engine = new MockEngine(); 243MockEngine engine = new MockEngine();
Move_Tests.cs (9)
443MockEngine engine = new MockEngine(true /* log to console */); 517((MockEngine)move.BuildEngine).AssertLogContains("MSB3677"); 537((MockEngine)move.BuildEngine).AssertLogContains("MSB3679"); 553((MockEngine)move.BuildEngine).AssertLogContains("MSB3678"); 568((MockEngine)move.BuildEngine).AssertLogContains("MSB3676"); 583((MockEngine)move.BuildEngine).AssertLogContains("MSB3681"); 611MockEngine engine = new MockEngine(true /* log to console */); 655MockEngine engine = new MockEngine(true /* log to console */); 757MockEngine engine = new MockEngine(true /* log to console */);
MSBuild_Tests.cs (3)
961MockEngine mockEngine = new MockEngine(); 1160MockEngine mockEngine = new MockEngine(); 1224MockEngine mockEngine = new MockEngine();
RemoveDir_Tests.cs (2)
114((MockEngine)t.BuildEngine).Warnings.ShouldBe(20); 115((MockEngine)t.BuildEngine).AssertLogContains("MSB3232");
ResolveCodeAnalysisRuleSet_Tests.cs (12)
53MockEngine mockEngine = new MockEngine(); 74MockEngine mockEngine = new MockEngine(); 98MockEngine mockEngine = new MockEngine(); 117MockEngine mockEngine = new MockEngine(); 146MockEngine mockEngine = new MockEngine(); 168MockEngine mockEngine = new MockEngine(); 197MockEngine mockEngine = new MockEngine(); 220MockEngine mockEngine = new MockEngine(); 244MockEngine mockEngine = new MockEngine(); 275MockEngine mockEngine = new MockEngine(); 295MockEngine mockEngine = new MockEngine(); 314MockEngine mockEngine = new MockEngine();
ResolveNonMSBuildProjectOutput_Tests.cs (2)
188MockEngine engine = new MockEngine(_output); 343MockEngine engine = new MockEngine(_output);
ResolveSDKReference_Tests.cs (65)
24private Microsoft.Build.UnitTests.MockEngine.GetStringDelegate _resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(AssemblyResources.GetString); 192MockEngine engine1 = new MockEngine(); 210MockEngine engine2 = new MockEngine(); 228MockEngine engine3 = new MockEngine(); 246MockEngine engine3a = new MockEngine(); 268MockEngine engine4 = new MockEngine(); 285MockEngine engine5 = new MockEngine(); 315MockEngine engine = new MockEngine(); 357MockEngine engine = new MockEngine(); 433MockEngine engine = new MockEngine(); 496MockEngine engine = new MockEngine(); 547MockEngine engine = new MockEngine(); 561MockEngine engine = new MockEngine(); 600MockEngine engine = new MockEngine(); 655MockEngine engine = new MockEngine(); 713MockEngine engine = new MockEngine(); 768MockEngine engine = new MockEngine(); 823MockEngine engine = new MockEngine(); 878MockEngine engine = new MockEngine(); 935MockEngine engine = new MockEngine(); 989MockEngine engine = new MockEngine(); 1044MockEngine engine = new MockEngine(); 1079MockEngine engine = new MockEngine(); 1116MockEngine engine = new MockEngine(); 1154MockEngine engine = new MockEngine(); 1195MockEngine engine = new MockEngine(); 1231MockEngine engine = new MockEngine(); 1303MockEngine engine = new MockEngine(); 1327MockEngine engine = new MockEngine(); 1377MockEngine engine = new MockEngine(); 1405MockEngine engine = new MockEngine(); 1438MockEngine engine = new MockEngine(); 1454MockEngine engine = new MockEngine(); 1469MockEngine engine = new MockEngine(); 1510MockEngine engine = new MockEngine(); 1569MockEngine engine = new MockEngine(); 1668MockEngine engine1 = new MockEngine(); 1681MockEngine engine2 = new MockEngine(); 1746MockEngine engine = new MockEngine(); 1828MockEngine engine = new MockEngine(); 1923MockEngine engine = new MockEngine(); 1994MockEngine engine = new MockEngine(); 2059MockEngine engine = new MockEngine(); 2132MockEngine engine = new MockEngine(); 2201MockEngine engine = new MockEngine(); 2271MockEngine engine = new MockEngine(); 2342MockEngine engine = new MockEngine(); 2414MockEngine engine = new MockEngine(); 2484MockEngine engine = new MockEngine(); 2558MockEngine engine = new MockEngine(); 2623MockEngine engine = new MockEngine(); 2690MockEngine engine = new MockEngine(); 2755MockEngine engine = new MockEngine(); 2840MockEngine engine = new MockEngine(); 2938MockEngine engine = new MockEngine(); 3046MockEngine engine = new MockEngine(); 3149MockEngine engine = new MockEngine(); 3238MockEngine engine = new MockEngine(); 3312MockEngine engine = new MockEngine(); 3388MockEngine engine = new MockEngine(); 3456MockEngine engine = new MockEngine(); 3532MockEngine engine = new MockEngine(); 3595MockEngine engine = new MockEngine(); 3669MockEngine engine = new MockEngine();
ResourceHandling\GenerateResource_Tests.cs (8)
3721((MockEngine)t.BuildEngine).AssertLogContains("MSB3552"); 3722Assert.Equal(1, ((MockEngine)t.BuildEngine).Errors); 3759((MockEngine)t.BuildEngine).Log); 3788Assert.Matches(sb.ToString(), ((MockEngine)t.BuildEngine).Log); 3792Assert.Contains(unformattedMessage, ((MockEngine)t.BuildEngine).Log); 3801Assert.Contains(message, ((MockEngine)t.BuildEngine).Log); 3809Assert.DoesNotContain(String.Format(AssemblyResources.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log); 3817Assert.DoesNotContain(message, ((MockEngine)t.BuildEngine).Log);
RoslynCodeTaskFactory_Tests.cs (2)
774MockEngine buildEngine = new MockEngine(); 800MockEngine buildEngine = new MockEngine();
TelemetryTaskTests.cs (4)
16MockEngine engine = new MockEngine(); 37MockEngine engine = new MockEngine(); 58MockEngine engine = new MockEngine(); 79MockEngine engine = new MockEngine();
ToolTaskExtension_Tests.cs (2)
26MockEngine engine = new MockEngine(); 61MockEngine engine = new MockEngine();
Touch_Tests.cs (10)
188MockEngine engine = new MockEngine(); 211MockEngine engine = new MockEngine(); 233MockEngine engine = new MockEngine(); 256MockEngine engine = new MockEngine(); 279MockEngine engine = new MockEngine(); 301MockEngine engine = new MockEngine(); 318MockEngine engine = new MockEngine(); 343MockEngine engine = new MockEngine(); 369MockEngine engine = new MockEngine(); 394MockEngine engine = new MockEngine();
Unzip_Tests.cs (1)
22private readonly MockEngine _mockEngine = new MockEngine();
VerifyFileHash_Tests.cs (1)
18private readonly MockEngine _mockEngine;
WriteCodeFragment_Tests.cs (31)
31MockEngine engine = new MockEngine(true); 48MockEngine engine = new MockEngine(true); 64MockEngine engine = new MockEngine(true); 80MockEngine engine = new MockEngine(true); 111MockEngine engine = new MockEngine(true); 131MockEngine engine = new MockEngine(true); 149MockEngine engine = new MockEngine(true); 171MockEngine engine = new MockEngine(true); 206MockEngine engine = new MockEngine(true); 233MockEngine engine = new MockEngine(true); 252MockEngine engine = new MockEngine(true); 270MockEngine engine = new MockEngine(true); 292MockEngine engine = new MockEngine(true); 321MockEngine engine = new MockEngine(true); 344MockEngine engine = new MockEngine(true); 373MockEngine engine = new MockEngine(true); 400MockEngine engine = new MockEngine(true); 421MockEngine engine = new MockEngine(true); 452MockEngine engine = new MockEngine(true); 475MockEngine engine = new MockEngine(true); 498MockEngine engine = new MockEngine(true); 522MockEngine engine = new MockEngine(true); 554MockEngine engine = new MockEngine(true); 590MockEngine engine = new MockEngine(true); 623MockEngine engine = new MockEngine(true); 646MockEngine engine = new MockEngine(true); 669MockEngine engine = new MockEngine(true); 692MockEngine engine = new MockEngine(true); 725MockEngine engine = new MockEngine(true); 1094MockEngine engine = new(true); 1128MockEngine engine = new(true);
WriteLinesToFile_Tests.cs (2)
42((MockEngine)a.BuildEngine).AssertLogContains("MSB3098"); 162MockEngine engine = new(_output);
XmlPeek_Tests.cs (12)
65MockEngine engine = new MockEngine(true); 88MockEngine engine = new MockEngine(true); 117MockEngine engine = new MockEngine(true); 146MockEngine engine = new MockEngine(true); 168MockEngine engine = new MockEngine(true); 188MockEngine engine = new MockEngine(true); 211MockEngine engine = new MockEngine(true); 228MockEngine engine = new MockEngine(true); 245MockEngine engine = new MockEngine(true); 263MockEngine engine = new MockEngine(true); 281MockEngine engine = new MockEngine(true); 347MockEngine engine = new MockEngine(true);
XmlPoke_Tests.cs (5)
180MockEngine engine = new(true); 223MockEngine engine = new MockEngine(true); 242MockEngine engine = new MockEngine(true); 259MockEngine engine = new MockEngine(true); 348MockEngine engine = new MockEngine(true);
XslTransformation_Tests.cs (23)
104MockEngine engine; 169MockEngine engine; 215MockEngine engine; 265MockEngine engine; 295MockEngine engine; 329MockEngine engine; 363MockEngine engine; 400MockEngine engine; 436MockEngine engine; 490MockEngine engine; 576MockEngine engine; 615MockEngine engine; 641MockEngine engine; 670MockEngine engine; 726MockEngine engine; 759MockEngine engine; 794MockEngine engine; 825MockEngine engine; 859MockEngine engine; 947MockEngine engine; 996MockEngine engine; 1048MockEngine engine; 1105private void Prepare(out string dir, out TaskItem[] xmlPaths, out TaskItem xslPath, out TaskItem xslCompiledPath, out TaskItem[] outputPaths, out List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs, out List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs, out MockEngine engine)
ZipDirectory_Tests.cs (1)
20private readonly MockEngine _mockEngine = new MockEngine();
Microsoft.Build.Utilities.UnitTests (1)
ToolTask_Tests.cs (1)
258MockEngine engine = new MockEngine();