#include "cpptest.h"

CPPTEST_CONTEXT("/UT_DFBProject/IDirectFBImageProvider/idirectfbimageprovider_vec.c");
CPPTEST_TEST_SUITE_INCLUDED_TO("/UT_DFBProject/IDirectFBImageProvider/idirectfbimageprovider_vec.c");

CPPTEST_TEST_SUITE(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DTV);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_ATV);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_CVBS0);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_SVIDEO);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DSUB);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_COMP);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_HDMI_A);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_STORAGE);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OP2__eSourceToVE_shouldbe_E_XC_OP2);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OVERLAP__eSourceToVE_shouldbe_E_XC_OVERLAP);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP_SUB__eSourceToVE_shouldbe_E_XC_IP_SUB);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP__eSourceToVE_shouldbe_E_XC_IP);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_VOP2__eSourceToVE_shouldbe_E_XC_VOP2);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_BRI__eSourceToVE_shouldbe_E_XC_BRI);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_GAM__eSourceToVE_shouldbe_E_XC_GAM);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_DITHER__eSourceToVE_shouldbe_E_XC_DITHER);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_NA__return_shouldbe_FALSE);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_error);
#if 0  //FIXJASON
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_inputsrc);
#endif
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_correct);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_error);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NOT_MATCH);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_is_E_XC_IP_SUB);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_true);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_false);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Disable_Input);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_Check_stVECapState);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_TRUE);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_MDrv_VE_VECaptureWaitOnFrame_return_false);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_stVECapState2eu8Result_is_FALSE);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_success);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_fail);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_destination_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_data_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_w_is_0);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_h_is_0);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_size_is_normal);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_vecInit_false);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_desc_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_data_source_is_NULL);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_DFB_OK);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_AddRef_default);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetImageDescription_default);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetSurfaceDescription_default);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_SetRenderCallback_default);
CPPTEST_TEST(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_Release_default);
CPPTEST_TEST_SUITE_END();
        

void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DTV();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_ATV();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_CVBS0();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_SVIDEO();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DSUB();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_COMP();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_HDMI_A();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_STORAGE();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OP2__eSourceToVE_shouldbe_E_XC_OP2();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OVERLAP__eSourceToVE_shouldbe_E_XC_OVERLAP();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP_SUB__eSourceToVE_shouldbe_E_XC_IP_SUB();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP__eSourceToVE_shouldbe_E_XC_IP();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_VOP2__eSourceToVE_shouldbe_E_XC_VOP2();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_BRI__eSourceToVE_shouldbe_E_XC_BRI();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_GAM__eSourceToVE_shouldbe_E_XC_GAM();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_DITHER__eSourceToVE_shouldbe_E_XC_DITHER();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_NA__return_shouldbe_FALSE();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_error();
#if 0  //FIXJASON
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_inputsrc();
#endif
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_correct();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_error();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NOT_MATCH();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_is_E_XC_IP_SUB();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_true();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_false();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Disable_Input();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_Check_stVECapState();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_TRUE();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_MDrv_VE_VECaptureWaitOnFrame_return_false();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_stVECapState2eu8Result_is_FALSE();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_success();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_fail();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_destination_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_data_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_w_is_0();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_h_is_0();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_size_is_normal();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_vecInit_false();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_desc_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_data_source_is_NULL();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_DFB_OK();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_AddRef_default();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetImageDescription_default();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetSurfaceDescription_default();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_SetRenderCallback_default();
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_Release_default();
CPPTEST_TEST_SUITE_REGISTRATION(TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d);


extern _Bool bRunInMock_MDrv_VE_InitVECapture;
extern _Bool bRunInMock_EnaVECapture;
extern _Bool bRunInMock_MDrv_VE_EnaVECapture;
extern _Bool bRunInMock_MDrv_VE_VECaptureWaitOnFrame;
extern _Bool bRunInMock_EnaVECaptureInfo;

void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_setUp()
{
}

