2018-02-26 11:48:24 -08:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "elementary_config.h"
|
|
|
|
#endif
|
2019-01-11 17:59:31 -08:00
|
|
|
|
2019-01-28 10:38:24 -08:00
|
|
|
#include "efl_ui_suite.h"
|
|
|
|
#include "suite_helpers.h"
|
2019-04-28 03:28:55 -07:00
|
|
|
#include "eo_internal.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-04-03 06:26:50 -07:00
|
|
|
{ "efl_ui_callback", efl_ui_test_callback},
|
2019-01-29 10:50:40 -08:00
|
|
|
{ "efl_ui_focus", efl_ui_test_focus},
|
|
|
|
{ "efl_ui_focus_sub", efl_ui_test_focus_sub},
|
2019-02-13 05:39:07 -08:00
|
|
|
{ "efl_ui_box", efl_ui_test_box},
|
2019-03-08 05:22:08 -08:00
|
|
|
{ "efl_ui_box_flow", efl_ui_test_box_flow},
|
2019-03-20 07:28:45 -07:00
|
|
|
{ "efl_ui_box_stack", efl_ui_test_box_stack},
|
2019-02-27 11:45:34 -08:00
|
|
|
{ "efl_ui_table", efl_ui_test_table},
|
2019-01-28 10:38:24 -08:00
|
|
|
{ "efl_ui_grid", efl_ui_test_grid},
|
2019-02-22 02:47:47 -08:00
|
|
|
{ "efl_ui_relative_layout", efl_ui_test_relative_layout},
|
2019-01-29 09:56:32 -08:00
|
|
|
{ "efl_ui_image", efl_ui_test_image},
|
2019-01-28 11:38:38 -08:00
|
|
|
{ "efl_ui_image_zoomable", efl_ui_test_image_zoomable},
|
2019-01-29 09:07:54 -08:00
|
|
|
{ "efl_ui_layout", efl_ui_test_layout},
|
2019-01-11 17:59:31 -08:00
|
|
|
{ "Efl_Ui_Model", efl_ui_model },
|
2019-02-27 10:29:08 -08:00
|
|
|
{ "efl_ui_widget", efl_ui_test_widget },
|
2019-04-28 03:28:55 -07:00
|
|
|
{ "efl_ui_active_view", efl_ui_test_active_view},
|
efl_ui_check: make it undependend of nstate
Summary:
check can only display 2 states, and is only designed to do so.
Additionally, nstate inherits from button, which
brings in autorepeat, which is hileriously broken on check and cannot
really work.
Right now there is not even support in the theme for clickable. So its a
good idea to get rid of this for now IMO.
ref T7865
Reviewers: stefan_schmidt, zmike, segfaultxavi, akanad, YOhoho
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7865, T7867
Differential Revision: https://phab.enlightenment.org/D9018
2019-06-13 06:21:38 -07:00
|
|
|
{ "efl_ui_check", efl_ui_test_check },
|
2019-05-29 04:03:37 -07:00
|
|
|
{ "efl_ui_radio_group", efl_ui_test_radio_group },
|
2019-06-20 04:33:03 -07:00
|
|
|
{ "efl_ui_win", efl_ui_test_win },
|
2018-02-26 11:48:24 -08:00
|
|
|
{ NULL, NULL }
|
|
|
|
};
|
|
|
|
|
2019-04-28 03:28:55 -07:00
|
|
|
EFL_CLASS_SIMPLE_CLASS(efl_ui_widget, "efl_ui_widget", EFL_UI_WIDGET_CLASS);
|
|
|
|
|
2018-02-26 11:48:24 -08:00
|
|
|
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;
|
|
|
|
}
|