Example #1
0
        public void IsDataSrcCheckTest()
        {
            ResourceResolver resourceResolver = new ResourceResolver(baseUri);

            NUnit.Framework.Assert.True(resourceResolver.IsDataSrc(bLogoCorruptedData));
            NUnit.Framework.Assert.True(resourceResolver.IsDataSrc(bLogoIncorrect));
            NUnit.Framework.Assert.False(resourceResolver.IsDataSrc("https://data.com/data"));
        }
Example #2
0
        public virtual void IsDataSrcTest()
        {
            ResourceResolver resourceResolver = new ResourceResolver(baseUri);

            Assert.True(resourceResolver.IsDataSrc(bLogo));
            Assert.True(resourceResolver.IsDataSrc(bLogoCorruptedData));
            Assert.True(resourceResolver.IsDataSrc(bLogoIncorrect));
            Assert.False(resourceResolver.IsDataSrc("https://data.com/data"));
        }