35 instantiations of MockBuildEngine
Microsoft.DotNet.Build.Tasks.Feed.Tests (17)
BuildModelFactoryTests.cs (1)
48_buildEngine = new MockBuildEngine();
GenerateBuildManifestTests.cs (1)
47BuildEngine = new MockBuildEngine(),
PublishArtifactsInManifestTests.cs (2)
39var buildEngine = new MockBuildEngine(); 90var buildEngine = new MockBuildEngine();
PublishToSymbolServerTest.cs (8)
30var buildEngine = new MockBuildEngine(); 196var buildEngine = new MockBuildEngine(); 231var buildEngine = new MockBuildEngine(); 265var buildEngine = new MockBuildEngine(); 308var buildEngine = new MockBuildEngine(); 351var buildEngine = new MockBuildEngine(); 390var buildEngine = new MockBuildEngine(); 415var buildEngine = new MockBuildEngine();
PushToBuildStorageTests.cs (1)
58BuildEngine = new MockBuildEngine(),
SetupTargetFeedConfigV3Tests.cs (3)
172var buildEngine = new MockBuildEngine(); 281var buildEngine = new MockBuildEngine(); 389var buildEngine = new MockBuildEngine();
TestDoubles\StubTask.cs (1)
16public StubTask() : this(new MockBuildEngine()) { }
Microsoft.DotNet.Build.Tasks.Templating.Tests (2)
GenerateFileFromTemplateTests.cs (2)
49task.BuildEngine = new MockBuildEngine(); 74task.BuildEngine = new MockBuildEngine();
Microsoft.DotNet.Build.Tasks.Workloads.Tests (7)
CreateVisualStudioWorkloadSetTests.cs (1)
35IBuildEngine buildEngine = new MockBuildEngine();
CreateVisualStudioWorkloadTests.cs (2)
56IBuildEngine buildEngine = new MockBuildEngine(); 193IBuildEngine buildEngine = new MockBuildEngine();
MsiTests.cs (3)
26WorkloadManifestMsi msi = new(pkg, platform, new MockBuildEngine(), WixToolsetPath, BaseIntermediateOutputPath, 87WorkloadManifestMsi msi = new(pkg, "x64", new MockBuildEngine(), WixToolsetPath, BaseIntermediateOutputPath); 119var buildEngine = new MockBuildEngine();
SwixPackageTests.cs (1)
50WorkloadPackMsi msi = new(pkg, "x64", new MockBuildEngine(), WixToolsetPath, BaseIntermediateOutputPath);
Microsoft.DotNet.Helix.Sdk.Tests (9)
CreateXHarnessAndroidWorkItemsTests.cs (1)
38BuildEngine = new MockBuildEngine(),
CreateXHarnessAppleWorkItemsTests.cs (1)
40BuildEngine = new MockBuildEngine(),
FindDotNetCliPackageTests.cs (4)
47MockBuildEngine buildEngineMock = new MockBuildEngine(); 94MockBuildEngine buildEngineMock = new MockBuildEngine(); 145MockBuildEngine buildEngineMock = new MockBuildEngine(); 200MockBuildEngine buildEngineMock = new MockBuildEngine();
InstallDotNetToolTests.cs (3)
74BuildEngine = new MockBuildEngine(), 257BuildEngine = new MockBuildEngine(), 265BuildEngine = new MockBuildEngine(),
23 references to MockBuildEngine
Microsoft.DotNet.Build.Tasks.Feed.Tests (18)
BuildModelFactoryTests.cs (1)
42readonly MockBuildEngine _buildEngine;
PublishArtifactsInManifestTests.cs (2)
39var buildEngine = new MockBuildEngine(); 90var buildEngine = new MockBuildEngine();
PublishToSymbolServerTest.cs (12)
30var buildEngine = new MockBuildEngine(); 106(var buildEngine, var task, _, _, _, var buildInfo) = GetCanonicalSymbolTestAssets(); 128(var buildEngine, var task, var symbolPackages, _, _, var buildInfo) = GetCanonicalSymbolTestAssets(SymbolPublishVisibility.None); 147(var buildEngine, var task, var symbolPackages, var symbolFilesDir, var exclusionFile, var buildInfo) = GetCanonicalSymbolTestAssets(SymbolPublishVisibility.Public); 187private static (MockBuildEngine, PublishArtifactsInManifestV3, ReadOnlyDictionary<string, Asset>, string, string, Maestro.Client.Models.Build) GetCanonicalSymbolTestAssets(SymbolPublishVisibility targetServer = SymbolPublishVisibility.Public) 196var buildEngine = new MockBuildEngine(); 231var buildEngine = new MockBuildEngine(); 265var buildEngine = new MockBuildEngine(); 308var buildEngine = new MockBuildEngine(); 351var buildEngine = new MockBuildEngine(); 390var buildEngine = new MockBuildEngine(); 415var buildEngine = new MockBuildEngine();
SetupTargetFeedConfigV3Tests.cs (3)
172var buildEngine = new MockBuildEngine(); 281var buildEngine = new MockBuildEngine(); 389var buildEngine = new MockBuildEngine();
Microsoft.DotNet.Build.Tasks.Workloads.Tests (1)
MsiTests.cs (1)
119var buildEngine = new MockBuildEngine();
Microsoft.DotNet.Helix.Sdk.Tests (4)
FindDotNetCliPackageTests.cs (4)
47MockBuildEngine buildEngineMock = new MockBuildEngine(); 94MockBuildEngine buildEngineMock = new MockBuildEngine(); 145MockBuildEngine buildEngineMock = new MockBuildEngine(); 200MockBuildEngine buildEngineMock = new MockBuildEngine();