void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_tearDown()
{
}


/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_DTV */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DTV()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "DTV" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_DTV, (_data->eSourceToIP));
    }
    // CPPTEST_ASSERT_CSTR_EQUAL("MSTAR Screen", (_description.name));
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_DTV */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_ATV */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_ATV()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "ATV" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_ATV, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_ATV */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_CVBS0 */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_CVBS0()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "AV" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_CVBS0, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_CVBS0 */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_SVIDEO */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_SVIDEO()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "SV" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_SVIDEO, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_SVIDEO */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_DSUB */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_DSUB()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "VGA" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_DSUB, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_DSUB */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_COMP */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_COMP()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "COMP" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_COMP, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_COMP */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_HDMI_A */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_HDMI_A()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "HDMI" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_HDMI_A, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_HDMI_A */


/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_STORAGE */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_STORAGE()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */ 
    const char * _value  = "STORAGE" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_DTV, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_STORAGE */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_NOT_MATCH */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NOT_MATCH()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */
    const char * _value  = "NA" ;
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_NONE, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_NOT_MATCH */

/* CPPTEST_TEST_CASE_BEGIN test_vecConvertToVEInputSrc_VE_SRC_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConvertToVEInputSrc(IDirectFBImageProvider_VEC_data *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConvertToVEInputSrc_VE_SRC_NULL()
{
    /* Pre-condition initialization */
    IDirectFBImageProvider_VEC_data input;

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data * _data  = &input ;
    /* Initializing argument 2 (value) */

    //const char * _value;      // david.peng, No error handle for value ptr is NULL, will coredump!
    const char * _value = "";   //
    {
        /* Tested function call */
        _Bool _return  = vecConvertToVEInputSrc(_data, _value);

        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_NONE, (_data->eSourceToIP));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConvertToVEInputSrc_VE_SRC_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_OP2__eSourceToVE_shouldbe_E_XC_OP2 */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OP2__eSourceToVE_shouldbe_E_XC_OP2()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "OP2" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_OP2, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_OP2__eSourceToVE_shouldbe_E_XC_OP2 */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_OVERLAP__eSourceToVE_shouldbe_E_XC_OVERLAP */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_OVERLAP__eSourceToVE_shouldbe_E_XC_OVERLAP()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "OVERLAP" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_OVERLAP, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_OVERLAP__eSourceToVE_shouldbe_E_XC_OVERLAP */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_IP_SUB__eSourceToVE_shouldbe_E_XC_IP_SUB */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP_SUB__eSourceToVE_shouldbe_E_XC_IP_SUB()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "IP_SUB" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_IP_SUB, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_IP_SUB__eSourceToVE_shouldbe_E_XC_IP_SUB */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_IP__eSourceToVE_shouldbe_E_XC_IP */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_IP__eSourceToVE_shouldbe_E_XC_IP()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "IP" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_IP, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_IP__eSourceToVE_shouldbe_E_XC_IP */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_VOP2__eSourceToVE_shouldbe_E_XC_VOP2 */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_VOP2__eSourceToVE_shouldbe_E_XC_VOP2()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "VOP2" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_VOP2, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_VOP2__eSourceToVE_shouldbe_E_XC_VOP2 */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_BRI__eSourceToVE_shouldbe_E_XC_BRI */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_BRI__eSourceToVE_shouldbe_E_XC_BRI()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "BRI" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_BRI, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_BRI__eSourceToVE_shouldbe_E_XC_BRI */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_GAM__eSourceToVE_shouldbe_E_XC_GAM */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_GAM__eSourceToVE_shouldbe_E_XC_GAM()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "GAM" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_GAM, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_GAM__eSourceToVE_shouldbe_E_XC_GAM */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_DITHER__eSourceToVE_shouldbe_E_XC_DITHER */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_DITHER__eSourceToVE_shouldbe_E_XC_DITHER()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "DITHER" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(E_XC_DITHER, (data.eSourceToVE));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_DITHER__eSourceToVE_shouldbe_E_XC_DITHER */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_src_Value_is_NA__return_shouldbe_FALSE */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_src_Value_is_NA__return_shouldbe_FALSE()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_src" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "NA" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_src_Value_is_NA__return_shouldbe_FALSE */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_x_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_x" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.stCapWin.x));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_x_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_x_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_x" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_x_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_x_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_x_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_x" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_x_Value_is_error */

