diff options
author | Rob Mensching <rob@firegiant.com> | 2017-10-16 23:48:48 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-10-16 23:48:48 -0700 |
commit | 6dd045318f7ee405e92e76d311ad1424c20157c1 (patch) | |
tree | aef4f03fcad4990f22252956a57f62063f221722 /src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs | |
parent | dbde9e7104b907bbbaea17e21247d8cafc8b3a4c (diff) | |
download | wix-6dd045318f7ee405e92e76d311ad1424c20157c1.tar.gz wix-6dd045318f7ee405e92e76d311ad1424c20157c1.tar.bz2 wix-6dd045318f7ee405e92e76d311ad1424c20157c1.zip |
Introduce integration test
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegrationFixture/Utility/TestData.cs | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
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.CoreIntegrationFixture.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 | } | ||