diff --git a/qa/common/test_bitmap_base.cpp b/qa/common/test_bitmap_base.cpp index 6163edcc09..e116706d77 100644 --- a/qa/common/test_bitmap_base.cpp +++ b/qa/common/test_bitmap_base.cpp @@ -113,6 +113,20 @@ BOOST_AUTO_TEST_CASE( Empty ) } +#ifdef HAVE_EXPECTED_FAILURES + +BOOST_AUTO_TEST_CASE( EmptyCopy, *boost::unit_test::expected_failures( 1 ) ) +{ + BITMAP_BASE empty; + BITMAP_BASE copied = empty; + + // should still have nothing in it + BOOST_CHECK_EQUAL( copied.GetImageData(), nullptr ); +} + +#endif + + struct TEST_PIXEL_CASE { int m_x;