#if 0  //FIXJASON
/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_inputsrc */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_inputsrc()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_inputsrc" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "VGA" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(false, ( _return ));  //FIXJASON
        CPPTEST_ASSERT_INTEGER_EQUAL(MS_VE_SRC_DSUB, (data.eSourceToIP));  //FIXJASON
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_inputsrc */
#endif

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_y_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_y" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.stCapWin.y));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_y_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_y_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_y" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_y_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_y_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_y_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_y" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_y_Value_is_error */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_w_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_w" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.stCapWin.width));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_w_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_w_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_w" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_w_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_w_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_w_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_w" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_w_Value_is_error */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_h_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_h" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.stCapWin.height));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_h_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_h_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_h" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_h_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_h_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_h_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_h" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_h_Value_is_error */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_h_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */
    const char * _name  = "vec_output_h" ;
    /* Initializing argument 3 (value) */
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.u16OutputHSize));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_h_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_h_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */
    const char * _name  = "vec_output_h" ;
    /* Initializing argument 3 (value) */
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_h_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_h_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_h_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */
    const char * _name  = "vec_output_h" ;
    /* Initializing argument 3 (value) */
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_h_Value_is_error */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_v_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_output_v" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(256, (data.u16OutputVSize));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_v_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_v_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_output_v" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_v_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_output_v_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_output_v_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_output_v" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_output_v_Value_is_error */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_addr_Value_is_correct */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_correct()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */
    const char * _name  = "vec_capture_addr" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "12345678" ; // Hex
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_INTEGER_EQUAL(0x12345678, (data.vec_capture_addr));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_addr_Value_is_correct */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_addr_Value_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_NULL()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_addr" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = 0 ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_addr_Value_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_vecConfig_Name_is_vec_capture_addr_Value_is_error */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecConfig(IDirectFBImageProvider_VEC_data *, const char *, const char *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecConfig_Name_is_vec_capture_addr_Value_is_error()
{
    /* Pre-condition initialization */

    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
    /* Initializing argument 2 (name) */ 
    const char * _name  = "vec_capture_addr" ;
    /* Initializing argument 3 (value) */ 
    const char * _value  = "256 128" ;
    {
        /* Tested function call */
        _Bool _return  = vecConfig(&data, _name, _value);
        /* Post-condition check */
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecConfig_Name_is_vec_capture_addr_Value_is_error */



/* CPPTEST_TEST_CASE_BEGIN test_EnaVECapture_Enable_Input_is_E_XC_IP_SUB */
/* CPPTEST_TEST_CASE_CONTEXT _Bool EnaVECapture(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_is_E_XC_IP_SUB()
{
    //bRunInMock_MDrv_VE_EnaVECapture = FALSE;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;

    data.stVECapState.bEnable = TRUE;
    data.eSourceToVE = E_XC_IP_SUB;
    data.eSourceToIP = MS_VE_SRC_DTV;

    {
        /* Tested function call */
        _Bool _return  = EnaVECapture(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        //CPPTEST_ASSERT_BOOL_EQUAL(FALSE, (bRunInMock_MDrv_VE_EnaVECapture ));
    }
}
/* CPPTEST_TEST_CASE_END test_EnaVECapture_Enable_Input_is_E_XC_IP_SUB */


/* CPPTEST_TEST_CASE_BEGIN test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_true */
/* CPPTEST_TEST_CASE_CONTEXT _Bool EnaVECapture(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_true()
{
    bRunInMock_MDrv_VE_EnaVECapture = FALSE;
    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;
					
    data.stVECapState.bEnable = TRUE;
    data.eSourceToVE = E_XC_IP;
    //data.eSourceToIP = MS_VE_SRC_DTV;
    data.stVECapState.u8Result = TRUE;

    {
        /* Tested function call */
        _Bool _return  = EnaVECapture(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_EnaVECapture ));
    }
}
/* CPPTEST_TEST_CASE_END test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_true */

