[common] Simplify instance methods registration (4) 71/216671/6
authorMichal Michalski <m.michalski2@partner.samsung.com>
Wed, 30 Oct 2019 11:28:49 +0000 (12:28 +0100)
committerMichal Michalski <m.michalski2@partner.samsung.com>
Wed, 30 Oct 2019 16:36:19 +0000 (17:36 +0100)
commit6545d2c8bab3e35b5b9e097feb36ef226de93415
tree14d5596ebab9419dd5ee3d3dd57e55cf970778b8
parentda8331b6ebd019c13ced8397c294e578037cfe9c
[common] Simplify instance methods registration (4)

+ Macros REGISTER_(A)SYNC have been replaced with new macro
REGISTER_METHOD, which takes only the method name.
The string parameter is now created from the method name.

[Verification] + tct-notification-tizen-tests 100% pass (mobile)
+ tct-package-tizen-tests 100% pass (mobile)
+ tct-playerutil-tizen-tests 100% pass (mobile)
+ tct-power-tizen-tests 100% pass (mobile)
+ tct-privacyprivilege-tizen-tests 100% pass (mobile)
+ tct-preference-tizen-tests 100% pass (mobile)
+ tct-push-tizen-tests 100% pass (mobile)
+ tct-fmradio-tizen-tests 100% pass (mobile)
+ tct-secureelement-tizen-tests 100% pass (mobile)

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: Ie3e5b6f88c283dce6a6703980a1e8d597b3e4d41
27 files changed:
src/notification/notification_api.js
src/notification/notification_instance.cc
src/notification/notification_instance.h
src/package/package_api.js
src/package/package_instance.cc
src/package/package_instance.h
src/playerutil/playerutil_api.js
src/playerutil/playerutil_instance.cc
src/playerutil/playerutil_instance.h
src/power/power_api.js
src/power/power_instance.cc
src/power/power_instance.h
src/ppm/ppm_api.js
src/ppm/ppm_instance.cc
src/ppm/ppm_instance.h
src/preference/preference_api.js
src/preference/preference_instance.cc
src/preference/preference_instance.h
src/push/push_api.js
src/push/push_instance.cc
src/push/push_instance.h
src/radio/radio_api.js
src/radio/radio_instance.cc
src/radio/radio_instance.h
src/secureelement/secureelement_api.js
src/secureelement/secureelement_instance.cc
src/secureelement/secureelement_instance.h