Add simple autotests

Two main tests: read the file and compare to a given image (loaded from
png), and write a file out and compare to a previously-written image.

The write test in particular is kind of fragile, but it should help
catch some errors where a code change was not intended to affect the
output of the plugin.

Tests are included for all the writable formats, as well as every
readable format that GIMP can write to (and so I could easily get an
example of).

REVIEW: 115430
This commit is contained in:
Alex Merry
2014-02-03 15:03:29 +00:00
parent 32f7d48b3c
commit f0f6d14367
95 changed files with 2520 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

+6
View File
@@ -0,0 +1,6 @@
P7 332
#XVVERSION:
#IMGINFO:
#END_OF_COMMENTS:
32 32 255
刍据菥灮抖兕襼瀧痪嘿究蹚W澻紐>vjn懯q]Z殮暩];蹚W}架?>>rf'K什~z7v殮箏?刍哭繜灮媑k炕哌硂忹{[~}~見望蝽铥礿oOoNR矏敽謺曏>>縹~薷皋簈q++蹞撣