1 write to _taskFactory
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
685
_taskFactory
= new AssemblyTaskFactory();
36 references to _taskFactory
Microsoft.Build.Engine.UnitTests (36)
BackEnd\AssemblyTaskFactory_Tests.cs (36)
134
Assert.True(
_taskFactory
.TaskNameCreatableByFactory("TaskToTestFactories", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
143
Assert.False(
_taskFactory
.TaskNameCreatableByFactory("NotInAssembly", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
154
Assert.False(
_taskFactory
.TaskNameCreatableByFactory(String.Empty, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
165
Assert.False(
_taskFactory
.TaskNameCreatableByFactory(null, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
185
Assert.True(
_taskFactory
.TaskNameCreatableByFactory("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));
205
Assert.False(
_taskFactory
.TaskNameCreatableByFactory("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));
214
TaskPropertyInfo[] propertyInfos =
_taskFactory
.GetTaskParameters();
248
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
260
_taskFactory
.CleanupTask(createdTask);
279
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
291
_taskFactory
.CleanupTask(createdTask);
310
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
322
_taskFactory
.CleanupTask(createdTask);
343
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
355
_taskFactory
.CleanupTask(createdTask);
376
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
388
_taskFactory
.CleanupTask(createdTask);
411
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
423
_taskFactory
.CleanupTask(createdTask);
444
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
456
_taskFactory
.CleanupTask(createdTask);
475
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
487
_taskFactory
.CleanupTask(createdTask);
510
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
522
_taskFactory
.CleanupTask(createdTask);
539
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
551
_taskFactory
.CleanupTask(createdTask);
572
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
584
_taskFactory
.CleanupTask(createdTask);
605
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
617
_taskFactory
.CleanupTask(createdTask);
639
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null,
651
_taskFactory
.CleanupTask(createdTask);
662
createdTask =
_taskFactory
.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters,
674
_taskFactory
.CleanupTask(createdTask);
691
_loadedType =
_taskFactory
.InitializeFactory(_loadInfo, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, factoryParameters, explicitlyLaunchTaskHost, null, ElementLocation.Create("NONE"), String.Empty);