Commit Graph

1896 Commits

Author SHA1 Message Date
Mike Blumenkrantz 7708154069 tests: remove explicit checks for eina mempool tests
Summary:
this was only a temporary measure
Depends on D5916

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5937
2018-04-16 12:24:35 +02:00
Mike Blumenkrantz 576570ce27 tests: flush stdout after printing test suite timing info
Summary:
avoid repeating lines

Depends on D5937

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5917
2018-04-16 12:24:35 +02:00
Mike Blumenkrantz 1885374ce5 tests: do not attempt to parallelize test suites with only 1 test case
Summary: Depends on D5911

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5916
2018-04-16 12:24:35 +02:00
Mike Blumenkrantz 224ff7c86a tests: fix iterator leak in evas mesh tests
Summary: Depends on D5911

Reviewers: stefan_schmidt

Reviewed By: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5912
2018-04-13 13:53:39 +02:00
Mike Blumenkrantz 5490db74a0 tests: remove sleep() calls from eo tests
Summary: fix T6854

Reviewers: stefan_schmidt

Reviewed By: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6854

Differential Revision: https://phab.enlightenment.org/D5910
2018-04-13 13:53:39 +02:00
Mike Blumenkrantz 00f8541d6d tests: split elm_test_init into separate test suite (inside elm_suite)
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-13 13:53:39 +02:00
Marcel Hollerbach 9d5a9cf2e1 efl_ui_focus_util: add helper for getting the highest manager objekt 2018-04-13 11:07:34 +02:00
Marcel Hollerbach e5001b2cf3 elm_suite: add test for request_move 2018-04-13 11:07:34 +02:00
Lauro Moura 65f868786a efl_mono: Proper support for @class methods.
Previously, class methods were implemented as regular instance methods.
This commits generates C# static methods for @class methods on the
*Concrete classes (and their childs).
2018-04-12 21:23:42 -03:00
Lauro Moura 15afb832e6 tests: Fix compilation when timing is disabled.
Reviewers: zmike, cedric

Reviewed By: zmike

Differential Revision: https://phab.enlightenment.org/D5919
2018-04-11 13:43:38 -03:00
Marcel Hollerbach ba7e4d2168 elm_suite: a new testcase for checking focus chains with redirects 2018-04-11 10:31:53 +02:00
Marcel Hollerbach ef3cce5730 elm_suite: fixup test suite
the testcase was only added, but not executed, my bad!
2018-04-10 14:27:44 +02:00
Mike Blumenkrantz 5bbe49ab99 tests: split ecore thread queue tests into 2 test cases
Summary:
enable running these tests in parallel

ref T6851
Depends on D5905

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

Differential Revision: https://phab.enlightenment.org/D5906
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 99f3f89f24 tests: split efl_app promise tests into separate test cases
Summary:
each test case can run in parallel, so this provides a ~300% speedup

ref T6850
Depends on D5904

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

Differential Revision: https://phab.enlightenment.org/D5905
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 43c420d3d0 tests: ensure eina/efl_object are initialized for all efl_app tests
Summary:
these aren't tested so don't init/shutdown for every test

ref T6850
Depends on D5903

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

Differential Revision: https://phab.enlightenment.org/D5904
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 5e806ee41f tests: move ecore promise tests into efl_app_suite
Summary:
ref T6815
Depends on D5902

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

Differential Revision: https://phab.enlightenment.org/D5903
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz b4da776b3b tests: add more timing info for per-file timing
Summary:
ref T6825
Depends on D5901

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6825

Differential Revision: https://phab.enlightenment.org/D5902
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 1bd52cc116 tests: split ecore poller tests into separate file
Summary:
ref T6850
Depends on D5900

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

Differential Revision: https://phab.enlightenment.org/D5901
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 88a6a3c769 tests: split ecore idler tests into separate file
Summary:
ref T6850
Depends on D5899

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

Differential Revision: https://phab.enlightenment.org/D5900
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 3b22dbc5af tests: move efl_loop_fd tests into efl_app_suite
Summary:
ref T6815
Depends on D5898

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

Differential Revision: https://phab.enlightenment.org/D5899
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz f83dfb2173 tests: break out simple timer failure test into separate test
Summary: Depends on D5897

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5898
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 3547297f80 tests: add fixtures for efl_app tests
Summary:
ref T6811
Depends on D5896

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6811

Differential Revision: https://phab.enlightenment.org/D5897
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz fab4c313f4 tests: move disabled efl loop timer test into efl_app_suite
Summary:
ref T6815
Depends on D5895

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

Differential Revision: https://phab.enlightenment.org/D5896
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz e02598cd4e tests: split efl_loop tests out of efl_app_suite.c
Summary: Depends on D5894

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5895
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz ab8237d36d tests: reduce duration of ecore_test_timers
Summary:
fix T6852
Depends on D5893

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

