diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2019-08-16 16:27:00 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2019-08-16 16:27:00 +0200 |
commit | 8a8a833837f7217aea0a33f4f7afbb6edfb103c4 (patch) | |
tree | 3aa8c36b1a2ad17f6d3b0917a0359597e13cc1e8 /src/tests | |
parent | 491a9a5bf842d151b1e2138a4b2f1b9d17f7b085 (diff) |
eolian: rename @class on methods to @static
Ref https://phab.enlightenment.org/T8118
Ref https://phab.enlightenment.org/T7675
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/efl_mono/dummy_inherit_helper.eo | 4 | ||||
-rw-r--r-- | src/tests/efl_mono/dummy_test_object.eo | 6 | ||||
-rw-r--r-- | src/tests/eolian/data/class_funcs.eo | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/efl_mono/dummy_inherit_helper.eo b/src/tests/efl_mono/dummy_inherit_helper.eo index 101c759390..f0f9183ebb 100644 --- a/src/tests/efl_mono/dummy_inherit_helper.eo +++ b/src/tests/efl_mono/dummy_inherit_helper.eo | |||
@@ -1,13 +1,13 @@ | |||
1 | class Dummy.Inherit_Helper extends Efl.Object | 1 | class Dummy.Inherit_Helper extends Efl.Object |
2 | { | 2 | { |
3 | methods { | 3 | methods { |
4 | receive_dummy_and_call_int_out @class { | 4 | receive_dummy_and_call_int_out @static { |
5 | params { | 5 | params { |
6 | @in x: Dummy.Test_Object; | 6 | @in x: Dummy.Test_Object; |
7 | } | 7 | } |
8 | return: int; | 8 | return: int; |
9 | } | 9 | } |
10 | receive_dummy_and_call_in_stringshare @class { | 10 | receive_dummy_and_call_in_stringshare @static { |
11 | params { | 11 | params { |
12 | @in x: Dummy.Inherit_Iface; | 12 | @in x: Dummy.Inherit_Iface; |
13 | } | 13 | } |
diff --git a/src/tests/efl_mono/dummy_test_object.eo b/src/tests/efl_mono/dummy_test_object.eo index e25f7b29bb..b6841db788 100644 --- a/src/tests/efl_mono/dummy_test_object.eo +++ b/src/tests/efl_mono/dummy_test_object.eo | |||
@@ -1569,7 +1569,7 @@ class Dummy.Test_Object extends Efl.Object implements Dummy.Test_Iface { | |||
1569 | return: Dummy.MyInt; | 1569 | return: Dummy.MyInt; |
1570 | } | 1570 | } |
1571 | 1571 | ||
1572 | @property klass_prop @class { | 1572 | @property klass_prop @static { |
1573 | get {} | 1573 | get {} |
1574 | set {} | 1574 | set {} |
1575 | values { | 1575 | values { |
@@ -1577,10 +1577,10 @@ class Dummy.Test_Object extends Efl.Object implements Dummy.Test_Iface { | |||
1577 | } | 1577 | } |
1578 | } | 1578 | } |
1579 | 1579 | ||
1580 | create_cmp_array_objects @class { | 1580 | create_cmp_array_objects @static { |
1581 | } | 1581 | } |
1582 | 1582 | ||
1583 | destroy_cmp_array_objects @class { | 1583 | destroy_cmp_array_objects @static { |
1584 | } | 1584 | } |
1585 | 1585 | ||
1586 | /* Futures */ | 1586 | /* Futures */ |
diff --git a/src/tests/eolian/data/class_funcs.eo b/src/tests/eolian/data/class_funcs.eo index 300e110b89..087f380003 100644 --- a/src/tests/eolian/data/class_funcs.eo +++ b/src/tests/eolian/data/class_funcs.eo | |||
@@ -1,6 +1,6 @@ | |||
1 | class Class_Funcs { | 1 | class Class_Funcs { |
2 | methods { | 2 | methods { |
3 | @property a @class { | 3 | @property a @static { |
4 | get { | 4 | get { |
5 | } | 5 | } |
6 | } | 6 | } |
@@ -8,11 +8,11 @@ class Class_Funcs { | |||
8 | get { | 8 | get { |
9 | } | 9 | } |
10 | } | 10 | } |
11 | foo @class { | 11 | foo @static { |
12 | } | 12 | } |
13 | bar { | 13 | bar { |
14 | } | 14 | } |
15 | baz @protected @class { | 15 | baz @protected @static { |
16 | } | 16 | } |
17 | bah @protected { | 17 | bah @protected { |
18 | } | 18 | } |