efl/src/tests
Yeongjong Lee 581bec9598 eolian_mono: make struct immutable
Summary:
Immutable value type is recommeneded for struct type in cs world.
`DO NOT define mutable value types.`
(see, https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/struct)

Also, this patch include refactoring of generated struct types.
1. Change field type to property type that have only getter. it will fix CA1051(ref T8397).
2. Remove internal NativeStruct. there is private field for marshalling struct instead.
3. Fix some test cases that change value inside struct. because struct is immutable.

Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: woohyun, felipealmeida, Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8397

Differential Revision: https://phab.enlightenment.org/D11146
2020-01-28 14:46:10 +09:00
..
ecore tests/efl_app: add port of intensive timer recursion 2019-10-30 08:49:12 -07:00
ecore_audio_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
ecore_con tests/ecore_con: clarify pointer usage in ecore_con_url tests 2019-10-18 13:29:57 -04:00
ecore_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
ecore_wl2 ecore_wl2: fix compilation 2020-01-23 11:16:31 +01:00
ector cmake: remove! 2018-12-20 20:07:26 +01:00
edje Fix worning and tests for edje text_class 2020-01-07 14:28:46 +01:00
edje_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eet fix various trivial null derefs 2019-10-18 13:30:10 -04:00
eet_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eeze cmake: remove! 2018-12-20 20:07:26 +01:00
efl efl: improve Efl.BooleanModel test by checking the child del case. 2019-11-13 21:16:22 +01:00
efl_js eolian: implement new syntax for inheritance 2018-11-23 13:57:07 +01:00
efl_mono eolian_mono: make struct immutable 2020-01-28 14:46:10 +09:00
efreet make mman.h private 2019-08-19 09:55:13 -04:00
eina eina: add new range Data type 2020-01-23 06:54:44 +09:00
eina_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eio tests/eio: unlink tmpfiles after tests 2019-08-23 13:38:33 -04:00
eldbus tests/eldbus: add va_end for va_args usage in message test 2019-10-18 13:28:48 -04:00
eldbus_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
elementary efl_text_interactive: selection enhancment 2020-01-23 09:05:12 +01:00
elementary_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
elput here comes meson 2018-10-02 17:22:50 +02:00
elua tests: fix warnings and undef ref on Windows (using meson :-) ) 2019-06-20 12:50:35 +01:00
emile emile_test_base64: Fix memory leak 2019-05-02 13:48:22 +02:00
emotion meson: correctly use the correct dependency 2019-04-05 08:15:39 -04:00
eo eo: add a tcase for testing forwarders 2019-12-11 10:36:17 +01:00
eo_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eolian eolian: move list<> tests to be @beta and preserve enough meaningful that are not @beta. 2020-01-24 21:47:08 -03:00
eolian_cxx eolian_cxx: move tests of list<> to be protected by @beta. 2020-01-24 21:45:51 -03:00
eolian_js eo files: Avoid container<ptr(value_type)> usage. 2019-11-29 17:22:07 -03:00
evas efl.text.cursor: movement types rename 2020-01-20 10:07:40 +09:00
evas_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
evil remove last bits of Evil.h in tests and use evil_private.h instead 2019-06-24 09:01:25 -04:00
.gitignore tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
efl_check.h efl check - use global not stack local buffer for srunner_set_xml 2019-08-11 16:35:03 +01:00
meson.build here comes meson 2018-10-02 17:22:50 +02:00
timeout.c tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00