From 606ea6e46dc133d2e157de21df1f80f52622cc3f Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Fri, 29 Mar 2024 12:19:34 +0000 Subject: [PATCH] Add artwork to the test search paths --- test/PathHelper.cs | 3 +++ test/Velopack.Packaging.Tests/Init.cs | 1 + 2 files changed, 4 insertions(+) diff --git a/test/PathHelper.cs b/test/PathHelper.cs index be1195ac..0c960e60 100644 --- a/test/PathHelper.cs +++ b/test/PathHelper.cs @@ -18,6 +18,9 @@ public static class PathHelper public static string GetVendorLibDir() => Path.Combine(GetProjectDir(), "vendor"); + public static string GetArtworkDir() + => Path.Combine(GetProjectDir(), "artwork"); + public static string GetFixture(params string[] names) => Path.Combine(new string[] { GetTestRoot(), "fixtures" }.Concat(names).ToArray()); diff --git a/test/Velopack.Packaging.Tests/Init.cs b/test/Velopack.Packaging.Tests/Init.cs index e6c1235a..a4ec8ce9 100644 --- a/test/Velopack.Packaging.Tests/Init.cs +++ b/test/Velopack.Packaging.Tests/Init.cs @@ -11,5 +11,6 @@ public class TestsInit : XunitTestFramework { HelperFile.AddSearchPath(PathHelper.GetRustBuildOutputDir()); HelperFile.AddSearchPath(PathHelper.GetVendorLibDir()); + HelperFile.AddSearchPath(PathHelper.GetArtworkDir()); } }