public void TestExpandUriWithRelativeUri()
 {
     AssertEqual("foobar.html", UriUtility.ExpandUri("foobar.html"));
     AssertEqual("../../foobar.html", UriUtility.ExpandUri("../../foobar.html"));
     AssertEqual(@"..\..\foobar.html", UriUtility.ExpandUri(@"..\..\foobar.html"));
 }
 public void TestExpandUriWithRelativeLocalPath()
 {
     AssertMatches(@".*\\Test\\PauthorTestRunner\\bin\\.*\\PauthorTestRunner.exe",
                   UriUtility.ExpandUri("PauthorTestRunner.exe"));
 }
 public void TestExpandUriWithAbsoluteUri()
 {
     AssertEqual("http://pauthor.codeplex.com/", UriUtility.ExpandUri("http://pauthor.codeplex.com"));
     AssertEqual("http://pauthor.codeplex.com/documentation",
                 UriUtility.ExpandUri("http://pauthor.codeplex.com/documentation"));
 }
 public void TestExpandUriWithAbsoluteLocalPath()
 {
     AssertEqual(@"c:\Windows", UriUtility.ExpandUri(@"c:\Windows"));
     AssertEqual(@"c:\Windows", UriUtility.ExpandUri("file:///c:/Windows"));
 }