path: root/src/tests (follow)
AgeCommit message (Collapse)Author
2016-05-25eio: Call correct function to cleanup Eio_File.Lauro Moura
The Eio functions operating on Eina_Files were just freeing the Eio_File pointer on completion instead of calling eio_file_free to unregister the thread.
2016-05-24Edje: Test proxy objects moreJean-Philippe Andre
This tests that a cached object is not reused invalidly if it was ref'ed.
2016-05-24Edje: fix test case (switch to efl_part)Jean-Philippe Andre
2016-05-24ecore-con tests - remove WRONG connect checkCarsten Haitzler (Rasterman)
sothe ecore-con tests were calling ecore_con_server_connected_get() every time a server was created on a NUL server object. WTF? this is pointless. testing if an api returns tre on being connected on an invalid object? all it does is create lots of eo noise. remove so we can see the real errors in the output. @fix
2016-05-23eolian-cxx: Fix generation of complex types in C++ bindingFelipe Magno de Almeida
Fixed generation of complex types in C++ binding, with tests. This problem came after the removal of the pointer types for top-level complex types.
2016-05-23eolian-cxx: Add test for list and array complex typesFelipe Magno de Almeida
2016-05-23eolian: Allow promises to have a second typeFelipe Magno de Almeida
Promises can have a second type, which is the progress type
2016-05-23c++: Reorganized C++ binding generationFelipe Magno de Almeida
Moved all generation to a single file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
2016-05-23eolian: remove pointers from complex and class typesDaniel Kolesa
Complex types (i.e. list, array, hash, accessor etc.) now do not require pointers with them anymore (the pointer is implied) and the same goes for class handles. Eolian now explicitly disallows creating pointers to these as well. This is the first part of the work to remove pointers from Eolian completely, with the goal of simplifying the DSL (higher level) and therefore making it easier for bindings (as well as easier API usage). @feature
2016-05-21Efreet test: fix warning on WindowsVincent Torri
Summary: comp.h is redefining some macros on Windows. So just rename all the macros with the TANGO prefix Test Plan: compilatioN Reviewers: cedric, jpeg, zmike Differential Revision:
2016-05-20Eo: Fix compilation for people using GCC.Tom Hacohen
Apparently you can't cast when initializing static consts, even if the cast is to the same type. This commit splits the macro used so we have an additional one that casts and thus works with eo_override().
2016-05-20Eo tests: Fix compilation warnings with eoid disabled.Tom Hacohen
2016-05-20Eo: Implement eo_override() to enable overriding functions of objects.Tom Hacohen
This change lets you override the functions of objects so that those functions will be called instead of the functions of the class. This lets you change objects on the fly and makes using the delegate pattern easier (no need to create a class every time anymore). You can see the newly added tests (in this commit) for usage examples. @feature
2016-05-20Eo: Improve error message when overriding functions.Tom Hacohen
2016-05-20Eo: Reorganise the vtable in classes and add pointer from objects.Tom Hacohen
This is the first step towards supporting eo_override(). More details about eo_override() to follow.
2016-05-20Eo: Remove useless test.Tom Hacohen
We no longer have a call stack, so there's no need to have this test.
2016-05-20ecore: promise for timeout and job are clearly never optional, so return them.Cedric Bail
2016-05-18ignores: eo_suite_add_fallbackJean Guyomarc'h
2016-05-18efl: fix misleading indentationJean Guyomarc'h
GCC's -Wmisleading-indentation is complaining... It is a warning flag introduced in GCC 6.x, and is enabled by -Wall.
2016-05-18js fixesFelipe Magno de Almeida
2016-05-18eo: for consistency use object like all our API.Cedric Bail
2016-05-18Eo: Fix singleton pattern and add a test to make sure it works.Tom Hacohen
2016-05-18eo: fix borked test.Cedric Bail
2016-05-18eina test suite vector - make correctness range 2x as bigCarsten Haitzler (Rasterman)
make correctness rand 2 * DBL_EPSILON due to compilers, fastmath and being a little inaccurate sometimes at the bottom end of precision. @fix
2016-05-18ecore audio test - improve samples for ecore audio testCarsten Haitzler (Rasterman)
2016-05-18efl - key/data/value/obj attach to eo objects - make these propertiesCarsten Haitzler (Rasterman)
the key data now is a property so they come out in bindings really nicely like: obj.key_data["blah"] = x; x = obj.key_data["blah"]; etc.
2016-05-17eolian: add event_prefix and have classes follow that or eo_prefix by defaultDaniel Kolesa
Previously events used to use class name as a prefix and ignored eo_prefix when specified. This is no longer the case. Events follow eo_prefix by default now. In order to get around this for classes where this is undesirable, a new field event_prefix was added which takes priority over eo_prefix. If neither is specified, class name is used like previously. @feature
2016-05-17Eo: Remove eo_del() and make eo_unref() the replacement.Tom Hacohen
We used to have eo_del() as the mirrored action to eo_add(). No longer, now you just always eo_unref() to delete an object. This change makes it so the reference of the parent is shared with the reference the programmer has. So eo_parent_set(obj, NULL) can free an object, and so does eo_unref() (even if there is a parent). This means Eo no longer complains if you have a parent during deletion.
2016-05-17Eo name: Rename to Hacohen
This is there to reduce confusion with Eo_Id and also the name is just better.
2016-05-15ecore: make timeout test that the timeout does happen at least after it is ↵Cedric Bail
supposed to. The test had to been relaxed to allow the server to be overloaded !
2016-05-12Efl: Remove "legacy_prefix: null;" as it's now the default.Tom Hacohen
2016-05-12eolian: do not generate legacy without explicit class legacy_prefixDaniel Kolesa
2016-05-12eolian: mark pure virtual funcs outside of implementsDaniel Kolesa
This is a better syntax and should've been like this in the first place.
2016-05-12Eo abstract class: Rename to Eo.Class.Tom Hacohen
2016-05-11tests: eio: make sure we cleanup eio_test_xattr_set correctlyStefan Schmidt
We missed tmpstr_del and shutting down eina here. This test segfaults from time to time on Jenkins. Not sure this was the actual cause but better clean it up anyway.
2016-05-10eet: add a helper to setup hash with generic value storageJee-Yong Um
Summary: add a macro to setup eet_data_descriptor for hash with generic value storage. Test Plan: make check (test case is included in eet test suite) Reviewers: cedric, raster Subscribers: jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-05-10Efl model: Remove the no longer needed .Base hack.Tom Hacohen
2016-05-09eina: Add eina_promise_race composition functionFelipe Magno de Almeida
Added eina_promise_race function that composes multiple promise objects into a new promise which is fulfilled when one of the promises are fulfilled, or fails when one of the promises have failed.
2016-05-09Edje: Fix test case to show proper use of part APIsJean-Philippe Andre
The one and only valid use case is calling a function directly on the part handle, like: func(part_get(obj, "part"), args). This does not change the actual proxy object lifecycle or resolve any potential issues, but this should clear up things in terms of scope for proper (supported) use. efl_content_get may become efl_part() and return a temporary object, valid for a single function call. Those are "details" still to be refined.
2016-05-07eina: Fix memory leaks in promiseFelipe Magno de Almeida
2016-05-06ecore: add tests case for Efl.Loop.Fd.Cedric BAIL
2016-05-06eina: Add progress notify callback feature for Promise OwnersFelipe Magno de Almeida
Add a way for users of the promise owner to get notified when a promise progress is registered. Also added a convenience composition function that creates a promise which is fulfilled when another promise has a progress notification.
2016-05-05Eo composite: change composite objects to not be tied to parentTom Hacohen
This commit breaks behaviour! Re-parenting no longer detaches composite objects, so watch out. Now you can have an object be a composite object of an object although it's not its child. This allows widgets to do things like having an object as the child of a child object while still making it a composite object to the main object. With this change, composite objects don't keep a reference to the child, but instead composite "bonds" are implicitly removed when either the parent or the child are destructed.
2016-05-04eolian-cxx: Added test for the removal of the .Base class requirementFelipe Magno de Almeida
Test creates class with the same name as the namespace of another class
2016-05-04ecore: add timeout promise test.Cedric BAIL
2016-05-04ecore: silence warning in job test.Cedric BAIL
2016-05-04eo: replace loop_get with object_findMarcel Hollerbach
Summary: object_find is more generic, so other mechanisms can also reuse the code. The object itself has to support the function, so there is no need for eo_isa which would have a negative performance impact. The base class implementation calls interface_get on the parent, so a override of the function can just call the super function to continue in the recursion. Test Plan: just run the eo test suite Reviewers: raster, tasn, jpeg Reviewed By: tasn, jpeg Subscribers: felipealmeida, netstar, cedric, jpeg Differential Revision:
2016-05-03Eio: fixed eio_model_test_monitor_addLarry Jr
fix filename comparison in the test for deleted file
2016-05-03Eldbus: re-enable eldbus_tests_model by defaultLarry Jr
2016-05-03Eldbus: fixed eina_promise callback in eldbus test modelLarry Jr