Commit Graph

55 Commits

Author SHA1 Message Date
Kai Huuhko 4d73872f8f Removed init/shutdown calls from tests and examples 2015-05-04 04:03:07 +03:00
Kai Huuhko a119c3ccdb Tests: Fix custom smart event callbacks' tests
Custom events always get event_info since commit
fcc93216f9
2015-03-25 05:53:38 +02:00
Davide Andreoli 807f0417db Some tests for SmartObject callbacks 2015-03-12 22:02:07 +01:00
Kai Huuhko 247eb9e452 Evas.SmartObject: Revert SmartCb add/del mechanism partially
We need to keep a better track of the spec references so they
don't get mixed up when user adds and deletes the callbacks.
2015-03-11 22:13:00 +02:00
Kai Huuhko 3c710bb4b4 Evas.SmartObject: Change tests and examples in accordance to new API 2015-03-08 18:07:57 +02:00
Kai Huuhko d3357619f7 Evas: Bring back SmartObject
Possible TODO: support per-child delete cb like in C
2015-03-05 21:07:38 +02:00
Kai Huuhko ca4899125d Tests: Change test names to reflect the change from last commit 2015-03-02 05:27:29 +02:00
Kai Huuhko ee9c3cb042 tests.evas: Add a valid, failing test for Rect.intercepts
The algorithm used produces a false negative when the shapes intersect
in a cross shape.
2015-03-02 05:19:04 +02:00
Kai Huuhko c8f782538f Remove tests that were infact wrong. 2015-02-26 01:02:09 +02:00
Davide Andreoli 3f064401a1 Do not fail on SmartObject tests, they are skipped 2015-01-04 19:42:31 +01:00
Davide Andreoli 08170d1fd4 Disable evas.SmartObject to workaround Cython brakage.
SmartObject do work fully in real, thay probably need a full rewrite,
so this should not harm at all.

Also disabled tests and examples
2015-01-02 13:25:44 +01:00
Davide Andreoli 60e7e94889 New 1.12 API: edje_object_base_scale_get
With proper test
2014-11-22 15:21:00 +01:00
Kai Huuhko 8109cd62b4 Code cleanup: Spelling and grammar fixes 2014-04-14 23:39:59 +03:00
Davide Andreoli cc02387266 Adjust the bindings to work with Eo2 2014-04-14 21:41:38 +02:00
Kai Huuhko 6408f8d318 Code cleanup: Print statements => functions 2014-04-14 02:32:16 +03:00
Kai Huuhko cd5f897bbf Code cleanup: Inconsistent indentation 2014-04-14 01:40:21 +03:00
Kai Huuhko d8613c88f8 tests: Added a very simple unit test for unicode in Elm Entry 2014-04-07 12:55:15 +03:00
Davide Andreoli b32f95e3c4 Python-EFL: 2 small fix for the unit tests 2014-02-23 19:38:33 +01:00
Kai Huuhko 264491875d Edje: Re-enable edje-edit. 2013-12-30 14:04:57 +02:00
Kai Huuhko 5aa035b900 Tests: Removed expected failure from a test that now works 2013-12-30 14:02:09 +02:00
Kai Huuhko 277ed843ae Tests: Simple beginnings for Elm unit tests, enabled Eo tests. 2013-12-18 20:05:26 +02:00
Kai Huuhko 056fad315c Tests: Decrease verbosity and buffer the output when running full suite. 2013-12-18 16:45:50 +02:00
Kai Huuhko e557b2fcb4 Eo: Add several methods, tests and more debug logging.
Methods:
 - parent_set/get
 - event_freeze(_get)/thaw
 - delete

Functions:
 - event_global_freeze(_get)/thaw

Moved enums to efl.eo.enums.pxd
2013-11-09 09:05:44 +02:00
Kai Huuhko 05cd30a2e3 Evas.SmartObject: Add a test from old bindings, fix trivial doc issues. 2013-11-06 05:03:41 +02:00
Kai Huuhko 4ca341d0d5 Evas.SmartObject: Basic object should be functional again.
At least the simple test passes.

Needs more work and tests.
2013-11-05 18:12:53 +02:00
Kai Huuhko e4e56b2605 Edje-edit: Disable build and tests.
Do this for now as it's undergoing changes and mostly broken anyway.
2013-10-30 21:01:24 +02:00
Kai Huuhko 05f288ec7f Edje: Fix unit test paths and skip a couple segfaulting tests.
Decorator test fails but I'm not sure if the test is simply wrong.

