2015-01-09 08:20:14 -08:00
|
|
|
#ifndef _ELDBUS_TEST_ELDBUS_MODEL_H
|
|
|
|
#define _ELDBUS_TEST_ELDBUS_MODEL_H
|
|
|
|
|
2016-02-04 05:52:49 -08:00
|
|
|
#include <Eo.h>
|
2015-01-09 08:20:14 -08:00
|
|
|
#include <Eldbus_Model.h>
|
|
|
|
#include <Efl.h>
|
|
|
|
|
|
|
|
void check_init(void);
|
|
|
|
void check_shutdown(void);
|
|
|
|
Eo *create_connection(void);
|
|
|
|
Eo *create_object(void);
|
|
|
|
|
2016-08-10 07:23:04 -07:00
|
|
|
void efl_model_wait_for_event(Eo *obj, const Efl_Event_Description *event);
|
2016-05-10 03:36:13 -07:00
|
|
|
Efl_Model *efl_model_nth_child_get(Efl_Model *obj, unsigned int n);
|
|
|
|
Efl_Model *efl_model_first_child_get(Efl_Model *efl_model);
|
|
|
|
|
|
|
|
void check_efl_model_children_count_eq(Efl_Model *obj, unsigned int expected_children_count);
|
|
|
|
void check_efl_model_children_count_ge(Efl_Model *obj, unsigned int minimum_children_count);
|
|
|
|
void check_efl_model_children_slice_get(Efl_Model *efl_model);
|
|
|
|
void check_efl_model_property_int_eq(Efl_Model *obj, const char *property, int expected_value);
|
|
|
|
void check_efl_model_property_int_set(Efl_Model *obj, const char *property, int value);
|
2018-02-12 11:06:48 -08:00
|
|
|
void check_efl_model_future_error(Eina_Future *future, Eina_Error *err);
|
2016-04-20 13:07:53 -07:00
|
|
|
|
2018-02-12 11:06:48 -08:00
|
|
|
Eina_Value *efl_model_future_then(Eina_Future *future);
|
|
|
|
int efl_model_future_then_u(Eina_Future *future);
|
2015-01-09 08:20:14 -08:00
|
|
|
|
|
|
|
Eldbus_Model_Proxy *eldbus_model_proxy_from_object_get(Eldbus_Model_Object *object, const char *interface_name);
|
|
|
|
Eldbus_Model_Method *eldbus_model_method_from_proxy_get(Eldbus_Model_Proxy *proxy, const char *method_name);
|
|
|
|
Eldbus_Model_Signal *eldbus_model_signal_from_proxy_get(Eldbus_Model_Proxy *proxy, const char *signal_name);
|
|
|
|
|
|
|
|
#endif
|