Differential Revision: https://phab.enlightenment.org/D5894
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 96da1551c5 tests: move ecore_test_ecore_main_loop_timer into timers test file
Summary: Depends on D5892

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5893
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 3858186376 tests: reduce duration of ecore_test_animators
Summary:
fix T6852
Depends on D5891

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

Differential Revision: https://phab.enlightenment.org/D5892
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 94d0aae906 tests: reduce duration of ecore_test_ecore_main_loop_timer test
Summary:
fix T6852
Depends on D5890

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

Differential Revision: https://phab.enlightenment.org/D5891
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz f810e0a3ba tests: improve ecore thread queue reliability
Summary:
* check inside thread callbacks whether thread has been canceled
* clean up (global) objects
* wait for threads to die before exiting each test

ref T6851
Depends on D5889

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

Differential Revision: https://phab.enlightenment.org/D5890
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 0ea6624e10 tests: remove "info" messages from ecore-drm/input tests
Summary: Depends on D5888

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5889
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz e5fc5f0263 tests: quiet useless printf spam from thread queue tests
Summary: Depends on D5886

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5887
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 59520a57cb tests: remove extra download in ecore_test_ecore_file_download
Summary:
this function is just a wrapper, avoid downloading the same file
multiple times

ref T6853
Depends on D5885

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6853

Differential Revision: https://phab.enlightenment.org/D5886
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz a04e7be83a tests: use different website for ecore_test_ecore_file_download
Summary:
while it may be the case that we do not control example.com, it is also
the case that loading anything from enlightenment.org takes 10+ seconds
longer (at minimum) than loading example.com

ref T6853
Depends on D5884

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6853

Differential Revision: https://phab.enlightenment.org/D5885
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz ed4c53b628 tests: use 0.05s as poller interval in ecore_test_ecore_main_loop_poller
Summary:
fix T6852
Depends on D5883

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

Differential Revision: https://phab.enlightenment.org/D5884
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz a995a0c0fe tests: split ecore_test_ecore_main_loop_poller_add_del into separate tests
Summary:
unit tests should verify only small pieces of functionality to ensure
that they are testing what they claim to be testing

fix T6852
Depends on D5882

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

Differential Revision: https://phab.enlightenment.org/D5883
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 853e2c43ca tests: remove random usleeps from ecore thread queue tests
Summary:
fix T6851
Depends on D5881

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

Differential Revision: https://phab.enlightenment.org/D5882
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz c45f134680 tests: enable some commented out eldbus tests
Summary:
these are able to run now that a dbus session is always launched
Depends on D5880

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5881
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 0998f1586f tests: remove timing info for eina mempool initializer
Summary:
this is buggy somehow and prints its info a few dozen times, likely
taking longer to print the info than to run the actual test
Depends on D5879

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5880
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 946c9757bb tests: add all xml files to gitignore
Summary: Depends on D5877

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5878
2018-04-10 11:28:01 +02:00
Mike Blumenkrantz 6879270b59 tests: parallelize most test suites
Summary:
check does not internally do any parallelizing and is impossible to use
with threads, so using fork appears to be the only viable option for
using more cpu without radically redesigning all existing tests

ref T6825
ref T6848

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6848, T6825

Differential Revision: https://phab.enlightenment.org/D5877
2018-04-10 11:28:01 +02:00
Stefan Schmidt 63a390ecbc tests: eldbus: mark unused parameter as such 2018-04-06 12:01:39 +02:00
Stefan Schmidt ea60b359a7 tests: ecore: remove no longer needed jenkins check function
After changes to the ecore_timer tests this function is no longer used
or needed. It can safely go.
2018-04-06 11:19:40 +02:00
Stefan Schmidt 7b4d9f5905 tests: elementary: remove unused variable
Looks like a copy and paste left over from another test.

../../../src/tests/elementary/elm_test_genlist.c:58:16: warning: unused variable ‘type’ [-Wunused-variable]
2018-04-06 10:35:44 +02:00
Cedric Bail 0ba3ffda8d ecore: and rename the test for Eina_Future to be the only promise test. 2018-04-05 13:18:24 -07:00
Cedric Bail 8563e3780e ecore: remove tests of old Efl_Future based on Eo. 2018-04-05 13:17:32 -07:00
Mike Blumenkrantz 81d97eb45a tests: ck_assert_ptr_null -> ck_assert_ptr_eq 2018-04-05 14:04:21 -04:00
Mike Blumenkrantz 681cfc9177 tests: ck_assert_ptr_null -> ck_assert_ptr_ne 2018-04-05 13:43:54 -04:00
Mike Blumenkrantz 978901903d tests: move bindings tests to using checked fixtures too.
T6862
T6811

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-04-05 10:19:57 -07:00
Mike Blumenkrantz 71f76c65cf tests: add test for check < 0.11 to enable timing info 2018-04-05 12:25:16 -04:00
Mike Blumenkrantz ab37ca4d7b tests: increase step sizes for eina_fp_div and eina_fp_mul tests
fix T6841

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-05 11:10:32 +02:00