ar.com.hjg.pngj.test
Class TestPngSuite
java.lang.Object
ar.com.hjg.pngj.test.TestPngSuite
public class TestPngSuite
- extends Object
To test all images in PNG test suite (except interlaced) doing a horizontal mirror on all them
Instructions: Original images from PNG test suite is supposed to be in local dir resources/testsuite1/ (images
supposed to fail, because are erroneous or because are interlaced, must start with 'x') Output dir is hardcoded in
static "outdir" field - it should be empty After running main, no error should be thrown Errors: 0/141 Result images
are mirrored, with a 'z' appended to their names, and the originals are laso copied. Suggestion: sort by name, and
watch them in sequence
TestPngSuite
public TestPngSuite()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
testAllSuite
public static void testAllSuite(File dirsrc,
File dirdest)