[System] UriKind.RelativeOrAbsolute workaround.
[mono.git] / mcs / class / Microsoft.Build.Utilities / Test / Microsoft.Build.Utilities / ToolLocationHelperTest.cs
1 #if NET_4_0
2 using System;
3 using NUnit.Framework;
4 using Microsoft.Build.Utilities;
5
6 namespace MonoTests.Microsoft.Build.Utilities
7 {
8         [TestFixture]
9         public class ToolLocationHelperTest
10         {
11                 [Test]
12                 [Category ("NotWorking")] // this test needs extra xbuild testing settings, as the target framework path is different.
13                 public void GetPathToStandardLibraries ()
14                 {
15                         Assert.IsTrue (!string.IsNullOrEmpty (ToolLocationHelper.GetPathToStandardLibraries (".NETFramework", "v4.0", null)), "std path");
16                         Assert.IsTrue (!string.IsNullOrEmpty (ToolLocationHelper.GetPathToStandardLibraries (".NETFramework", "v4.0", string.Empty)), "empty Profile path");
17                 }
18         }
19 }
20
21 #endif