2019-01-28 10:38:24 -08:00
|
|
|
#ifndef EFL_UI_SUITE_H
|
|
|
|
#define EFL_UI_SUITE_H
|
|
|
|
|
|
|
|
#include <check.h>
|
2019-01-11 17:59:31 -08:00
|
|
|
|
|
|
|
#define EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include <Efl_Ui.h>
|
2019-01-28 10:38:24 -08:00
|
|
|
#include "../efl_check.h"
|
2019-06-26 10:00:58 -07:00
|
|
|
#include "suite_helpers.h"
|
2019-01-11 17:59:31 -08:00
|
|
|
|
2019-01-28 10:38:24 -08:00
|
|
|
#define ck_assert_strn_eq(s1, s2, len) \
|
|
|
|
{ \
|
|
|
|
char expected[len+1], actual[len+1]; \
|
|
|
|
\
|
|
|
|
strncpy(expected, s1, len); \
|
|
|
|
expected[len] = '\0'; \
|
|
|
|
strncpy(actual, s2, len); \
|
|
|
|
actual[len] = '\0'; \
|
|
|
|
\
|
|
|
|
ck_assert_str_eq(expected, actual); \
|
|
|
|
}
|
|
|
|
|
2019-02-13 05:39:07 -08:00
|
|
|
void efl_ui_test_box(TCase *tc);
|
2019-03-08 05:22:08 -08:00
|
|
|
void efl_ui_test_box_flow(TCase *tc);
|
2019-03-20 07:28:45 -07:00
|
|
|
void efl_ui_test_box_stack(TCase *tc);
|
2019-02-27 11:45:34 -08:00
|
|
|
void efl_ui_test_table(TCase *tc);
|
2019-01-28 10:38:24 -08:00
|
|
|
void efl_ui_test_grid(TCase *tc);
|
2019-02-22 02:47:47 -08:00
|
|
|
void efl_ui_test_relative_layout(TCase *tc);
|
2019-01-28 11:03:26 -08:00
|
|
|
void efl_ui_test_atspi(TCase *tc);
|
2019-01-28 11:38:38 -08:00
|
|
|
void efl_ui_test_image_zoomable(TCase *tc);
|
2019-01-29 09:07:54 -08:00
|
|
|
void efl_ui_test_layout(TCase *tc);
|
2019-01-29 09:56:32 -08:00
|
|
|
void efl_ui_test_image(TCase *tc);
|
2019-04-03 06:26:50 -07:00
|
|
|
void efl_ui_test_callback(TCase *tc);
|
2019-01-29 10:50:40 -08:00
|
|
|
void efl_ui_test_focus(TCase *tc);
|
|
|
|
void efl_ui_test_focus_sub(TCase *tc);
|
2019-01-11 17:59:31 -08:00
|
|
|
void efl_ui_model(TCase *tc);
|
2019-02-27 10:29:08 -08:00
|
|
|
void efl_ui_test_widget(TCase *tc);
|
2019-07-04 16:02:43 -07:00
|
|
|
void efl_ui_test_spotlight(TCase *tc);
|
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
|
|
|
void efl_ui_test_check(TCase *tc);
|
2019-06-28 01:08:03 -07:00
|
|
|
void efl_ui_test_progressbar(TCase *tc);
|
2019-05-29 04:03:37 -07:00
|
|
|
void efl_ui_test_radio_group(TCase *tc);
|
2019-07-09 06:11:36 -07:00
|
|
|
void efl_ui_test_slider(TCase *tc);
|
2019-06-20 04:33:03 -07:00
|
|
|
void efl_ui_test_win(TCase *tc);
|
2019-07-05 05:11:23 -07:00
|
|
|
void efl_ui_test_spin(TCase *tc);
|
2019-07-07 09:14:13 -07:00
|
|
|
void efl_ui_test_spin_button(TCase *tc);
|
2019-06-29 07:19:08 -07:00
|
|
|
void efl_ui_test_item_container(TCase *tc);
|
|
|
|
void efl_ui_test_list_container(TCase *tc);
|
|
|
|
void efl_ui_test_grid_container(TCase *tc);
|
2019-07-22 10:00:45 -07:00
|
|
|
void efl_ui_test_config(TCase *tc);
|
2019-08-05 10:58:03 -07:00
|
|
|
void efl_ui_test_popup(TCase *tc);
|
2019-01-11 17:59:31 -08:00
|
|
|
|
2019-02-01 11:42:40 -08:00
|
|
|
void loop_timer_interval_set(Eo *obj, double in);
|
|
|
|
|
|
|
|
#define efl_loop_timer_interval_set loop_timer_interval_set
|
|
|
|
|
2019-04-28 03:28:55 -07:00
|
|
|
const Efl_Class* efl_ui_widget_realized_class_get(void);
|
|
|
|
#define WIDGET_CLASS efl_ui_widget_realized_class_get()
|
|
|
|
|
2019-01-28 10:38:24 -08:00
|
|
|
Eo *win_add();
|
|
|
|
Eo *win_add_focused();
|
|
|
|
#endif
|