summaryrefslogblamecommitdiff
path: root/src/tests/elementary/spec/efl_ui_spec_suite.h
blob: 463f44dc70d3f5f20044cc4cbcf1c847738b4893 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                

                  
                           
                                     


                                              
                                          
                                                  
                                           
                                               
                                            

                                                               
                                          

                                                       
                                                
                                            


                                                                                                                                            
                                            
 

                             
               





                                                        
#ifndef EFL_UI_SUITE_H
#define EFL_UI_SUITE_H

#include <check.h>

#define EFL_NOLEGACY_API_SUPPORT
#include <Efl_Ui.h>
#include "../efl_check.h"

extern Eo *win;
extern Eo *widget;
extern Eo *collection_grid;
extern const Efl_Class *widget_klass;

void efl_pack_behavior_test(TCase *tc);
void efl_pack_linear_behavior_test(TCase *tc);
void efl_content_behavior_test(TCase *tc);
void efl_gfx_arrangement_behavior_test(TCase *tc);
void efl_gfx_view_behavior_test(TCase *tc);
void efl_ui_clickable_behavior_test(TCase *tc);
void efl_ui_format_behavior_test(TCase *tc);
void efl_ui_range_display_behavior_test(TCase *tc);
void efl_ui_range_display_interactive_behavior_test(TCase *tc);
void efl_ui_view_behavior_test(TCase *tc);
void efl_ui_single_selectable_behavior_test(TCase *tc);
void efl_ui_multi_selectable_behavior_test(TCase *tc);
void efl_ui_selectable_behavior_test(TCase *tc);
void efl_ui_widget_behavior_test(TCase *tc);

void efl_test_container_content_equal(Efl_Ui_Widget **wid, unsigned int len);
void efl_test_container_expect_evt_content_added(Efl_Ui_Widget *widget, const Efl_Event_Description *ev, Eina_Bool *flag, void *event_data);
Efl_Ui_Widget* efl_test_parent_get(Eo *obj);

Eo* create_test_widget(void);

Eo * win_add();

const Efl_Class* efl_ui_widget_realized_class_get(void);

#define WIDGET_CLASS efl_ui_widget_realized_class_get()

#endif