Searched refs:TEST_AND_RETURN (Results 1 – 1 of 1) sorted by relevance
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTest.cpp | 17 #define TEST_AND_RETURN(condition, message, result) \ macro 190 TEST_AND_RETURN(fDirectBitmap == NULL, "Could not create direct draw bitmap!", false); in Test() 194 TEST_AND_RETURN(picture == NULL, "Picture could not be recorded!", false); in Test() 198 TEST_AND_RETURN(picture == NULL, "Picture could not be flattened and unflattened!", false); in Test() 201 …TEST_AND_RETURN(fBitmapFromPicture == NULL, "Could not create bitmap from original picture!", fals… in Test() 204 …TEST_AND_RETURN(fBitmapFromRestoredPicture == NULL, "Could not create bitmap from archived picture… in Test() 227 …TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for direct drawing could not be crea… in CreateBitmap() 236 …TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for picture recording could not be c… in RecordPicture() 252 …TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for picture drawing could not be cre… in CreateBitmap() 335 …TEST_AND_RETURN(data == NULL, "BMallocIO could not be allocated for flattening the picture!" , NUL… in SaveAndRestore() [all …]
|