Esempio n. 1
0
 public void TestPrettyUnescape()
 {
     Assert.AreEqual(
         FeedTest.Test1Uri,
         // Colon is preserved on POSIX systems but not on other OSes
         FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##0install.de#feeds#test#test1.xml" : "http%3a##0install.de#feeds#test#test1.xml"));
 }
Esempio n. 2
0
 public void TestPrettyUnescape()
 => FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##example.com#test1.xml" : "http%3a##example.com#test1.xml").Should().Be(FeedTest.Test1Uri);
Esempio n. 3
0
 public void TestPrettyUnescape()
 {
     FeedUri.PrettyUnescape(UnixUtils.IsUnix ? "http:##0install.de#feeds#test#test1.xml" : "http%3a##0install.de#feeds#test#test1.xml").Should().Be(
         FeedTest.Test1Uri);
 }