#include "cpptest.h"

CPPTEST_CONTEXT("/UT_DFBProject/IDirectFBVideoProvider/idirectfbvideoprovider_gif.c");
CPPTEST_TEST_SUITE_INCLUDED_TO("/UT_DFBProject/IDirectFBVideoProvider/idirectfbvideoprovider_gif.c");

CPPTEST_TEST_SUITE(TestSuite_idirectfbvideoprovider_gif_c);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_reset);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_boundary_err);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_AddRef_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetCapabilities_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Release_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetPos_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSurfaceDescription_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStreamDescription_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStatus_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_PlayTo_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Stop_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetPlaybackFlags_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_default);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_failed);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_failed);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_failed);
CPPTEST_TEST(TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_failed);
CPPTEST_TEST_SUITE_END();
        

void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_reset();
void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_boundary_err();
void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_AddRef_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetCapabilities_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Release_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetPos_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSurfaceDescription_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStreamDescription_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStatus_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_PlayTo_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Stop_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetPlaybackFlags_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_default();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_failed();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_failed();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_failed();
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_failed();
CPPTEST_TEST_SUITE_REGISTRATION(TestSuite_idirectfbvideoprovider_gif_c);

void TestSuite_idirectfbvideoprovider_gif_c_setUp()
{
}

void TestSuite_idirectfbvideoprovider_gif_c_tearDown()
{
}


/* CPPTEST_TEST_CASE_BEGIN test_GetCode_reset */
/* CPPTEST_TEST_CASE_CONTEXT int GetCode(IDirectFBVideoProvider_GIF_data *, int, int) */
void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_reset()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
	  IDirectFBVideoProvider_GIF_data a_data;
    /* Initializing argument 2 (code_size) */ 
    int _code_size  = 0;
    /* Initializing argument 3 (flag) */ 
    int _flag  = 1;         //init

    a_data.curbit  = 10;    //init
    a_data.lastbit = 20;    //init
    a_data.done    = true;  //init

    {
        /* Tested function call */
        int _return  = GetCode(&a_data, _code_size, _flag);

        /* Post-condition check */
        CPPTEST_ASSERT_UINTEGER_EQUAL( 0, _return );

        CPPTEST_ASSERT_UINTEGER_EQUAL( 0, a_data.curbit );
        CPPTEST_ASSERT_UINTEGER_EQUAL( 0, a_data.lastbit );
        CPPTEST_ASSERT_UINTEGER_EQUAL( false, a_data.done );
    }
}
/* CPPTEST_TEST_CASE_END test_GetCode_reset */

/* CPPTEST_TEST_CASE_BEGIN test_GetCode_boundary_err */
/* CPPTEST_TEST_CASE_CONTEXT int GetCode(IDirectFBVideoProvider_GIF_data *, int, int) */
void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_boundary_err()
{
	/* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
	IDirectFBVideoProvider_GIF_data a_data;
    /* Initializing argument 2 (code_size) */ 
    int _code_size;
    /* Initializing argument 3 (flag) */ 
    int _flag  = 0;         //init

    a_data.curbit  = 32;
    _code_size     = 8;
    a_data.lastbit = 32;
    a_data.done = true;

    {
        /* Tested function call */
        int _return  = GetCode(&a_data, _code_size, _flag);

        /* Post-condition check */
        CPPTEST_ASSERT_UINTEGER_EQUAL( -1, _return );
    }
}
/* CPPTEST_TEST_CASE_END test_GetCode_boundary_err */

