48 writes to DestinationFiles
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Tasks.UnitTests (44)
Copy_Tests.cs (44)
151DestinationFiles = new ITaskItem[] { new TaskItem("destination.txt") },
347DestinationFiles = destinationFiles,
371DestinationFiles = new ITaskItem[] { new TaskItem("destination.txt") },
396DestinationFiles = new ITaskItem[] { new TaskItem("destination0.txt"), new TaskItem("destination1.txt") },
418DestinationFiles = new ITaskItem[] { new TaskItem("destination0.txt"), new TaskItem("destination1.txt") },
443DestinationFiles = new ITaskItem[] { new TaskItem("destination.txt") },
469DestinationFiles = new ITaskItem[] { new TaskItem("destination.txt") },
506DestinationFiles = destinationFiles,
554DestinationFiles = destinationFiles,
614DestinationFiles = destinationFiles,
666DestinationFiles = destinationFiles,
722DestinationFiles = destinationFiles,
789DestinationFiles = destinationFiles,
856DestinationFiles = destinationFiles,
923DestinationFiles = destinationFiles,
1062DestinationFiles = destinationFiles,
1118DestinationFiles = new[] { new TaskItem(destinationFile) },
1197DestinationFiles = destinationFiles,
1236DestinationFiles = destinationFiles,
1283DestinationFiles = destinationFiles,
1330DestinationFiles = destinationFiles,
1373DestinationFiles = new ITaskItem[] { new TaskItem(destinationFile) },
1546DestinationFiles = destinationFiles,
1612t.DestinationFiles = new[] { new TaskItem(invalidFile), o1 };
1683DestinationFiles = new ITaskItem[] { new TaskItem(file) },
1702DestinationFiles = new ITaskItem[] { new TaskItem(file) },
1754DestinationFiles = new ITaskItem[] { new TaskItem(filename.ToLowerInvariant()) },
1808DestinationFiles = new ITaskItem[] { new TaskItem(file), new TaskItem(dest2) },
2073DestinationFiles = destFiles,
2142DestinationFiles = new ITaskItem[] { new TaskItem(outFile1) },
2190DestinationFiles = destinationFiles,
2228DestinationFiles = destinationFiles,
2302DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2323DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2348DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2415DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2442DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination"), new TaskItem("c:\\destination2") },
2474DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2503DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2538DestinationFiles = new ITaskItem[] { new TaskItem(existing) },
2919DestinationFiles = new ITaskItem[] { new TaskItem("c:\\destination") },
2957DestinationFiles = destinationFiles,
2974DestinationFiles = destinationFiles,
2997DestinationFiles = destinationFiles,
77 references to DestinationFiles
Microsoft.Build.Tasks.Core (24)
Microsoft.Build.Tasks.UnitTests (53)
Copy_Tests.cs (53)
136(task.DestinationFiles == null || task.DestinationFiles.Length == 0).ShouldBeTrue();
157task.DestinationFiles.ShouldNotBeNull();
158task.DestinationFiles.Length.ShouldBe(1);
182task.DestinationFiles.ShouldNotBeNull();
183task.DestinationFiles.Length.ShouldBe(1);
225task.DestinationFiles.ShouldNotBeNull();
226task.DestinationFiles.Length.ShouldBe(10);
249task.DestinationFiles.ShouldNotBeNull();
250task.DestinationFiles.Length.ShouldBe(0);
280task.DestinationFiles.ShouldNotBeNull();
281task.DestinationFiles.Length.ShouldBe(3);
304task.DestinationFiles.ShouldNotBeNull();
305task.DestinationFiles.Length.ShouldBe(0);
328task.DestinationFiles.ShouldNotBeNull();
329task.DestinationFiles.Length.ShouldBe(0);
353(task.DestinationFiles == null || task.DestinationFiles.Length == 0).ShouldBeTrue();
377task.DestinationFiles.ShouldNotBeNull();
401task.DestinationFiles.ShouldNotBeNull();
423task.DestinationFiles.ShouldNotBeNull();
449task.DestinationFiles.ShouldNotBeNull();
475task.DestinationFiles.ShouldNotBeNull();
1619Assert.Equal(2, t.DestinationFiles.Length);
1620Assert.Equal("fr", t.DestinationFiles[1].GetMetadata("Locale"));
1623Assert.Equal(invalidFile, t.DestinationFiles[0].ItemSpec);
1624Assert.Equal(validOutFile, t.DestinationFiles[1].ItemSpec);
1632Assert.Equal("Pumpkin", t.DestinationFiles[1].GetMetadata("Flavor"));
1636Assert.Equal("taupe", t.DestinationFiles[1].GetMetadata("Color"));
1640Assert.Equal("fr", t.DestinationFiles[1].GetMetadata("Locale"));
1692Assert.Single(t.DestinationFiles);
1693Assert.Equal(file, t.DestinationFiles[0].ItemSpec);
1711Assert.Single(t.DestinationFiles);
1712Assert.Equal(file, t.DestinationFiles[0].ItemSpec);
1763Assert.Single(t.DestinationFiles);
1764Assert.Equal(filename.ToLowerInvariant(), t.DestinationFiles[0].ItemSpec);
1818Assert.Equal(2, t.DestinationFiles.Length);
1819Assert.Equal(file, t.DestinationFiles[0].ItemSpec);
1820Assert.Equal(dest2, t.DestinationFiles[1].ItemSpec);
1899Assert.Single(t.DestinationFiles);
1901Assert.Equal(destFile, t.DestinationFiles[0].ItemSpec);
1960Assert.Single(t.DestinationFiles);
1962Assert.Equal(destFile, t.DestinationFiles[0].ItemSpec);
2150Assert.Single(t.DestinationFiles);
2586Assert.Single(t.DestinationFiles);
2588Assert.Equal(destFile, t.DestinationFiles[0].ItemSpec);
2685Assert.Equal(2, t.DestinationFiles.Length);
2687Assert.Equal(destFile1, t.DestinationFiles[0].ItemSpec);
2688Assert.Equal(destFile2, t.DestinationFiles[1].ItemSpec);
2778Assert.Single(t.DestinationFiles);
2780Assert.Equal(destFile, t.DestinationFiles[0].ItemSpec);
2843Assert.Single(t.DestinationFiles);
2845Assert.Equal(destFile, t.DestinationFiles[0].ItemSpec);