From: Lauro Moura Date: Tue, 5 Jul 2016 22:14:49 +0000 (-0300) Subject: eolian_js efl_js: Fix tests. X-Git-Tag: upstream/1.20.0~3920 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21cc5715ba728757f579d08ad4fe8e2d312610de;p=platform%2Fupstream%2Fefl.git eolian_js efl_js: Fix tests. * Probably the idle refactor changed the order the callbacks are called. * Removed trailing * from class types --- diff --git a/src/tests/efl_js/ecore_js_suite.js b/src/tests/efl_js/ecore_js_suite.js index 85630af..804f27c 100755 --- a/src/tests/efl_js/ecore_js_suite.js +++ b/src/tests/efl_js/ecore_js_suite.js @@ -293,8 +293,8 @@ start_test("ecore idle", function () { efl.Ecore.Mainloop.begin(); assert(captured[0] === 4, "Ecore.Idle.add test"); - assert(captured[1] === 2, "Ecore.Idle.addEnterer test"); - assert(captured[2] === 3, "Ecore.Idle.addEnterer test two"); + assert(captured[1] === 3, "Ecore.Idle.addEnterer test"); + assert(captured[2] === 2, "Ecore.Idle.addEnterer test two"); assert(captured[3] === 1, "Ecore.Idle.addEntererBefore test"); assert(captured[4] === 5, "Ecore.Idle.addExiter test"); }); diff --git a/src/tests/eolian_js/constructor_method_class.eo b/src/tests/eolian_js/constructor_method_class.eo index 81860c2..034a9eb 100644 --- a/src/tests/eolian_js/constructor_method_class.eo +++ b/src/tests/eolian_js/constructor_method_class.eo @@ -41,10 +41,10 @@ class Constructor_Method_Class (Efl.Object) } classoutmethod1 { params { @in one: int; @in two: double; } - return: free(own(Constructor_Method_Class *), eo_unref) @warn_unused; + return: free(own(Constructor_Method_Class), eo_unref) @warn_unused; } classoutmethod2 { - params { @in one: int; @in two: double; @out out_class: own(Constructor_Method_Class *); } + params { @in one: int; @in two: double; @out out_class: own(Constructor_Method_Class); } } } implements {