/* CPPTEST_TEST_CASE_BEGIN test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_false */
/* CPPTEST_TEST_CASE_CONTEXT _Bool EnaVECapture(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_false()
{
    bRunInMock_MDrv_VE_EnaVECapture = FALSE;
    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;

    data.stVECapState.bEnable = true;
    data.eSourceToVE = E_XC_IP;
    //data.eSourceToIP = MS_VE_SRC_DTV;
    data.stVECapState.u8Result = FALSE;

    {
        /* Tested function call */
        _Bool _return  = EnaVECapture(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_EnaVECapture ));
    }
}
/* CPPTEST_TEST_CASE_END test_EnaVECapture_Enable_Input_not_E_XC_IP_SUB_CapState_is_false */

/* CPPTEST_TEST_CASE_BEGIN test_EnaVECapture_Disable_Input */
/* CPPTEST_TEST_CASE_CONTEXT _Bool EnaVECapture(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_EnaVECapture_Disable_Input()
{
		bRunInMock_MDrv_VE_InitVECapture = FALSE;
    bRunInMock_MDrv_VE_EnaVECapture = FALSE;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;

    data.stVECapState.bEnable = false;
    //data.eSourceToVE = E_XC_IP;
    //data.eSourceToIP = MS_VE_SRC_DTV;
    data.stVECapState.u8Result = TRUE;

    {
        /* Tested function call */
        _Bool _return  = EnaVECapture(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_InitVECapture ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_EnaVECapture ));
    }
}
/* CPPTEST_TEST_CASE_END test_EnaVECapture_Disable_Input */

/* CPPTEST_TEST_CASE_BEGIN test_vecOneFrameDone_Check_stVECapState */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOneFrameDone(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_Check_stVECapState()
{
    bRunInMock_MDrv_VE_VECaptureWaitOnFrame = false;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;

    data.stVECapState.u16Version = VE_VECAPTURESTATE_VERSION;
    data.stVECapState.u16Length  = sizeof(MS_VE_VECAPTURESTATE);
    data.stVECapState.u8FrameCount = 1;

    {
        /* Tested function call */
        _Bool _return  = vecOneFrameDone(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_VECaptureWaitOnFrame ));

    }
}
/* CPPTEST_TEST_CASE_END test_vecOneFrameDone_Check_stVECapState */

/* CPPTEST_TEST_CASE_BEGIN test_vecOneFrameDone_return_TRUE */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOneFrameDone(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_TRUE()
{
    bRunInMock_MDrv_VE_VECaptureWaitOnFrame = false;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data data;

    {
        /* Tested function call */
        _Bool _return  = vecOneFrameDone(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_VECaptureWaitOnFrame ));

    }
}
/* CPPTEST_TEST_CASE_END test_vecOneFrameDone_return_TRUE */

/* CPPTEST_TEST_CASE_BEGIN test_vecOneFrameDone_return_FALSE_when_MDrv_VE_VECaptureWaitOnFrame_return_false */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOneFrameDone(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_MDrv_VE_VECaptureWaitOnFrame_return_false()
{
    bRunInMock_MDrv_VE_VECaptureWaitOnFrame = false;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;

    {
        /* Tested function call */
        _Bool _return  = vecOneFrameDone(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_VECaptureWaitOnFrame ));

    }
}
/* CPPTEST_TEST_CASE_END test_vecOneFrameDone_return_FALSE_when_MDrv_VE_VECaptureWaitOnFrame_return_false */

