diff options
author | Rob Mensching <rob@firegiant.com> | 2017-11-29 22:11:32 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-11-29 22:11:32 -0800 |
commit | b387913d0e76aa7863f8766868cd2fb3b3fffcde (patch) | |
tree | 489c84a68c6a2932efe99def3ebc81e926d07a36 /src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs | |
parent | 71c52d5af2293d3eb79882ce36b0411f81185c11 (diff) | |
download | wix-b387913d0e76aa7863f8766868cd2fb3b3fffcde.tar.gz wix-b387913d0e76aa7863f8766868cd2fb3b3fffcde.tar.bz2 wix-b387913d0e76aa7863f8766868cd2fb3b3fffcde.zip |
Remove "Fixture" from the test assembly name
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs b/src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs new file mode 100644 index 00000000..e3b21183 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/Utility/TestData.cs | |||
@@ -0,0 +1,17 @@ | |||
1 | // 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. | ||
2 | |||
3 | namespace WixToolsetTest.CoreIntegration.Utility | ||
4 | { | ||
5 | using System; | ||
6 | using System.IO; | ||
7 | |||
8 | public class TestData | ||
9 | { | ||
10 | public static string LocalPath => Path.GetDirectoryName(new Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase).LocalPath); | ||
11 | |||
12 | public static string Get(params string[] paths) | ||
13 | { | ||
14 | return Path.Combine(LocalPath, Path.Combine(paths)); | ||
15 | } | ||
16 | } | ||
17 | } | ||