2018-08-12 06:26:29 -07:00
|
|
|
priv_eo_files = [
|
|
|
|
'focus_test.eo',
|
2019-05-28 09:01:50 -07:00
|
|
|
'focus_test_sub_main.eo',
|
|
|
|
'focus_manager_test.eo'
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
priv_eo_file_target = []
|
|
|
|
foreach eo_file : priv_eo_files
|
|
|
|
priv_eo_file_target += custom_target('eolian_gen_' + eo_file,
|
|
|
|
input : eo_file,
|
|
|
|
output : [eo_file + '.h'],
|
2018-10-21 06:55:51 -07:00
|
|
|
depfile : eo_file + '.d',
|
2018-12-03 09:49:47 -08:00
|
|
|
command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
|
2018-08-12 06:26:29 -07:00
|
|
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
|
|
|
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
|
2018-10-21 06:55:51 -07:00
|
|
|
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
|
|
|
|
'-gchd', '@INPUT@'])
|
2018-08-12 06:26:29 -07:00
|
|
|
endforeach
|
|
|
|
|
|
|
|
|
|
|
|
elementary_suite_src = [
|
|
|
|
'elm_suite.c',
|
2019-03-08 05:57:46 -08:00
|
|
|
'elm_suite_build.c',
|
2019-01-28 10:38:24 -08:00
|
|
|
'suite_helpers.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'elm_test_atspi.c',
|
|
|
|
'elm_test_check.c',
|
|
|
|
'elm_test_colorselector.c',
|
|
|
|
'elm_test_entry.c',
|
|
|
|
'elm_test_init.c',
|
|
|
|
'elm_test_list.c',
|
|
|
|
'elm_test_button.c',
|
|
|
|
'elm_test_image.c',
|
|
|
|
'elm_test_photo.c',
|
|
|
|
'elm_test_actionslider.c',
|
|
|
|
'elm_test_box.c',
|
|
|
|
'elm_test_table.c',
|
|
|
|
'elm_test_thumb.c',
|
|
|
|
'elm_test_menu.c',
|
|
|
|
'elm_test_photocam.c',
|
|
|
|
'elm_test_win.c',
|
|
|
|
'elm_test_icon.c',
|
|
|
|
'elm_test_prefs.c',
|
|
|
|
'elm_test_map.c',
|
|
|
|
'elm_test_glview.c',
|
|
|
|
'elm_test_web.c',
|
|
|
|
'elm_test_toolbar.c',
|
|
|
|
'elm_test_grid.c',
|
|
|
|
'elm_test_diskselector.c',
|
|
|
|
'elm_test_notify.c',
|
|
|
|
'elm_test_mapbuf.c',
|
|
|
|
'elm_test_flip.c',
|
|
|
|
'elm_test_layout.c',
|
|
|
|
'elm_test_slider.c',
|
|
|
|
'elm_test_ctxpopup.c',
|
|
|
|
'elm_test_separator.c',
|
|
|
|
'elm_test_calendar.c',
|
|
|
|
'elm_test_inwin.c',
|
|
|
|
'elm_test_gengrid.c',
|
|
|
|
'elm_test_radio.c',
|
|
|
|
'elm_test_scroller.c',
|
|
|
|
'elm_test_frame.c',
|
|
|
|
'elm_test_datetime.c',
|
|
|
|
'elm_test_player.c',
|
|
|
|
'elm_test_bg.c',
|
|
|
|
'elm_test_video.c',
|
|
|
|
'elm_test_segmentcontrol.c',
|
|
|
|
'elm_test_progressbar.c',
|
|
|
|
'elm_test_fileselector.c',
|
|
|
|
'elm_test_fileselector_button.c',
|
|
|
|
'elm_test_fileselector_entry.c',
|
|
|
|
'elm_test_hoversel.c',
|
|
|
|
'elm_test_multibuttonentry.c',
|
|
|
|
'elm_test_naviframe.c',
|
|
|
|
'elm_test_popup.c',
|
|
|
|
'elm_test_bubble.c',
|
|
|
|
'elm_test_clock.c',
|
|
|
|
'elm_test_conformant.c',
|
|
|
|
'elm_test_dayselector.c',
|
|
|
|
'elm_test_flipselector.c',
|
|
|
|
'elm_test_genlist.c',
|
|
|
|
'elm_test_hover.c',
|
|
|
|
'elm_test_index.c',
|
|
|
|
'elm_test_label.c',
|
|
|
|
'elm_test_panel.c',
|
|
|
|
'elm_test_panes.c',
|
|
|
|
'elm_test_slideshow.c',
|
|
|
|
'elm_test_spinner.c',
|
|
|
|
'elm_test_plug.c',
|
|
|
|
'elm_test_config.c',
|
|
|
|
'elm_code_file_test_load.c',
|
|
|
|
'elm_code_file_test_memory.c',
|
|
|
|
'elm_code_test_basic.c',
|
|
|
|
'elm_code_test_line.c',
|
|
|
|
'elm_code_test_parse.c',
|
|
|
|
'elm_code_test_syntax.c',
|
|
|
|
'elm_code_test_text.c',
|
|
|
|
'elm_code_test_indent.c',
|
|
|
|
'elm_code_test_widget.c',
|
|
|
|
'elm_code_test_widget_text.c',
|
|
|
|
'elm_code_test_widget_selection.c',
|
|
|
|
'elm_code_test_widget_undo.c',
|
2018-11-01 18:18:44 -07:00
|
|
|
'elm_test_widget_focus.c'
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
elementary_suite = executable('elementary_suite',
|
2019-01-29 10:50:40 -08:00
|
|
|
elementary_suite_src,
|
2018-08-12 06:26:29 -07:00
|
|
|
dependencies: [check, eina, elementary, elementary_deps],
|
|
|
|
include_directories : [config_dir] + [elementary_config_dir],
|
|
|
|
c_args : [
|
|
|
|
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
|
|
|
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"',
|
|
|
|
'-DELM_IMAGE_DATA_DIR="'+join_paths(meson.source_root(), 'data', 'elementary')+'"',
|
|
|
|
'-DELM_TEST_DATA_DIR="'+join_paths(meson.build_root(), 'data', 'elementary')+'"',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2019-01-29 06:26:51 -08:00
|
|
|
efl_ui_suite_src = [
|
|
|
|
'efl_ui_suite.c',
|
2019-03-08 05:57:19 -08:00
|
|
|
'efl_ui_build.c',
|
2019-01-28 10:38:24 -08:00
|
|
|
'suite_helpers.c',
|
2019-01-11 17:59:31 -08:00
|
|
|
'suite_helpers.h',
|
2019-01-28 10:38:24 -08:00
|
|
|
'elm_test_init.c',
|
2019-06-20 04:33:03 -07:00
|
|
|
'efl_ui_test_win.c',
|
2019-01-28 11:03:26 -08:00
|
|
|
'efl_ui_test_atspi.c',
|
2019-04-03 06:26:50 -07:00
|
|
|
'efl_ui_test_callback.c',
|
2019-01-29 10:50:40 -08:00
|
|
|
'efl_ui_test_focus_common.c',
|
|
|
|
'efl_ui_test_focus_common.h',
|
|
|
|
'efl_ui_test_focus.c',
|
|
|
|
'efl_ui_test_focus_sub.c',
|
2019-02-13 05:39:07 -08:00
|
|
|
'efl_ui_test_box.c',
|
2019-03-08 05:22:08 -08:00
|
|
|
'efl_ui_test_box_flow.c',
|
2019-03-20 07:28:45 -07:00
|
|
|
'efl_ui_test_box_stack.c',
|
2019-02-27 11:45:34 -08:00
|
|
|
'efl_ui_test_table.c',
|
2019-01-28 10:38:24 -08:00
|
|
|
'efl_ui_test_grid.c',
|
2019-02-22 02:47:47 -08:00
|
|
|
'efl_ui_test_relative_layout.c',
|
2019-01-29 09:56:32 -08:00
|
|
|
'efl_ui_test_image.c',
|
2019-01-28 11:38:38 -08:00
|
|
|
'efl_ui_test_image_zoomable.c',
|
2019-01-29 09:07:54 -08:00
|
|
|
'efl_ui_test_layout.c',
|
2019-01-11 17:59:31 -08:00
|
|
|
'efl_ui_suite.h',
|
|
|
|
'efl_ui_model.c',
|
2019-02-27 10:29:08 -08:00
|
|
|
'efl_ui_test_widget.c',
|
2019-04-28 03:28:55 -07:00
|
|
|
'efl_ui_test_active_view.c',
|
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_test_check.c',
|
2019-05-29 04:03:37 -07:00
|
|
|
'efl_ui_test_radio_group.c',
|
2019-01-29 06:26:51 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
efl_ui_suite = executable('efl_ui_suite',
|
|
|
|
efl_ui_suite_src, priv_eo_file_target,
|
|
|
|
dependencies: [check, eina, elementary, elementary_deps],
|
|
|
|
include_directories : [config_dir] + [elementary_config_dir],
|
|
|
|
c_args : [
|
|
|
|
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
|
|
|
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"',
|
|
|
|
'-DELM_IMAGE_DATA_DIR="'+join_paths(meson.source_root(), 'data', 'elementary')+'"',
|
|
|
|
'-DELM_TEST_DATA_DIR="'+join_paths(meson.build_root(), 'data', 'elementary')+'"',
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2019-03-14 11:26:34 -07:00
|
|
|
efl_ui_compile_test = executable('efl_ui_compile_test',
|
|
|
|
'efl_ui_compile_test.c',
|
|
|
|
dependencies: [elementary, eio],
|
|
|
|
)
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
test('elementary-suite', elementary_suite,
|
|
|
|
env : test_env
|
|
|
|
)
|
|
|
|
|
2019-01-29 06:26:51 -08:00
|
|
|
test('efl-ui-suite', efl_ui_suite,
|
|
|
|
env : test_env
|
|
|
|
)
|
2018-08-12 06:26:29 -07:00
|
|
|
|
|
|
|
install_data(files(['testdiff.diff', 'testfile-windows.txt', 'testfile-withblanks.txt', 'testfile.txt']),
|
|
|
|
install_dir : join_paths(dir_data, 'elementary')
|
|
|
|
)
|
2019-03-29 00:14:05 -07:00
|
|
|
subdir('spec')
|