summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_suite.c (follow)
AgeCommit message (Collapse)Author
2019-10-02elm: add basics test to create a destroy *every* widget with errorsMarcel Hollerbach
Summary: this simply creates packs, resizes, and destroys every single widget that we have in legacy elm. This i made to ensure that there are no mistakes in the construction chain. Additionally, a second test case checks that creation with none elm parents is erroring but not failing, this seems weird, but we have provided that in the past, so we should continue providing this. Reviewers: zmike, segfaultxavi Reviewed By: zmike, segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10088
2019-09-25Revert "elm: add basics test to create a destroy *every* widget with errors"Marcel Hollerbach
This reverts commit 10cdb070180e0f1e62d5b8e5d5164a19fbc51548. this does not pass on ci ... o.O
2019-09-25elm: add basics test to create a destroy *every* widget with errorsMarcel Hollerbach
this simply creates packs, resizes, and destroys every single widget that we have in legacy elm. This i made to ensure that there are no mistakes in the construction chain. Additionally, a second test case checks that creation with none elm parents is erroring but not failing, this seems weird, but we have provided that in the past, so we should continue providing this. Differential Revision: https://phab.enlightenment.org/D10088
2019-07-10tests/elm: fail tests if unexpected warnings or errors occurMike Blumenkrantz
Summary: warnings and errors should never occur in unit tests unless they are intentionally triggered. this will help catch regressions Depends on D9256 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9257
2019-01-30tests: move efl_ui focus tests into efl_ui_suiteMike Blumenkrantz
ref T6815 Differential Revision: https://phab.enlightenment.org/D7827
2019-01-30tests: modify efl_ui_suite to use same test infrastructure as elm_suiteMike Blumenkrantz
this should enable us to begin moving efl_ui tests into the proper suite instead of sticking them all into elm_suite also move grid tests to efl_ui_suite Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7765
2018-11-20elm-test: simulate focus on the windowMarcel Hollerbach
we cannot rely on the compositor to actaully get focus. However, a few widgets are only doing focus operations if they can get focus, if not they do nothing. Which effectifility turns off every focus operation if you don't have compositor focus. In order to work arround this, we are getting the ee, NULL out the callbacks, so the window does not know about the the *real* compositor focus, after that we manully say that the root object has focus, so normal operations can be performed again. Differential Revision: https://phab.enlightenment.org/D7311
2018-11-20elm-test: add a test for checking the event handlingMarcel Hollerbach
This tests creates a giant box with widgets in them. Each widget that is tested is added to the box, focus is moved into it, and away from it, the corresponding events are then checked. Differential Revision: https://phab.enlightenment.org/D7233
2018-11-20efl_ui_grid : introduce new packable grid widget for Efl.Ui.WidgetSangHyeon Jade Lee
Summary: Introduce new packable grid for Efl.Ui.Widget toolkits. most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear, although it will not support Efl.Pack_Table, because item must be arranged sequential orders. Test Plan: We will make the tests on efl ui test suite. please test by make check. Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun Reviewed By: Hermet, eagleeye Subscribers: CHAN, bu5hm4n, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D6985
2018-09-13tests/elm: use custom tick source for animator eventsMike Blumenkrantz
ensure that animator ticks are occurring at the same time as render dumping in order to further speed up tests Differential Revision: https://phab.enlightenment.org/D6766
2018-08-27tests/elm: further reduce buffer render intervalMike Blumenkrantz
Summary: this further increases the speed at which some tests perform Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric Tags: #do_not_merge Differential Revision: https://phab.enlightenment.org/D6765
2018-08-06tests/elm: when using buffer engine, clamp render and edje timing to 0.05sMike Blumenkrantz
Summary: this sets manual render on buffer engine windows and dumps the render at every interval in order to avoid doing any real rendering or animating or having to wait on some irrelevant timing. tests using buffer engine just want to complete as fast as possible, as they are never being displayed anywhere, so just perform canvas operations (recalcs mostly) and BAIL Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D6749
2018-04-27tests: disable ecore system modules in elm_suiteMike Blumenkrantz
Summary: ref T6864 Depends on D5967 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5968
2018-04-27tests: disable efreetd for elm testsMike Blumenkrantz
Summary: this is especially problematic for elm tests as the fork reset callback in efreet will cause a huge number of server connections to be created ref T6864 Depends on D5966 Reviewers: stefan_schmidt Reviewed By: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5967
2018-04-27tests: use a global win object in fork mode when using buffer engineMike Blumenkrantz
Summary: this avoids the creation of a new win object for each test ref T6864 Reviewers: stefan_schmidt, cedric Reviewed By: cedric Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5965
2018-04-18tests: preload elm csd theme in elm_suite startupMike Blumenkrantz
Summary: ref T6864 Depends on D5958 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5959
2018-04-18tests: skip second ecore_shutdown call in elm_suite when forkingMike Blumenkrantz
Summary: init is only called here to verify the refcount, shutdown is only necessary when not forking in order to preserve the environment ref T6864 Reviewers: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5958
2018-04-17tests: preload elm_init and default theme groups in elm_suiteMike Blumenkrantz
Summary: opening the default theme file can take up to 0.2s in worst case during a test ref T6864 Depends on D5914 Reviewers: stefan_schmidt Reviewed By: stefan_schmidt Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5915
2018-04-13tests: split elm_test_init into separate test suite (inside elm_suite)Mike Blumenkrantz
Summary: check whether init+shutdown work explicitly before proceeding to other tests Depends on D5913 Reviewers: stefan_schmidt Reviewed By: stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5914
2018-04-05tests: move to using checked fixtures for all test suitesMike Blumenkrantz
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-03-13tests: disable elm glview tests when running in buffer engineCedric BAIL
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-03-13tests: use buffer engine for elm_suite if engine is not specifiedCedric BAIL
this should add some consistency to tests Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-02-17elementary: listen to EFL_RUN_IN_TREE instead of ELM_RUN_IN_TREEMarcel Hollerbach
so its unified and easier to handle
2017-04-20efl_ui: introduce a focus manager and sub manager objectMarcel Hollerbach
The Efl.Ui.Focus.Manager abstracts the creation of a localization graph and a logical tree. The localization graph is used to find a object right left up or down of a given object. The logical tree is used to iterate throuw the containers which are used to build a ui. Those managers can be used bound to some layer in the ui, so for example the window is a layer, the content of a scroller is a layer. With those layers, we can make sure that movements of a scroller for example just means that this graph of objects in the scroller needs to be recalculated, and not the complete ui. The advantage of having this to layer bound datastructures is that you can easily debug those graphs, since the complete layer of this managerobject can be calculated completly.
2017-02-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2017-01-20elm_code: Add initial simple syntax highlighting for C codeAndy Williams
For c source and headers lookup a simple syntax definition. Use a very simple text processing line by line to tokenise. Simple but it gets us one step closer to cross-language syntax
2016-11-28tests: Update for elm_code indent changesAndy Williams
2016-06-24efl: Introduce general Efl.Config APIJean-Philippe Andre
This is to port elm_config to EO APIs. The current implementation relies on the legacy API, by simply forwarding calls. The new API is simply efl_config_set("config_name", value) where value is an Eina_Value (aka. generic_value). The C interface proposes a few helpers like config_int_set, config_double_set, etc... Unfortunately at the moment, not all config options are supported, as some rely on more complex types: - lists - color class and multiple arguments - unset functions - enums Profiles are also not handled at this point. @feature
2016-06-02elementary: merging in elm_code widget.Cedric BAIL
Theme is not there as it should be manually merged into the elementary default theme.
2016-04-15Elementary tests: Migrate the suite to the efl test infra.Tom Hacohen
2016-03-23elementary: move all legacy files to their expected new location.Cedric BAIL