wxwidgets/tests/image
Vadim Zeitlin d58f9bea72 Rearrange sections in wxImage::Paste unit test
No real changes, just execute only the tests relevant for the section
being executed instead of always running the code loading PNG images
when running a section not using them at all.

This has the advantages of being a bit faster to execute (and the total
test suite run time does add up) and, more importantly, showing the
right amount of tests when executing a single section: e.g. now it's 1
in the simplest case, as expected, and not 5.

The disadvantage is, of course, slightly more code duplication, but it
doesn't seem a huge problem in practice and making each section code
more self-contained is arguably worth it.

Also, compensate for this somewhat by extracting all XPM definitions at
the function level: those are only initialized once (being static), so
there is no need to duplicate them.

Finally, also call AddHandler() once instead of once per section as
before.
2020-10-06 00:40:59 +02:00
..
cross_bicubic_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
cross_bilinear_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
cross_box_average_256x256.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
cross_nearest_neighb_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
horse_bicubic_50x50.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_100x100.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_150x150.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_300x300.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_50x50.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_100x100.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_150x150.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_300x300.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_box_average_50x50.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_100x100.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_150x150.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_300x300.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_grey.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_grey_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle4.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle4_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle8.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle8_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
image.cpp Rearrange sections in wxImage::Paste unit test 2020-10-06 00:40:59 +02:00
paste_input_background.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_black.png Fix using mask colour even if there is no mask in wxImage::Paste 2020-10-01 02:13:28 +02:00
paste_input_overlay_transparent_border_opaque_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_overlay_transparent_border_semitransparent_circle.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_overlay_transparent_border_semitransparent_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_circle_plus_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_overlay_transparent_border_opaque_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_overlay_transparent_border_semitransparent_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_no_background_square_over_circle.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
rawbmp.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00