Skip to content

test: Add unit tests using glib framework

Alan Coopersmith requested to merge alanc/libxpm:test into master

Includes rudimentary tests for XpmReadFileToXpmImage, XpmReadFileToData, XpmReadFileToBuffer, XpmCreateXpmImageFromData, XpmCreateXpmImageFromBuffer, XpmWriteFileFromXpmImage, XpmWriteFileFromData, XpmWriteFileFromBuffer, XpmAttributesSize, XpmGetErrorString, XpmLibraryVersion

Includes test cases for CVE-2004-0687

So far only includes tests for functions which do not require an X display.

Edited by Alan Coopersmith

Merge request reports

Loading