Home
last modified time | relevance | path

Searched refs:TEST_AND_RETURN (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTest.cpp17 #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()
201TEST_AND_RETURN(fBitmapFromPicture == NULL, "Could not create bitmap from original picture!", fals… in Test()
204TEST_AND_RETURN(fBitmapFromRestoredPicture == NULL, "Could not create bitmap from archived picture… in Test()
227TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for direct drawing could not be crea… in CreateBitmap()
236TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for picture recording could not be c… in RecordPicture()
252TEST_AND_RETURN(bitmap.InitCheck() != B_OK, "Offscreen bitmap for picture drawing could not be cre… in CreateBitmap()
335TEST_AND_RETURN(data == NULL, "BMallocIO could not be allocated for flattening the picture!" , NUL… in SaveAndRestore()
[all …]