aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.LightIntegration/Utility/TestData.cs
blob: c13e9d6df797d28bac63db37aa703e3bc32382fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.LightIntegration.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));
        }
    }
}