示例#1
0
        public void TestIfUriJpeg(string uri)
        {
            var factory = new ImageFileFactory(null);
            var result  = factory.IsJpeg(new SafeUri(uri, true));

            Assert.That(result);
        }
示例#2
0
        public void Initialize()
        {
            GLib.GType.Init();
            var factory = new ImageFileFactory(null);

            _imageTypes = factory.UnitTestImageFileTypes();
        }