Dave, can you check?
2013-10-29 06:25:23 +02:00
Davide Andreoli 25666b60c2 Python-EFL: in the edje_edit unittest copy the edj file to a temp one, as the test will change it. Preventing successive test to fail. 2013-05-29 21:52:44 +02:00
Davide Andreoli 5913721de9 Python-EFL: implemented decorators for edje.
Decorators implemented in a much more simple and generic
way than before, we can use them in other place too.

3 deco implemented:
@on_signal(emission, source)
@message_handler
@on_text_change

I choosed the 'strange' on_* naming convention to not
clash/confuse with normal callback functions, tell
me if you don't like.
2013-05-14 21:51:29 +02:00
Davide Andreoli 236d66caf8 Python-EFL: rename examples, just to keep them ordered 2013-05-13 01:29:44 +02:00
Davide Andreoli 1c255024d3 Python-EFL: implemented ecore.Poller, with docs and unittest. 2013-05-13 01:27:00 +02:00
Davide Andreoli 39e16242a0 Python-EFL: implemented ecore.FileMonitor class 2013-05-12 19:15:09 +02:00
Kai Huuhko 4b9cacd74e Evas: Fix Textgrid and add tests. 2013-04-22 20:12:26 +03:00
Davide Andreoli 0fae488f77 Python-EFL: EdjeEdit, manage the various class 'name' prop in a saner way
Instead of keeping a py object now keep a stringshared char*, so that we can
pass it directly to the C API without messing with conversions.
2013-04-14 14:24:44 +02:00
Davide Andreoli 9d85805b13 Python-EFL: Implemented EdjeEdit API, with full unit tests.
Some stuff is not working on the C side, the unit test is full
of FIXME and TODO. The biggest problem is the PartState that
do not work at all, I will give a short look at this, but I'm
not so much intrested atm...If you want/need to help please
let me know.
2013-04-14 13:08:15 +02:00
Davide Andreoli 8df1784275 Python-EFL: first unittest for the dbus mainloop integration 2013-04-07 01:30:31 +02:00
Davide Andreoli a52dac2145 Python-EFL: move dbus examples to the examples/ folder. Other tests chmod +x 2013-04-06 23:38:55 +02:00
Davide Andreoli 0a32be475a Python-EFL: first working dbus mainloop wrapper.
This one don't require edbus2 nor the old e_dbus, it reimplement
the dbus connection stuff that was in e_dbus (the old) in a
py module.
2013-04-06 12:46:52 +02:00
Davide Andreoli 307a27022b Python-EFL: remove the efreet bindings.
We don't need them, just use pyxdg if you need fdo standards.
2013-04-03 14:34:38 +02:00
Davide Andreoli 92a626abbc Python-EFL: fix ecore.file_download_protocol_available for py3, and made a test for it 2013-04-03 11:38:46 +02:00
Kai Huuhko 4a157cb0a2 Add more skeletal work for Efreet.
Uri, base and trash should be fully usable now.
2013-03-29 16:36:16 +00:00
Davide Andreoli 2daa751915 Python-EFL: Fix edje-external unittest
was broken due to recent elm include changes
2013-03-27 21:58:59 +01:00
Davide Andreoli 711c41883f Python-EFL: edje.text/color_class_list are ok now.Unskip the unittests
SVN revision: 84068
2013-02-18 20:53:55 +00:00
Davide Andreoli 50cf3b0a0a Python-EFL: make ecore Exe and FdHandler py3 friendly. svn ignore++
SVN revision: 84029
2013-02-17 20:53:51 +00:00
Davide Andreoli 6e61cb93a2 Python-EFL: unittest for all the external widgets, they just check object creation atm not all the params
SVN revision: 83989
2013-02-16 13:05:10 +00:00
Davide Andreoli 25def8e423 fixed external slider unittest now that is fixed in elementary. svnignore++
SVN revision: 83983
2013-02-16 11:30:58 +00:00
Davide Andreoli 2b75edb785 Python-EFL: edje_external now works with py3
SVN revision: 83980
2013-02-16 10:47:27 +00:00
Davide Andreoli b58be93f12 move elementary and emotion tests in a new examples dir. Now tests/ contain only unittest while examples/ all the other tests that need user interaction
SVN revision: 83964
2013-02-15 20:41:55 +00:00
Davide Andreoli 454d967f84 Python-EFL: Cleanup and enable compilation of emotion, cleaned also the test.
SVN revision: 83931
2013-02-14 23:05:55 +00:00
Davide Andreoli 85272ee9e2 Python-EFL: unbreak test_naviframe.py, something need to expand
SVN revision: 83930
2013-02-14 22:15:44 +00:00