efl/src/tests/ecore
Carsten Haitzler a57c7f7510 Revert command line array object because it's broken by design
Revert "ecore: get rid of commands in efl_task."
  This reverts commit 616381e9cf.
Revert "ecore: here comes a command line object"
  This reverts commit 48e5684b3c.

1. this is broken:

EOLIAN static const char*
_efl_core_command_line_command_get(const Eo *obj EINA_UNUSED, Efl_Core_Command_Line_Data *pd)
{
   return eina_strdup(pd->string_command);
}

it returns a const char * BUT it duplicates it on return. no. a big
fat honking NO. return a char * or don't duplicate. pick.

2. _efl_core_command_line_command_array_set() is broken by design. it
accepts an array of strings, but the strings are owned by the caller
who creates the array (requiring they free them up themselves after
this call) but the array becomes owned by the callee. the code here frees the
incoming array but doesn't care about the string content of it. it's
leak heaven waiting to happen (or bugs when someone wants to access
the array they create to walk it to free the strings they put into it
after it is set).

i brought this up and it was dismissed. now exactly he issue i brought
up is there with mixed ownership and the added complexity as well as
transfer of some ownership but not others.

go back and think about this so it isn't broken by design.
2019-02-12 19:54:35 +00:00
..
ecore_audio_out_test.eo ecore: make ecore_audio_out abstract 2019-01-26 11:42:12 +01:00
ecore_suite.c ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
ecore_suite.h ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
ecore_test_animator.c tests: reduce duration of ecore_test_animators 2018-04-10 11:28:01 +02:00
ecore_test_args.c tests: move to using checked fixtures for all test suites 2018-04-05 11:10:26 +02:00
ecore_test_ecore.c tests: split ecore poller tests into separate file 2018-04-10 11:28:01 +02:00
ecore_test_ecore_audio.c ecore: make ecore_audio_out abstract 2019-01-26 11:42:12 +01:00
ecore_test_ecore_evas.c tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
ecore_test_ecore_fb.c tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
ecore_test_ecore_file.c tests/ecore: check uid on ecore-file tests 2018-07-09 13:31:20 -04:00
ecore_test_ecore_imf.c tests: ignore ibus module in ecore-imf tests when DISPLAY is not set 2018-06-27 06:18:00 -04:00
ecore_test_ecore_input.c tests: remove "info" messages from ecore-drm/input tests 2018-04-10 11:28:01 +02:00
ecore_test_ecore_thread_eina_thread_queue.c docs: Fix typos in API reference doc and comments. 2018-08-31 17:45:31 +09:00
ecore_test_ecore_x.c tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
ecore_test_idle.c tests: split ecore idler tests into separate file 2018-04-10 11:28:01 +02:00
ecore_test_job.c tests: move to using checked fixtures for all test suites 2018-04-05 11:10:26 +02:00
ecore_test_pipe.c ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
ecore_test_poller.c tests: split ecore poller tests into separate file 2018-04-10 11:28:01 +02:00
ecore_test_timer.c ecore: fix that timers are not called in the order they were registered. 2018-08-02 09:14:15 -04:00
efl_app_suite.c Revert command line array object because it's broken by design 2019-02-12 19:54:35 +00:00
efl_app_suite.h Revert command line array object because it's broken by design 2019-02-12 19:54:35 +00:00
efl_app_test_env.c ecore: here comes a env object 2019-02-12 11:19:28 +01:00
efl_app_test_loop.c tests: improve efl loop test (concentric) 2019-02-04 14:11:48 -06:00
efl_app_test_loop_fd.c ecore: efl_app_suite doesn't need to depends on Efl_Net. 2018-12-07 12:45:39 +01:00
efl_app_test_loop_timer.c efl_app: introduce app_main for getting the app object 2018-12-20 12:56:54 +01:00
efl_app_test_promise.c efl: remove warning due to unused variable/parameters. 2019-01-09 14:54:54 -05:00
meson.build Revert command line array object because it's broken by design 2019-02-12 19:54:35 +00:00
sample.ogg ecore audio test - improve samples for ecore audio test 2016-05-18 02:02:45 +09:00
sample.wav ecore audio test - improve samples for ecore audio test 2016-05-18 02:02:45 +09:00