31 references to TestInputs
Microsoft.DotNet.Build.Tasks.Feed.Tests (31)
BuildModelFactoryTests.cs (6)
105var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.1.0.0.nupkg")); 234var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.1.0.0.nupkg")); 356var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.zip")); 393var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.1.0.0.nupkg")); 439var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.1.0.0.nupkg")); 588var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.1.0.0.nupkg"));
DownloadFileTests.cs (14)
59var fileResponseContent = TestInputs.ReadAllBytes(testFile); 80var path = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 128var fileResponseContent = TestInputs.ReadAllBytes(testFile); 149var path = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 199Content = new ByteArrayContent(TestInputs.ReadAllBytes(Path.Combine("Symbols", _testTextFile))) 204Content = new ByteArrayContent(TestInputs.ReadAllBytes(Path.Combine("Symbols", _testSymbolPackage))) 226var path = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 236var path2 = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 276var responseContent = TestInputs.ReadAllBytes(testFile); 285var path = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 332var fileResponseContent = TestInputs.ReadAllBytes(testFile); 357var path = TestInputs.GetFullPath(Guid.NewGuid().ToString()); 406var fileResponseContent = TestInputs.ReadAllBytes(testFile); 430var path = TestInputs.GetFullPath(Guid.NewGuid().ToString());
GeneralTests.cs (4)
113var localPackagePath = TestInputs.GetFullPath(Path.Combine("Nupkgs", "test-package-a.zip")); 121var content = TestInputs.ReadAllBytes(Path.Combine("Nupkgs", $"{feedResponseContentName}.zip")); 147var localPackagePath = TestInputs.GetFullPath(testPackageName); 153var responseContent = TestInputs.ReadAllBytes(testPackageName);
PublishArtifactsInManifestTests.cs (2)
37var manifestFullPath = TestInputs.GetFullPath(Path.Combine("Manifests", "SampleV3.xml")); 63var manifestFullPath = TestInputs.GetFullPath(Path.Combine("Manifests", "SampleV4.xml"));
PublishToSymbolServerTest.cs (4)
35var path = TestInputs.GetFullPath("Test"); 112var path = TestInputs.GetFullPath("Symbol"); 197var exclusionFile = TestInputs.GetFullPath("Symbols/SymbolPublishingExclusionsFile.txt"); 198var symbolFilesDir = TestInputs.GetFullPath("Symbols");
TestInputs.cs (1)
13Path.GetDirectoryName(typeof(TestInputs).Assembly.Location),