System.PrivateUri.Tests.IdnDnsSafeHostTest.IdnDnsSafeHost_MixedCase_ToLowerCase C# (CSharp) Méthode

IdnDnsSafeHost_MixedCase_ToLowerCase() private méthode

private IdnDnsSafeHost_MixedCase_ToLowerCase ( ) : void
Résultat void
        public void IdnDnsSafeHost_MixedCase_ToLowerCase()
        {
            Uri test = new Uri("HTTPS://www.xn--pck.COM/");

            Assert.Equal("www.xn--pck.com", test.Host);
            Assert.Equal("www.xn--pck.com", test.DnsSafeHost);
            Assert.Equal("www.xn--pck.com", test.IdnHost);
            Assert.Equal("https://www.xn--pck.com/", test.AbsoluteUri);
        }