/* CPPTEST_TEST_CASE_BEGIN test_vecOneFrameDone_return_FALSE_when_stVECapState2eu8Result_is_FALSE */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOneFrameDone(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOneFrameDone_return_FALSE_when_stVECapState2eu8Result_is_FALSE()
{
    bRunInMock_MDrv_VE_VECaptureWaitOnFrame = false;

    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */
    IDirectFBImageProvider_VEC_data data;

    {
        /* Tested function call */
        _Bool _return  = vecOneFrameDone(&data);

        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( bRunInMock_MDrv_VE_VECaptureWaitOnFrame ));

    }
}
/* CPPTEST_TEST_CASE_END test_vecOneFrameDone_return_FALSE_when_stVECapState2eu8Result_is_FALSE */

/* CPPTEST_TEST_CASE_BEGIN test_vecOpen_success */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOpen(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_success()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data  data;

    data.stVECapState.u16Version = 1;
    data.stVECapState.u16Length = 2;
    data.stVECapState.bEnable = FALSE;
		
	  printf("sizeof(MS_VE_VECAPTURESTATE) = (%d)\n", sizeof(MS_VE_VECAPTURESTATE));

	  bRunInMock_EnaVECaptureInfo = FALSE;  //before

    {
        /* Tested function call */
        _Bool _return  = vecOpen(&data);
        
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, bRunInMock_EnaVECaptureInfo);

        CPPTEST_ASSERT_INTEGER_EQUAL(VE_VECAPTURESTATE_VERSION, data.stVECapState.u16Version);
        CPPTEST_ASSERT_INTEGER_EQUAL(8, data.stVECapState.u16Length);
        CPPTEST_ASSERT_INTEGER_EQUAL(TRUE, data.stVECapState.bEnable);
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecOpen_success */

/* CPPTEST_TEST_CASE_BEGIN test_vecOpen_fail */
/* CPPTEST_TEST_CASE_CONTEXT _Bool vecOpen(IDirectFBImageProvider_VEC_data *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_vecOpen_fail()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
    IDirectFBImageProvider_VEC_data  data;

    data.stVECapState.u16Version = 1;
    data.stVECapState.u16Length = 2;
    data.stVECapState.bEnable = FALSE;
		
	  printf("sizeof(MS_VE_VECAPTURESTATE) = (%d)\n", sizeof(MS_VE_VECAPTURESTATE));

	  bRunInMock_EnaVECaptureInfo = FALSE;  //before

    {
        /* Tested function call */
        _Bool _return  = vecOpen(&data);
        
        CPPTEST_ASSERT_BOOL_EQUAL(TRUE, bRunInMock_EnaVECaptureInfo);

        CPPTEST_ASSERT_INTEGER_EQUAL(VE_VECAPTURESTATE_VERSION, data.stVECapState.u16Version);
        CPPTEST_ASSERT_INTEGER_EQUAL(8, data.stVECapState.u16Length);
        CPPTEST_ASSERT_INTEGER_EQUAL(TRUE, data.stVECapState.bEnable);
        CPPTEST_ASSERT_BOOL_EQUAL(FALSE, ( _return ));
    }
}
/* CPPTEST_TEST_CASE_END test_vecOpen_fail */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_destination_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_destination_is_NULL()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface *_destination = 0;

    /* Initializing argument 3 (dest_rect) */ 
    const DFBRectangle * _dest_rect  = 0 ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, _destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_destination_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_dst_data_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_data_is_NULL()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface destination;
    destination.priv = 0;

    /* Initializing argument 3 (dest_rect) */ 
    const DFBRectangle * _dest_rect  = 0 ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_DESTROYED, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_dst_data_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_w_is_0 */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_w_is_0()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface_data surface_data;
    CoreSurface surface;
    surface_data.surface = &surface;
    IDirectFBSurface destination;
    destination.priv = &surface_data;

    DFBRectangle rect;
    rect.w = 0;
    /* Initializing argument 3 (dest_rect) */ 
    const DFBRectangle * _dest_rect  = &rect ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_w_is_0 */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_h_is_0 */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_h_is_0()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface_data surface_data;
    CoreSurface surface;
    surface_data.surface = &surface;
    IDirectFBSurface destination;
    destination.priv = &surface_data;

    DFBRectangle rect;
    rect.w = 128;
    rect.h = 0;
    /* Initializing argument 3 (dest_rect) */
    const DFBRectangle * _dest_rect  = &rect ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_h_is_0 */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_size_is_normal */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_size_is_normal()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    data.eSourceToVE = E_XC_OP2;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface_data surface_data;
    surface_data.area.wanted.x = 36;
    surface_data.area.wanted.y = 48;
    CoreSurface surface;
    surface_data.surface = &surface;
    IDirectFBSurface destination;
    destination.priv = &surface_data;

    DFBRectangle rect;
    rect.w = 128;
    rect.h = 256;
    /* Initializing argument 3 (dest_rect) */
    const DFBRectangle * _dest_rect  = &rect ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_size_is_normal */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_is_NULL()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    data.eSourceToVE = E_XC_OP2;
    // data.destination = 0;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface_data surface_data;
    surface_data.area.wanted.x = 36;
    surface_data.area.wanted.y = 48;
    CoreSurface surface;
    surface_data.surface = &surface;
    IDirectFBSurface destination;
    destination.priv = &surface_data;

    //DFBRectangle rect;
    //rect.w = 128;
    //rect.h = 256;
    /* Initializing argument 3 (dest_rect) */
    const DFBRectangle * _dest_rect  = 0 ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_UINTEGER_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_dst_rect_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_RenderTo_vecInit_false */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_RenderTo(IDirectFBImageProvider *, IDirectFBSurface *, const DFBRectangle *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_RenderTo_vecInit_false()
{
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    data.eSourceToVE = E_XC_DITHER;
    thiz.priv = &data;


    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface_data surface_data;
    surface_data.area.wanted.x = 36;
    surface_data.area.wanted.y = 48;
    CoreSurface surface;
    surface_data.surface = &surface;
    IDirectFBSurface destination;
    destination.priv = &surface_data;

    //DFBRectangle rect;
    //rect.w = 128;
    //rect.h = 256;
    /* Initializing argument 3 (dest_rect) */
    const DFBRectangle * _dest_rect  = 0 ;

    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_RenderTo(&thiz, &destination, _dest_rect);
        /* Post-condition check */
        CPPTEST_ASSERT_UINTEGER_EQUAL( DFB_FAILURE, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_RenderTo_vecInit_false */

/* CPPTEST_TEST_CASE_BEGIN test_IDirectFBImageProvider_VEC_GetSurfaceDescription_desc_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult IDirectFBImageProvider_VEC_GetSurfaceDescription(IDirectFBImageProvider *, DFBSurfaceDescription *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_desc_is_NULL()
{
    /* Initializing argument 1 (thiz) */
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    data.eSourceToVE = E_XC_DITHER;
    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (desc) */ 
    DFBSurfaceDescription * _desc  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = IDirectFBImageProvider_VEC_GetSurfaceDescription(&thiz, _desc);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test_IDirectFBImageProvider_VEC_GetSurfaceDescription_desc_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_IDirectFBImageProvider_VEC_GetSurfaceDescription_data_source_is_NULL */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult IDirectFBImageProvider_VEC_GetSurfaceDescription(IDirectFBImageProvider *, DFBSurfaceDescription *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_data_source_is_NULL()
{
    /* Initializing argument 1 (thiz) */
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    data.source = 0;
    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (desc) */ 
    DFBSurfaceDescription desc ;
    {
        /* Tested function call */
        DFBResult _return  = IDirectFBImageProvider_VEC_GetSurfaceDescription(&thiz, &desc);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_FAILURE, ( _return ) )
    }
}
/* CPPTEST_TEST_CASE_END test_IDirectFBImageProvider_VEC_GetSurfaceDescription_data_source_is_NULL */

/* CPPTEST_TEST_CASE_BEGIN test_IDirectFBImageProvider_VEC_GetSurfaceDescription_DFB_OK */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult IDirectFBImageProvider_VEC_GetSurfaceDescription(IDirectFBImageProvider *, DFBSurfaceDescription *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test_IDirectFBImageProvider_VEC_GetSurfaceDescription_DFB_OK()
{
    /* Initializing argument 1 (thiz) */
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;
    IDirectFBSurface_data surface_data;
    CoreSurface surface;
    surface_data.surface = &surface;

    data.source = &surface_data;
    data.source->config.format = DSPF_AYUV;
    data.u16OutputHSize = 65;
    data.u16OutputVSize = 98;
    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;

    /* Initializing argument 2 (desc) */ 
    DFBSurfaceDescription desc ;

    {
        /* Tested function call */
        DFBResult _return  = IDirectFBImageProvider_VEC_GetSurfaceDescription(&thiz, &desc);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) )
        CPPTEST_ASSERT_UINTEGER_EQUAL( DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT, ( desc.flags ) )
        CPPTEST_ASSERT_UINTEGER_EQUAL( data.u16OutputHSize, ( desc.width ) )
        CPPTEST_ASSERT_UINTEGER_EQUAL( data.u16OutputVSize, ( desc.height ) )
        CPPTEST_ASSERT_UINTEGER_EQUAL( data.source->config.format, ( desc.pixelformat ) )
    }
}
/* CPPTEST_TEST_CASE_END test_IDirectFBImageProvider_VEC_GetSurfaceDescription_DFB_OK */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_AddRef_default */
/* CPPTEST_TEST_CASE_CONTEXT DirectResult _IDirectFBImageProvider_VEC_AddRef(IDirectFBImageProvider *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_AddRef_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;

    data.ref = 0;
    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;
    {
        /* Tested function call */
        DirectResult _return  = _IDirectFBImageProvider_VEC_AddRef(&thiz);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DR_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_AddRef_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_GetImageDescription_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_GetImageDescription(IDirectFBImageProvider *, DFBImageDescription *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetImageDescription_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;

    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (desc) */ 
    DFBImageDescription _desc  ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_GetImageDescription(&thiz, &_desc);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_GetImageDescription_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_GetSurfaceDescription_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_GetSurfaceDescription(IDirectFBImageProvider *, DFBSurfaceDescription *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_GetSurfaceDescription_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;

    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (desc) */ 
    DFBSurfaceDescription _desc  ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_GetSurfaceDescription(&thiz, &_desc);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_FAILURE, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_GetSurfaceDescription_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_SetRenderCallback_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBImageProvider_VEC_SetRenderCallback(IDirectFBImageProvider *, DIRenderCallback, void *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_SetRenderCallback_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;

    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (callback) */ 
    DIRenderCallback _callback  = 0 ;
    /* Initializing argument 3 (context) */ 
    void * _context  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBImageProvider_VEC_SetRenderCallback(&thiz, _callback, _context);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_SetRenderCallback_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBImageProvider_VEC_Release_default */
/* CPPTEST_TEST_CASE_CONTEXT DirectResult _IDirectFBImageProvider_VEC_Release(IDirectFBImageProvider *) */
void TestSuite_idirectfbimageprovider_vec_c_a4bcfc3d_test__IDirectFBImageProvider_VEC_Release_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBImageProvider thiz;
    IDirectFBImageProvider_VEC_data data;

    data.ref = 0;
    thiz.priv = &data;

    IAny * this = (IAny*)&thiz;
    this->magic = 185931549 ;
    {
        /* Tested function call */
        DirectResult _return  = _IDirectFBImageProvider_VEC_Release(&thiz);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DR_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBImageProvider_VEC_Release_default */
