forked from enlightenment/efl
ecore_suite: disable audio tests that will be fixed by asdfuser
SVN revision: 82892
This commit is contained in:
parent
ad1417713b
commit
0f21b187b0
|
@ -16,8 +16,15 @@
|
|||
|
||||
#define SOUNDS_DIR TESTS_SRC_DIR"/src/tests/ecore/"
|
||||
|
||||
Ecore_Audio_Object *out;
|
||||
Ecore_Audio_Object *in;
|
||||
#if 0
|
||||
/* TODO: must fix these tests to produce no warnings and to be
|
||||
* passing on all platforms that support them.
|
||||
*
|
||||
* It would be nice if timers are not used so it doesn't take an
|
||||
* eternity to run ecore_suite. :-)
|
||||
*/
|
||||
static Ecore_Audio_Object *out;
|
||||
static Ecore_Audio_Object *in;
|
||||
|
||||
Eina_Bool
|
||||
seek(void *data)
|
||||
|
@ -330,16 +337,17 @@ START_TEST(ecore_test_ecore_audio_custom)
|
|||
ecore_audio_input_del(in);
|
||||
}
|
||||
END_TEST
|
||||
#endif
|
||||
|
||||
START_TEST(ecore_test_ecore_audio_init)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = ecore_audio_init();
|
||||
fail_if(ret != 2);
|
||||
ck_assert_int_eq(ret, 2);
|
||||
|
||||
ret = ecore_audio_shutdown();
|
||||
fail_if(ret != 1);
|
||||
ck_assert_int_eq(ret, 1);
|
||||
|
||||
}
|
||||
END_TEST
|
||||
|
@ -349,17 +357,20 @@ void setup(void)
|
|||
int ret;
|
||||
|
||||
ret = eina_init();
|
||||
ck_assert_int_ge(ret, 1);
|
||||
|
||||
ret = ecore_init();
|
||||
ck_assert_int_ge(ret, 1);
|
||||
|
||||
ret = ecore_audio_init();
|
||||
ck_assert_int_eq(ret, 1);
|
||||
}
|
||||
|
||||
void teardown(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = ecore_audio_shutdown();
|
||||
ret = ecore_shutdown();
|
||||
ret = eina_shutdown();
|
||||
ecore_audio_shutdown();
|
||||
ecore_shutdown();
|
||||
eina_shutdown();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -369,11 +380,13 @@ ecore_test_ecore_audio(TCase *tc)
|
|||
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_init);
|
||||
|
||||
#if 0
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_default);
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_sndfile);
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_sndfile_vio);
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_custom);
|
||||
|
||||
tcase_add_test(tc, ecore_test_ecore_audio_cleanup);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue