Both jpeg decode and encode test files use this macro.
So move it to the common test.h header to avoid duplicating
it.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit
8b876d6cd7ae8911bef38de673731556e300999f)
PictureData::SharedConst pd;
};
-#define ASSERT_NO_FAILURE(statement) \
- statement; \
- ASSERT_FALSE(HasFailure());
-
TEST_P(FourCCTest, Decode)
{
struct i965_driver_data *i965(*this);
return i420;
}
-#define ASSERT_NO_FAILURE(statement) \
- statement; \
- ASSERT_FALSE(HasFailure());
-
class JPEGEncodeInputTest
: public JPEGEncodeTest
, public ::testing::WithParamInterface<
#define ASSERT_PTR_NULL(ptr) \
ASSERT_TRUE(NULL == (ptr))
+#define ASSERT_NO_FAILURE(statement) \
+ statement; \
+ ASSERT_FALSE(HasFailure());
+
class VaapiStatus
{
public: