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/"
|
#define SOUNDS_DIR TESTS_SRC_DIR"/src/tests/ecore/"
|
||||||
|
|
||||||
Ecore_Audio_Object *out;
|
#if 0
|
||||||
Ecore_Audio_Object *in;
|
/* 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
|
Eina_Bool
|
||||||
seek(void *data)
|
seek(void *data)
|
||||||
|
@ -330,16 +337,17 @@ START_TEST(ecore_test_ecore_audio_custom)
|
||||||
ecore_audio_input_del(in);
|
ecore_audio_input_del(in);
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
#endif
|
||||||
|
|
||||||
START_TEST(ecore_test_ecore_audio_init)
|
START_TEST(ecore_test_ecore_audio_init)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = ecore_audio_init();
|
ret = ecore_audio_init();
|
||||||
fail_if(ret != 2);
|
ck_assert_int_eq(ret, 2);
|
||||||
|
|
||||||
ret = ecore_audio_shutdown();
|
ret = ecore_audio_shutdown();
|
||||||
fail_if(ret != 1);
|
ck_assert_int_eq(ret, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
@ -349,17 +357,20 @@ void setup(void)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = eina_init();
|
ret = eina_init();
|
||||||
|
ck_assert_int_ge(ret, 1);
|
||||||
|
|
||||||
ret = ecore_init();
|
ret = ecore_init();
|
||||||
|
ck_assert_int_ge(ret, 1);
|
||||||
|
|
||||||
ret = ecore_audio_init();
|
ret = ecore_audio_init();
|
||||||
|
ck_assert_int_eq(ret, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void teardown(void)
|
void teardown(void)
|
||||||
{
|
{
|
||||||
int ret;
|
ecore_audio_shutdown();
|
||||||
|
ecore_shutdown();
|
||||||
ret = ecore_audio_shutdown();
|
eina_shutdown();
|
||||||
ret = ecore_shutdown();
|
|
||||||
ret = eina_shutdown();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -369,11 +380,13 @@ ecore_test_ecore_audio(TCase *tc)
|
||||||
|
|
||||||
tcase_add_test(tc, ecore_test_ecore_audio_init);
|
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_default);
|
||||||
tcase_add_test(tc, ecore_test_ecore_audio_sndfile);
|
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_sndfile_vio);
|
||||||
tcase_add_test(tc, ecore_test_ecore_audio_custom);
|
tcase_add_test(tc, ecore_test_ecore_audio_custom);
|
||||||
|
|
||||||
tcase_add_test(tc, ecore_test_ecore_audio_cleanup);
|
tcase_add_test(tc, ecore_test_ecore_audio_cleanup);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue