Commit Graph

65 Commits

Author SHA1 Message Date
Kai Huuhko 30c2ce90c3 Partial revert of ecd93319ee
This API was never meant to be exposed.
2016-08-12 05:52:23 +03:00
Kai Huuhko ecd93319ee Elm.Image: Sync with C API 2016-08-12 00:13:51 +03:00
Kai Huuhko 0916eae9ff Add logging to the rest of the individual unit tests 2016-08-03 14:47:42 +03:00
Kai Huuhko d6bad7a838 Enable logging in elm image icon unit test 2016-08-03 12:10:12 +03:00
Davide Andreoli 2ebc0dcf74 2 more class name tests 2016-08-02 19:30:49 +02:00
Davide Andreoli e2edab7b1c tests: 2 small fixes
* ElmWeb external test skipped for the moment.
* Decorators test fixed by adding the new "edje,language,none" signal ti the list of expected.
2016-08-01 20:05:04 +02:00
Davide Andreoli 5680c76a49 Adjust dns lookup test
something changed in the lookup behaviour as this test was passing in the past,
but indeed the new behaviour seems more correct
2016-07-24 14:37:14 +02:00
Davide Andreoli 243664d738 Add a test to check eo class names
a bit hackish, but do his work.
And is important to check those names now that efl class names are going to be shuffled around :P
2016-06-03 14:20:41 +02:00
Davide Andreoli e0456df2a2 better indent 2016-06-03 11:45:08 +02:00
Davide Andreoli eaf3110089 A new ecore module: ecore_con
It's now super easy to perform various network task in a full efl fashion.
Implemented "Lookup" for dns query and "Url" to perform http requests.
"Server" will come soon.

Comes with quite complete docs, examples and unit tests
2015-11-16 20:45:07 +01:00
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