summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-10 15:06:29 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-10 15:06:29 +0300
commit7e68eeaba222483be05ce8a0d21530b2a7f9acce (patch)
treeef8d528714e342f4a116fc304e7d638a595cbc4e
parente4e0da77bce8818102c795f4ccd63023c5625f76 (diff)
Fix property validity
-rw-r--r--src/bin/simple_callers.c54
-rw-r--r--src/bin/simple_calls_gen.c2
2 files changed, 1 insertions, 55 deletions
diff --git a/src/bin/simple_callers.c b/src/bin/simple_callers.c
index d641c27..3811bec 100644
--- a/src/bin/simple_callers.c
+++ b/src/bin/simple_callers.c
@@ -7665,33 +7665,6 @@ TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED_POST
7665TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED_OVERRIDE 7665TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED_OVERRIDE
7666#endif 7666#endif
7667 7667
7668#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH
7669#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH
7670 {
7671 double length;
7672#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL1
7673#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL1 0.0
7674#endif
7675#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL2
7676#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL2 1.0
7677#endif
7678#ifdef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_PRE
7679TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_PRE
7680#endif
7681 ecore_audio_obj_in_length_set(obj, TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL1);
7682 length = ecore_audio_obj_in_length_get(obj);
7683 FAIL_IF(ecore_audio_obj_in_length, (length != TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL1));
7684 ecore_audio_obj_in_length_set(obj, TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL2);
7685 length = ecore_audio_obj_in_length_get(obj);
7686 FAIL_IF(ecore_audio_obj_in_length, (length != TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_length_VAL2));
7687#ifdef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_POST
7688TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_POST
7689#endif
7690 }
7691#else
7692TEST_FUNC_ECORE_AUDIO_OBJ_IN_LENGTH_OVERRIDE
7693#endif
7694
7695#ifndef TEST_OBJ_ECORE_AUDIO_IN_TONE_DTOR 7668#ifndef TEST_OBJ_ECORE_AUDIO_IN_TONE_DTOR
7696#define TEST_OBJ_ECORE_AUDIO_IN_TONE_DTOR eo_del(obj); 7669#define TEST_OBJ_ECORE_AUDIO_IN_TONE_DTOR eo_del(obj);
7697#endif 7670#endif
@@ -12241,33 +12214,6 @@ TEST_FUNC_ECORE_OBJ_EXE_COMMAND_POST
12241TEST_FUNC_ECORE_OBJ_EXE_COMMAND_OVERRIDE 12214TEST_FUNC_ECORE_OBJ_EXE_COMMAND_OVERRIDE
12242#endif 12215#endif
12243 12216
12244#ifndef TEST_FUNC_EFL_CONTROL_SUSPEND
12245#define TEST_FUNC_EFL_CONTROL_SUSPEND
12246 {
12247 Eina_Bool suspend;
12248#ifndef TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL1
12249#define TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL1 EINA_TRUE
12250#endif
12251#ifndef TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL2
12252#define TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL2 EINA_FALSE
12253#endif
12254#ifdef TEST_FUNC_EFL_CONTROL_SUSPEND_PRE
12255TEST_FUNC_EFL_CONTROL_SUSPEND_PRE
12256#endif
12257 efl_control_suspend_set(obj, TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL1);
12258 suspend = efl_control_suspend_get(obj);
12259 FAIL_IF(efl_control_suspend, (suspend != TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL1));
12260 efl_control_suspend_set(obj, TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL2);
12261 suspend = efl_control_suspend_get(obj);
12262 FAIL_IF(efl_control_suspend, (suspend != TEST_FUNC_EFL_CONTROL_SUSPEND_suspend_VAL2));
12263#ifdef TEST_FUNC_EFL_CONTROL_SUSPEND_POST
12264TEST_FUNC_EFL_CONTROL_SUSPEND_POST
12265#endif
12266 }
12267#else
12268TEST_FUNC_EFL_CONTROL_SUSPEND_OVERRIDE
12269#endif
12270
12271#ifndef TEST_OBJ_ECORE_EXE_DTOR 12217#ifndef TEST_OBJ_ECORE_EXE_DTOR
12272#define TEST_OBJ_ECORE_EXE_DTOR eo_del(obj); 12218#define TEST_OBJ_ECORE_EXE_DTOR eo_del(obj);
12273#endif 12219#endif
diff --git a/src/bin/simple_calls_gen.c b/src/bin/simple_calls_gen.c
index 320203e..b8314c1 100644
--- a/src/bin/simple_calls_gen.c
+++ b/src/bin/simple_calls_gen.c
@@ -549,7 +549,7 @@ int main()
549 EINA_ITERATOR_FOREACH(fitr, foo) 549 EINA_ITERATOR_FOREACH(fitr, foo)
550 { 550 {
551 if (eolian_function_type_get(foo) != EOLIAN_PROPERTY) continue; 551 if (eolian_function_type_get(foo) != EOLIAN_PROPERTY) continue;
552 if (!_is_function_implemented(foo, EOLIAN_PROP_SET, main_kl)) continue; 552 if (!_is_function_implemented(foo, EOLIAN_PROPERTY, main_kl)) continue;
553 char *foo_str = _function_handle(foo); 553 char *foo_str = _function_handle(foo);
554 if (foo_str) 554 if (foo_str)
555 { 555 {