]> gitweb.factorcode.org Git - factor.git/commitdiff
extra.images: call register-image-class before testing, otherwise the wrong backend...
authorBjörn Lindqvist <bjourne@gmail.com>
Sun, 9 Mar 2014 12:09:17 +0000 (13:09 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 14 Mar 2014 14:32:27 +0000 (07:32 -0700)
extra/images/bitmap/bitmap-tests.factor
extra/images/png/png-tests.factor

index 2ac2fed4d1d12fe7f503bd377560805dbf0ed21e..cae665598498a3283cfe330353f312503e126aa4 100644 (file)
@@ -1,6 +1,8 @@
-USING: images.bitmap images.testing kernel ;
+USING: images.bitmap images.loader images.testing kernel ;
 IN: images.bitmap.tests
 
+"bmp" bmp-image register-image-class
+
 ! "vocab:images/testing/bmp/1bit.bmp" decode-test
 ! "vocab:images/testing/bmp/rgb_4bit.bmp" decode-test
 
index acccc84e37cffb36b62a89d74be57b435d209748..781aad58e10b4f0e1bc91f38480cdfb7c9970ba1 100644 (file)
@@ -1,8 +1,10 @@
 ! Copyright (C) 2009 Doug Coleman, Keith Lazuka
 ! See http://factorcode.org/license.txt for BSD license.
-USING: images.testing io.directories ;
+USING: images.loader images.png images.testing io.directories ;
 IN: images.png.tests
 
+"png" png-image register-image-class
+
 ! Test files from PngSuite (http://www.libpng.org/pub/png/pngsuite.html)
 
 ! The subset of the suite that should work given the current implementation.