/* CPPTEST_TEST_CASE_BEGIN test_GetCode_default */
/* CPPTEST_TEST_CASE_CONTEXT int GetCode(IDirectFBVideoProvider_GIF_data *, int, int) */
void TestSuite_idirectfbvideoprovider_gif_c_test_GetCode_default()
{
	/* Pre-condition initialization */
    /* Initializing argument 1 (data) */ 
	IDirectFBVideoProvider_GIF_data a_data;
    /* Initializing argument 2 (code_size) */ 
    int _code_size;
    /* Initializing argument 3 (flag) */ 
    int _flag  = 0;         //init

    a_data.curbit  = 32;
    _code_size     = 8;
    a_data.lastbit = 32;
    a_data.done = false;

    a_data.buf[0]                  = 0;
    a_data.buf[1]                  = 1;
    a_data.last_byte               = 100;
    a_data.buf[a_data.last_byte-2] = 98;
    a_data.buf[a_data.last_byte-1] = 99;

    {
        /* Tested function call */
        int _return  = GetCode(&a_data, _code_size, _flag);

        /* Post-condition check */
        CPPTEST_ASSERT_UINTEGER_EQUAL( 98, a_data.buf[0] );
        CPPTEST_ASSERT_UINTEGER_EQUAL( 99, a_data.buf[1] );

        CPPTEST_ASSERT_BOOL_EQUAL(true, a_data.done);

        CPPTEST_ASSERT_UINTEGER_EQUAL( 2, a_data.last_byte );
        CPPTEST_ASSERT_UINTEGER_EQUAL( 24, a_data.curbit );
        CPPTEST_ASSERT_UINTEGER_EQUAL( 16, a_data.lastbit );

        CPPTEST_ASSERT_UINTEGER_EQUAL( 0, _return );
    }
}
/* CPPTEST_TEST_CASE_END test_GetCode_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_AddRef_default */
/* CPPTEST_TEST_CASE_CONTEXT DirectResult _IDirectFBVideoProvider_GIF_AddRef(IDirectFBVideoProvider *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_AddRef_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

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

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    {
        /* Tested function call */
        DirectResult _return  = _IDirectFBVideoProvider_GIF_AddRef(_thiz);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DR_OK, ( _return ) );
        CPPTEST_ASSERT_EQUAL( 1, ( data.ref ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_AddRef_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetCapabilities_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetCapabilities(IDirectFBVideoProvider *, DFBVideoProviderCapabilities *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetCapabilities_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (caps) */ 
    DFBVideoProviderCapabilities  _caps  ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetCapabilities(_thiz, &_caps);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetCapabilities_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_Release_default */
/* CPPTEST_TEST_CASE_CONTEXT DirectResult _IDirectFBVideoProvider_GIF_Release(IDirectFBVideoProvider *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Release_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

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

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

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetLength_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetLength(IDirectFBVideoProvider *, double *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (seconds) */ 
    double  _seconds  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetLength(_thiz, &_seconds);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_UNSUPPORTED, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetLength_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetPos_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetPos(IDirectFBVideoProvider *, double *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetPos_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (seconds) */ 
    double _seconds = 0.0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetPos(_thiz, &_seconds);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_UNSUPPORTED, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetPos_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetSurfaceDescription_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetSurfaceDescription(IDirectFBVideoProvider *, DFBSurfaceDescription *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSurfaceDescription_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

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

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetStreamDescription_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetStreamDescription(IDirectFBVideoProvider *, DFBStreamDescription *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStreamDescription_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

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

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetStatus_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetStatus(IDirectFBVideoProvider *, DFBVideoProviderStatus *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetStatus_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (status) */ 
    DFBVideoProviderStatus _status  ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetStatus(_thiz, &_status);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetStatus_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_PlayTo_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_PlayTo(IDirectFBVideoProvider *, IDirectFBSurface *, const DFBRectangle *, DVFrameCallback, void *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_PlayTo_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (destination) */ 
    IDirectFBSurface * _destination  = 0 ;
    /* Initializing argument 3 (dest_rect) */ 
    const DFBRectangle * _dest_rect  = 0 ;
    /* Initializing argument 4 (callback) */ 
    DVFrameCallback _callback  = 0 ;
    /* Initializing argument 5 (ctx) */ 
    void * _ctx  = 0 ;
    /* Initializing global variable ZeroDataBlock */ 
    {
         ZeroDataBlock  = 0;
    }
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_PlayTo(_thiz, _destination, _dest_rect, _callback, _ctx);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_PlayTo_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_Stop_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_Stop(IDirectFBVideoProvider *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_Stop_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    data.thread = NULL;
    data.destination = NULL;
    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_Stop(_thiz);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_Stop_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_SeekTo_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_SeekTo(IDirectFBVideoProvider *, double) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (seconds) */ 
    double _seconds  = 0.0;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_SeekTo(_thiz, _seconds);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_UNSUPPORTED, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_SeekTo_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_SetPlaybackFlags_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_SetPlaybackFlags(IDirectFBVideoProvider *, DFBVideoProviderPlaybackFlags) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetPlaybackFlags_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (flags) */ 
    DFBVideoProviderPlaybackFlags _flags  = DVPLAY_NOFX;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_SetPlaybackFlags(_thiz, _flags);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_SetPlaybackFlags_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_SetSpeed_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_SetSpeed(IDirectFBVideoProvider *, double) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (multiplier) */ 
    double _multiplier  = 0.0;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_SetSpeed(_thiz, _multiplier);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_SetSpeed_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetSpeed_default */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetSpeed(IDirectFBVideoProvider *, double *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_default()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (multiplier) */ 
    double _multiplier  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetSpeed(_thiz, &_multiplier);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_OK, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetSpeed_default */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetSpeed_failed */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetSpeed(IDirectFBVideoProvider *, double *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetSpeed_failed()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (multiplier) */ 
    double * _multiplier  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetSpeed(_thiz, _multiplier);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetSpeed_failed */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_SetSpeed_failed */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_SetSpeed(IDirectFBVideoProvider *, double) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SetSpeed_failed()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (multiplier) */ 
    double _multiplier  = -1.0;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_SetSpeed(_thiz, _multiplier);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_SetSpeed_failed */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_GetLength_failed */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_GetLength(IDirectFBVideoProvider *, double *) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_GetLength_failed()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (seconds) */ 
    double * _seconds  = 0 ;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_GetLength(_thiz, _seconds);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_GetLength_failed */

/* CPPTEST_TEST_CASE_BEGIN test__IDirectFBVideoProvider_GIF_SeekTo_failed */
/* CPPTEST_TEST_CASE_CONTEXT DFBResult _IDirectFBVideoProvider_GIF_SeekTo(IDirectFBVideoProvider *, double) */
void TestSuite_idirectfbvideoprovider_gif_c_test__IDirectFBVideoProvider_GIF_SeekTo_failed()
{
    /* Pre-condition initialization */
    /* Initializing argument 1 (thiz) */ 
    IDirectFBVideoProvider thiz;
    IDirectFBVideoProvider_GIF_data data;

    thiz.priv = &data;

    IDirectFBVideoProvider *_thiz = &thiz;
    IAny * this = (IAny*)_thiz;
    this->magic = 185931549 ;
    /* Initializing argument 2 (seconds) */ 
    double _seconds  = -1.0;
    {
        /* Tested function call */
        DFBResult _return  = _IDirectFBVideoProvider_GIF_SeekTo(_thiz, _seconds);
        /* Post-condition check */
        CPPTEST_ASSERT_EQUAL( DFB_INVARG, ( _return ) );
    }
}
/* CPPTEST_TEST_CASE_END test__IDirectFBVideoProvider_GIF_SeekTo_failed */
