From 6dd045318f7ee405e92e76d311ad1424c20157c1 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 16 Oct 2017 23:48:48 -0700 Subject: Introduce integration test --- .../Utility/TestData.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs (limited to 'src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs') diff --git a/src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs b/src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs new file mode 100644 index 00000000..90d56799 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs @@ -0,0 +1,17 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +namespace WixToolsetTest.CoreIntegrationFixture.Utility +{ + using System; + using System.IO; + + public class TestData + { + public static string LocalPath => Path.GetDirectoryName(new Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase).LocalPath); + + public static string Get(params string[] paths) + { + return Path.Combine(LocalPath, Path.Combine(paths)); + } + } +} -- cgit v1.2.3-55-g6feb