2018-02-26 11:48:24 -08:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "elementary_config.h"
|
|
|
|
#endif
|
|
|
|
#include <check.h>
|
|
|
|
#define EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include <Efl_Ui.h>
|
|
|
|
#include "../efl_check.h"
|
2019-01-28 10:38:24 -08:00
|
|
|
#include "efl_ui_suite.h"
|
|
|
|
#include "suite_helpers.h"
|
2018-02-26 11:48:24 -08:00
|
|
|
|
|
|
|
static const Efl_Test_Case etc[] = {
|
2019-01-28 10:38:24 -08:00
|
|
|
//{ "elm_focus", elm_test_focus},
|
|
|
|
//{ "elm_focus_sub", elm_test_focus_sub},
|
|
|
|
//{ "elm_widget_focus", elm_test_widget_focus},
|
2019-01-28 11:03:26 -08:00
|
|
|
{ "efl_ui_atspi", efl_ui_test_atspi},
|
2019-01-28 10:38:24 -08:00
|
|
|
{ "efl_ui_grid", efl_ui_test_grid},
|
2019-01-28 11:38:38 -08:00
|
|
|
{ "efl_ui_image_zoomable", efl_ui_test_image_zoomable},
|
2018-02-26 11:48:24 -08:00
|
|
|
{ NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
int failed_count;
|
|
|
|
|
|
|
|
if (!_efl_test_option_disp(argc, argv, etc))
|
|
|
|
return 0;
|
|
|
|
|
2019-01-28 10:38:24 -08:00
|
|
|
failed_count = suite_setup(EINA_FALSE);
|
2018-02-26 11:48:24 -08:00
|
|
|
|
2019-01-28 10:38:24 -08:00
|
|
|
failed_count += _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
|
|
|
|
"Efl_Ui", etc, SUITE_INIT_FN(elm2), SUITE_SHUTDOWN_FN(elm));
|
2018-02-26 11:48:24 -08:00
|
|
|
|
|
|
|
return (failed_count == 0) ? 0 : 255;
|
|
|
|
}
|