System.PrivateUri.Tests.UriGetComponentsTest.GetComponents_ASCIIHost_LowerCaseResult C# (CSharp) Méthode

GetComponents_ASCIIHost_LowerCaseResult() private méthode

private GetComponents_ASCIIHost_LowerCaseResult ( ) : void
Résultat void
        public void GetComponents_ASCIIHost_LowerCaseResult()
        {
            Uri testUri = new Uri("http://MixedCase.HostName");
            Assert.Equal("mixedcase.hostname", testUri.GetComponents(UriComponents.Host, UriFormat.UriEscaped));
            Assert.Equal("mixedcase.hostname", testUri.Host);
        }