summaryrefslogtreecommitdiff
path: root/tests/pixbuf-threads.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the libjasper-based JPEG2000 loaderEmmanuele Bassi2020-06-261-2/+0
| | | | | | | | | | | | | | | | | Libjasper is not really maintained any more, and has been dropped by various Linux distributions over the years. GdkPixbuf has not enabled the JPEG2000 loader by default in many years, relying on downstream distributors to do so if they also shipped libjasper. This means that it's unlikely anybody has relied on GdkPixbuf to load a JPEG2000 image for the past 3 to 5 years, if at all. The only other option for loading JPEG2000 images is to use OpenJPEG, and for that there is an out of tree GdkPixbuf module available: https://notabug.org/necklace/jp2-pixbuf-loader Fixes: #152, #137
* tests/pixbuf-threads: use g_fopen instead of fopen and force binary modeChristoph Reiter2018-12-111-1/+2
| | | | | | | So we use the right path encoding on Windows and don't interpret the content as text. This makes the pixbuf-threads run on Windows.
* tests: add jp2 test case to pixbuf-threadsCarlos Soriano2016-12-191-0/+2
| | | | | | | | | In case jp2 is supported, add a test to pixbuf-threads for it, since seems is the place where most of the format tests are performed. The image used as a test is the one provided by upstream libjasper. https://bugzilla.gnome.org/show_bug.cgi?id=760474
* tests: Name test images properlyBenjamin Otte2015-10-131-8/+8
| | | | | Make sure they have a sane file extension so it's easy for tools to identify them from their filename.
* tests: Remove unsupported imagesBenjamin Otte2015-10-131-2/+0
| | | | The wbmp and ras loaders were dropped, no need to keep the filrs.
* tests: Move test imagesBenjamin Otte2015-10-131-1/+1
| | | | | | Make test-images/ a directory only containing subdirectories for ease of maintenance. Move all images from that directory to test-images/randomly-modified.
* Updated FSF's addressDaniel Mustieles2014-01-311-2/+1
|
* Make testsuite robust against disabled formatsMatthias Clasen2014-01-251-9/+20
| | | | | | | Skip tests if their file format is not supported by the available loaders. https://bugzilla.gnome.org/show_bug.cgi?id=722651
* Convert pixbuf-threads testMatthias Clasen2013-12-191-75/+38
| | | | Make this test use g_test_run, so it is compatible with using TAP.
* Drop unneed g_type_init callsMatthias Clasen2013-12-181-9/+0
| | | | | We have been requiring a new-enough GLib for a while now, so drop this unnecessary clutter.
* tests: Fix up pixbuf tests to know how to find data filesColin Walters2013-06-241-24/+25
| | | | | | | | | These tests were broken by: 8ec55ff29e0626a05a3aa9d92060e28767ee142f Previously we were relying on hand-written .test files which used sh -c and wildcard expansion, but with modern GLib we can just use g_test_get_dir() to find the datadir relative to our binary path.
* Add a better diagnostic messageMatthias Clasen2013-05-311-1/+5
| | | | | This test is falling on the builder, but the message doesn't help to find out why.
* Install some pixbuf testsMatthias Clasen2013-05-221-3/+18
| | | | | | Make it possible to limit the iterations of the pixbuf-threads and pixbuf-randomly-modified tests, and run them installed on some of the test images in tests/test-images.
* More deprecation cleanupMatthias Clasen2013-01-101-1/+5
| | | | Avoid deprecation warnings for g_type_init and g_thread_init.
* Add pure gdk-pixbuf tests from GTK+Matthias Clasen2010-06-261-0/+118