diff --git a/tests/xrdp/Makefile.am b/tests/xrdp/Makefile.am index 56cbce7c..2a2742d0 100644 --- a/tests/xrdp/Makefile.am +++ b/tests/xrdp/Makefile.am @@ -16,7 +16,9 @@ EXTRA_DIST = \ test_24bit.bmp \ test_not4_4bit.bmp \ test_not4_8bit.bmp \ - test_not4_24bit.bmp + test_not4_24bit.bmp \ + test1.jpg \ + test_alpha_blend.png TESTS = test_xrdp check_PROGRAMS = test_xrdp diff --git a/tests/xrdp/test1.jpg b/tests/xrdp/test1.jpg new file mode 100644 index 00000000..93434c00 Binary files /dev/null and b/tests/xrdp/test1.jpg differ diff --git a/tests/xrdp/test_alpha_blend.png b/tests/xrdp/test_alpha_blend.png new file mode 100644 index 00000000..66a7176e Binary files /dev/null and b/tests/xrdp/test_alpha_blend.png differ diff --git a/tests/xrdp/test_bitmap_load.c b/tests/xrdp/test_bitmap_load.c index cc453fa1..ebb59c00 100644 --- a/tests/xrdp/test_bitmap_load.c +++ b/tests/xrdp/test_bitmap_load.c @@ -299,6 +299,7 @@ make_suite_test_bitmap_load(void) { Suite *s; TCase *tc_bitmap_load; + TCase *tc_other_load; s = suite_create("BitmapLoad"); @@ -320,5 +321,13 @@ make_suite_test_bitmap_load(void) suite_add_tcase(s, tc_bitmap_load); +#ifdef USE_IMLIB2 + tc_other_load = tcase_create("xrdp_other_load"); + tcase_add_checked_fixture(tc_other_load, setup, teardown); + tcase_add_test(tc_other_load, test_png_load__blend_ok); + tcase_add_test(tc_other_load, test_jpg_load__ok); + suite_add_tcase(s, tc_other_load); +#endif + return s; }