summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 17:10:41 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 17:10:41 +0200
commitc559380f7f3c495e8661db4cc4b2a0b5f70ed29c (patch)
tree22b4cffcc53148faee5fde6af1b0f199dfe5e816 /src/tests/eolian_js
parent78a5ac09f8071a5d98eecf946d615652cc435c18 (diff)
eolian cxx/js: fix test eo file ownership
Diffstat (limited to 'src/tests/eolian_js')
-rw-r--r--src/tests/eolian_js/constructor_method_class.eo4
-rw-r--r--src/tests/eolian_js/test_object.eo4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eolian_js/constructor_method_class.eo b/src/tests/eolian_js/constructor_method_class.eo
index 034a9eb..ed77e85 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)
41 } 41 }
42 classoutmethod1 { 42 classoutmethod1 {
43 params { @in one: int; @in two: double; } 43 params { @in one: int; @in two: double; }
44 return: free(own(Constructor_Method_Class), eo_unref) @warn_unused; 44 return: free(Constructor_Method_Class, eo_unref) @owned @warn_unused;
45 } 45 }
46 classoutmethod2 { 46 classoutmethod2 {
47 params { @in one: int; @in two: double; @out out_class: own(Constructor_Method_Class); } 47 params { @in one: int; @in two: double; @out out_class: Constructor_Method_Class @owned; }
48 } 48 }
49 } 49 }
50 implements { 50 implements {
diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo
index 98f4447..447ba2d 100644
--- a/src/tests/eolian_js/test_object.eo
+++ b/src/tests/eolian_js/test_object.eo
@@ -104,7 +104,7 @@ class Test.Object (Efl.Object) {
104 } 104 }
105 method_array_with_42_check { 105 method_array_with_42_check {
106 [[ tests parameters ]] 106 [[ tests parameters ]]
107 return: free(own(array<int>), eina_array_free) @warn_unused; 107 return: array<int> @owned @warn_unused;
108 } 108 }
109 method_array_in_array_out_check { 109 method_array_in_array_out_check {
110 [[ tests parameters ]] 110 [[ tests parameters ]]
@@ -157,7 +157,7 @@ class Test.Object (Efl.Object) {
157 } 157 }
158 method_list_with_42_check { 158 method_list_with_42_check {
159 [[ tests parameters ]] 159 [[ tests parameters ]]
160 return: free(own(list<int>), eina_list_free) @warn_unused; 160 return: list<int> @owned @warn_unused;
161 } 161 }
162 method_list_in_list_out_check { 162 method_list_in_list_out_check {
163 [[ tests parameters ]] 163 [[ tests parameters ]]