| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
When building without GDK_PIXBUF_USE_GIO_MIME detect the format based on the
fill extension and not the mime type.
This makes these tests pass on Windows.
|
|
|
|
|
|
|
|
|
|
| |
The return values from the GdkPixbuf getters are signed, so assign them
to signed variables and then check that the returned values are
non-negative.
Coverity IDs: 1388535, 1388536, 1388537
https://bugzilla.gnome.org/show_bug.cgi?id=777374
|
|
|
|
|
|
| |
Those will be used in the 2-step scaler tests.
https://bugzilla.gnome.org/show_bug.cgi?id=80925
|
|
|
|
|
|
|
|
|
| |
The debug output was always printing the very first pixel of the line as
both the reference and test data, leading to "useful" output like:
Image data at 1x1 is #B16C42FF, but should be #B16C42FF
Read the reference and test pixel values from the correct offset in the
line to fix this.
|
| |
|
|
|
|
|
| |
Use that to make pixbuf-reftest accept arguments on the command line to
specify a file to test.
|
|
|
|
|
|
|
|
|
| |
Instead of using
strstr (filename, modulename);
use
has_suffix (filenname, extension_supported_by_module);
That way, files can be named .jpg and .jpeg without things going wrong.
|
|
|
|
| |
... and use it to not add reference images.
|
|
|
|
| |
When something differs, display the actual values
|
|
|
|
|
| |
Instead of p1 and p2, name the arguments "test" and "ref". This makes
the arguments more meaningful and easier to distinguish.
|
| |
|
|
|
|
|
| |
This helper function recursively runs over a directory
and adds a test function for each file in the tree.
|
|
|
|
|
|
|
| |
Check if we have failed due to insufficient memory and skip if
so.
https://bugzilla.gnome.org/show_bug.cgi?id=754387
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=498721
|
|
|
|
|
|
|
|
|
|
| |
In both loading and saving them. The ico format uses "0" as the width
or height to mean 256:
https://en.wikipedia.org/wiki/ICO_%28file_format%29#Icon_resource_structure
Also add a test for that.
https://bugzilla.gnome.org/show_bug.cgi?id=674724
|
|
Skip tests if their file format is not supported by the
available loaders.
https://bugzilla.gnome.org/show_bug.cgi?id=722651
|