eolian_js efl_js: Fix tests.

* Probably the idle refactor changed the order the callbacks are called.
* Removed trailing * from class types
This commit is contained in:
Lauro Moura 2016-07-05 19:14:49 -03:00 committed by Felipe Magno de Almeida
parent 7869eeed53
commit 21cc5715ba
2 changed files with 4 additions and 4 deletions

View File

@ -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");
});

View File

@ -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 {