Example #1
0
File: dvb.c Project: Limsik/e17
static void
dvb_obj_channels_cb(void *data, Evas_Object *obj, void *event_info)
{
   printf("channels changed: [AUD %i][VID %i][SPU %i]\n",
	  emotion_object_audio_channel_count(obj),
	  emotion_object_video_channel_count(obj),
	  emotion_object_spu_channel_count(obj));
}
static void utc_emotion_object_video_channel_count_null(void)
{
	signal(SIGSEGV, sigprocess);
	
    emotion_object_video_channel_count(NULL);

	tet_printf("[TET_PASS]:: %s[%d] : Test has passed..", __FILE__, __LINE__);
	tet_result(TET_PASS);
}
static void utc_emotion_object_video_channel_count_p(void)
{
    Evas_Object *object = init();
    int count = emotion_object_video_channel_count(object);

	if (1 != count) {
		tet_printf("[TET_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
		tet_result(TET_FAIL);
		return;
	}
	tet_printf("[TET_PASS]:: %s[%d] : Test has passed..", __FILE__, __LINE__);
	tet_result(TET_PASS);
}