13 references to ContainsItem
Microsoft.Build.Tasks.UnitTests (13)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (2)
3106
Assert.True(
ContainsItem
(t.Assemblies, originalItemSpec) ||
ContainsItem
(t.AssemblyFiles, originalItemSpec)); // "Expected to find OriginalItemSpec in Assemblies or AssemblyFiles task parameters"
AssemblyDependency\SuggestedRedirects.cs (11)
67
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, s_myLibraries_V2_DDllPath));
68
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, s_myLibraries_V1_DDllPath));
69
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, s_myLibraries_V2_GDllPath));
72
Assert.True(
ContainsItem
(t.SuggestedRedirects, @"D, Culture=neutral, PublicKeyToken=aaaaaaaaaaaaaaaa")); // "Expected to find suggested redirect, but didn't"
110
Assert.True(
ContainsItem
(t.SuggestedRedirects, @"D, Culture=neutral, PublicKeyToken=aaaaaaaaaaaaaaaa")); // "Expected to find suggested redirect, but didn't"
211
Assert.True(
ContainsItem
(t.ResolvedFiles, s_myLibraries_V1_DDllPath)); // "Expected to find assembly, but didn't."
256
Assert.True(
ContainsItem
(t.ResolvedFiles, s_myLibraries_V1_DDllPath)); // "Expected to find assembly, but didn't."
415
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, @"c:\Regress387218\v2\D.dll")); // "Expected to find assembly, but didn't."
416
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, @"c:\Regress387218\v1\D.dll")); // "Expected to find assembly, but didn't."
458
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, @"c:\Regress390219\v2\D.dll")); // "Expected to find assembly, but didn't."
459
Assert.True(
ContainsItem
(t.ResolvedDependencyFiles, @"c:\Regress390219\v1\D.dll")); // "Expected to find assembly, but didn't."