CloudinaryDotNet.Test.ApiTest.TestIgnoreHttp C# (CSharp) Method

TestIgnoreHttp() private method

private TestIgnoreHttp ( ) : void
return void
        public void TestIgnoreHttp()
        {
            // should ignore http links only if type is not given or is asset

            string uri = m_api.UrlImgUp.BuildUrl("http://test");
            Assert.AreEqual("http://test", uri);
            uri = m_api.Url.ResourceType("image").Action("asset").BuildUrl("http://test");
            Assert.AreEqual("http://test", uri);
            uri = m_api.Url.ResourceType("image").Action("fetch").BuildUrl("http://test");
            Assert.AreEqual(m_defaultRootPath + "image/fetch/http://test", uri);
        }
ApiTest