aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Lira <larry@expertisesolutions.com.br>2018-09-05 15:31:39 -0300
committerLarry Lira <larry@expertisesolutions.com.br>2018-09-05 15:52:47 -0300
commit445a3f06aa8218111adb49f26bec0366b31fbd22 (patch)
tree2819b0bbd5c48b36f738925e9dc3a5b73c999803
parenteolian: Added Eolian Test Generator (diff)
downloadefl-445a3f06aa8218111adb49f26bec0366b31fbd22.tar.gz
eolian: automated Test Generator [WIP]
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile_Automated.am309
-rw-r--r--src/tests/automated/ecore_audio_custom.c3
-rw-r--r--src/tests/automated/ecore_audio_init.c2
-rw-r--r--src/tests/automated/ecore_audio_out/input_attach/arg_init.c1
-rw-r--r--src/tests/automated/ecore_audio_out/input_detach/arg_init.c1
-rw-r--r--src/tests/automated/ecore_audio_out_wasapi/init.c3
-rw-r--r--src/tests/automated/ecore_audio_out_wasapi/shutdown.c3
-rw-r--r--src/tests/automated/ector_custom.c3
-rw-r--r--src/tests/automated/ector_init.c1
-rw-r--r--src/tests/automated/ector_renderer_cairo_shape/init.c2
-rw-r--r--src/tests/automated/ector_shutdown.c1
-rw-r--r--src/tests/automated/edje_custom.c1
-rw-r--r--src/tests/automated/edje_init.c2
-rw-r--r--src/tests/automated/edje_shutdown.c2
-rw-r--r--src/tests/automated/efl_canvas_layout_part/init.c9
-rw-r--r--src/tests/automated/efl_canvas_layout_part_box/init.c9
-rw-r--r--src/tests/automated/efl_canvas_layout_part_external/init.c8
-rw-r--r--src/tests/automated/efl_canvas_layout_part_swallow/init.c8
-rw-r--r--src/tests/automated/efl_canvas_layout_part_table/init.c8
-rw-r--r--src/tests/automated/efl_canvas_layout_part_text/init.c8
-rw-r--r--src/tests/automated/efl_canvas_video/init.c2
-rw-r--r--src/tests/automated/efl_loop/begin/init.c9
-rw-r--r--src/tests/automated/efl_loop/begin/shutdown.c3
-rw-r--r--src/tests/automated/efl_loop/custom.c5
-rw-r--r--src/tests/automated/efl_loop/timeout/arg_init.c1
-rw-r--r--src/tests/automated/efl_text_markup_util/init.c1
-rw-r--r--src/tests/automated/eio_custom.c1
-rw-r--r--src/tests/automated/eio_init.c1
-rw-r--r--src/tests/automated/eio_shutdown.c1
-rw-r--r--src/tests/automated/eldbus_init.c1
-rw-r--r--src/tests/automated/eldbus_shutdown.c1
-rw-r--r--src/tests/automated/emotion_custom.c2
-rw-r--r--src/tests/automated/emotion_init.c3
-rw-r--r--src/tests/automated/emotion_shutdown.c4
-rw-r--r--src/tests/automated/evas_custom.c1
36 files changed, 422 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1ab87da020..3f0106d8d9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -86,6 +86,8 @@ include Makefile_Elua.am
include Makefile_Wayland_Protocols.am
+include Makefile_Automated.am
+
if HAVE_JS
AM_V_CP = $(am__v_CP_@AM_V@)
am__v_CP_ = $(am__v_CP_@AM_DEFAULT_V@)
diff --git a/src/Makefile_Automated.am b/src/Makefile_Automated.am
new file mode 100644
index 0000000000..77115b2443
--- /dev/null
+++ b/src/Makefile_Automated.am
@@ -0,0 +1,309 @@
+
+if EFL_ENABLE_TESTS
+
+#AM_TESTS_ENVIRONMENT += EOLIAN_SO_DIR='$(top_builddir)/src/lib/eolian/.libs/'; export EOLIAN_SO_DIR;
+#gen_eolian_dir = EOLIAN_SO_DIR='$(top_builddir)/src/lib/eolian/.libs/'
+TEST_GEN = $(top_srcdir)/src/scripts/testgen/testgen.py
+
+#### ecore ####
+#ecore_automated_source = tests/automated/ecore_suite_automated.c
+#ecore_automated_suite = $(top_builddir)/src/$(ecore_automated_source)
+#$(ecore_automated_source):
+# $(TEST_GEN) automated ecore $(top_builddir)/src/$@ $(ecore_eolian_files)
+#
+#check_PROGRAMS += tests/automated/ecore_suite_automated
+#TESTS += tests/automated/ecore_suite_automated
+#
+#tests_automated_ecore_suite_automated_SOURCE = $(ecore_automated_source)
+#tests_automated_ecore_suite_automated_CPPFLAGS = $(tests_ecore_ecore_suite_CPPFLAGS) \
+#-I$(top_srcdir)/src/tests \
+#@ELEMENTARY_CFLAGS@
+#tests_automated_ecore_suite_automated_LDADD = $(tests_ecore_ecore_suite_LDADD) @USE_ELEMENTARY_LIBS@
+
+#### ecore_audio ####
+ecore_audio_automated_source = tests/automated/ecore_audio_suite_automated.c
+ecore_audio_automated_suite = $(top_builddir)/src/$(ecore_audio_automated_source)
+$(ecore_audio_automated_source):
+ $(TEST_GEN) automated ecore_audio $(top_builddir)/src/$@ $(ecore_audio_eolian_files)
+
+check_PROGRAMS += tests/automated/ecore_audio_suite_automated
+TESTS += tests/automated/ecore_audio_suite_automated
+
+tests_automated_ecore_audio_suite_automated_SOURCE = $(ecore_audio_automated_source)
+tests_automated_ecore_audio_suite_automated_CPPFLAGS = $(tests_ecore_ecore_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ECORE_AUDIO_CFLAGS@ \
+@ECORE_FILE_CFLAGS@ \
+@ELEMENTARY_CFLAGS@
+tests_automated_ecore_audio_suite_automated_LDADD = $(tests_ecore_ecore_suite_LDADD) @USE_ELEMENTARY_LIBS@
+
+#### ecore_con ####
+#ecore_con_automated_source = tests/automated/ecore_con_suite_automated.c
+#ecore_con_automated_suite = $(top_builddir)/src/$(ecore_con_automated_source)
+#$(ecore_con_automated_source):
+# $(TEST_GEN) automated ecore_con $(top_builddir)/src/$@ $(ecore_eolian_files)
+#
+#check_PROGRAMS += tests/automated/ecore_con_suite_automated
+#TESTS += tests/automated/ecore_con_suite_automated
+#
+#tests_automated_ecore_con_suite_automated_SOURCE = $(ecore_automated_source)
+#tests_automated_ecore_con_suite_automated_CPPFLAGS = $(tests_ecore_con_ecore_con_suite_CPPFLAGS) \
+#-I$(top_srcdir)/src/tests \
+#@ELEMENTARY_CFLAGS@
+#tests_automated_ecore_con_suite_automated_LDADD = $(tests_ecore_con_ecore_con_suite_LDADD) @USE_ELEMENTARY_LIBS@
+#tests_automated_ecore_con_suite_automated_DEPENDENCIES = $(tests_ecore_con_ecore_con_suite_DEPENDENCIES)
+
+#### ector ####
+ector_automated_source = tests/automated/ector_suite_automated.c
+ector_automated_suite = $(top_builddir)/src/$(ector_automated_source)
+$(ector_automated_source):
+# $(TEST_GEN) automated ector $(top_builddir)/src/$@ $(ector_eolian_files_generic)
+ $(TEST_GEN) automated ector $(top_builddir)/src/$@ $(ector_eolian_files)
+
+check_PROGRAMS += tests/automated/ector_suite_automated
+TESTS += tests/automated/ector_suite_automated
+
+tests_automated_ector_suite_automated_SOURCE = $(ector_automated_source)
+tests_automated_ector_suite_automated_CPPFLAGS = $(tests_ector_suite_ector_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_ector_suite_automated_LDADD = $(tests_ector_suite_ector_suite_LDADD) @USE_ECORE_LIBS@
+tests_automated_ector_suite_automated_DEPENDENCIES = @USE_ECTOR_INTERNAL_LIBS@
+
+#### edje ####
+edje_automated_source = tests/automated/edje_suite_automated.c
+edje_automated_suite = $(top_builddir)/src/$(edje_automated_source)
+$(edje_automated_source):
+ $(TEST_GEN) automated edje $(top_builddir)/src/$@ $(edje_eolian_files)
+
+check_PROGRAMS += tests/automated/edje_suite_automated
+TESTS += tests/automated/edje_suite_automated
+
+tests_automated_edje_suite_automated_SOURCE = $(edje_automated_source)
+tests_automated_edje_suite_automated_CPPFLAGS = $(tests_edje_edje_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_edje_suite_automated_LDADD = $(tests_edje_edje_suite_LDADD) @USE_ECORE_LIBS@
+tests_automated_edje_suite_automated_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
+
+#### efl ####
+efl_automated_source = tests/automated/efl_suite_automated.c
+efl_automated_suite = $(top_builddir)/src/$(efl_automated_source)
+$(efl_automated_source):
+ $(TEST_GEN) automated efl $(top_builddir)/src/$@ $(efl_eolian_files)
+
+check_PROGRAMS += tests/automated/efl_suite_automated
+TESTS += tests/automated/efl_suite_automated
+
+tests_automated_efl_suite_automated_SOURCE = $(efl_automated_source)
+tests_automated_efl_suite_automated_CPPFLAGS = $(tests_efl_efl_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_efl_suite_automated_LDADD = \
+@CHECK_LIBS@ \
+@EFL_LIBS@ \
+@USE_EFL_LIBS@ \
+@USE_ECORE_LIBS@
+tests_automated_efl_suite_automated_DEPENDENCIES = \
+@USE_EFL_INTERNAL_LIBS@ \
+@USE_ECORE_INTERNAL_LIBS@
+
+
+##### eio ####
+eio_automated_source = tests/automated/eio_suite_automated.c
+eio_automated_suite = $(top_builddir)/src/$(eio_automated_source)
+$(eio_automated_source):
+ $(TEST_GEN) automated eio $(top_builddir)/src/$@ $(eio_eolian_files)
+
+check_PROGRAMS += tests/automated/eio_suite_automated
+TESTS += tests/automated/eio_suite_automated
+
+tests_automated_eio_suite_automated_SOURCE = $(eio_automated_source)
+tests_automated_eio_suite_automated_CPPFLAGS = $(tests_eio_eio_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_eio_suite_automated_LDADD = $(tests_eio_eio_suite_LDADD) \
+@USE_ECORE_LIBS@
+tests_automated_eio_suite_automated_DEPENDENCIES = \
+@USE_EIO_INTERNAL_LIBS@
+
+#### eldbus ####
+eldbus_automated_source = tests/automated/eldbus_suite_automated.c
+eldbus_automated_suite = $(top_builddir)/src/$(eldbus_automated_source)
+$(eldbus_automated_source):
+ $(TEST_GEN) automated eldbus $(top_builddir)/src/$@ $(eldbus_eolian_files)
+
+check_PROGRAMS += tests/automated/eldbus_suite_automated
+TESTS += tests/automated/eldbus_suite_automated
+
+tests_automated_eldbus_suite_automated_SOURCE = $(eldbus_automated_source)
+tests_automated_eldbus_suite_automated_CPPFLAGS = $(tests_eldbus_eldbus_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_eldbus_suite_automated_LDADD = $(tests_eldbus_eldbus_suite_LDADD) \
+@USE_ECORE_LIBS@
+tests_automated_eldbus_suite_automated_DEPENDENCIES = @USE_ELDBUS_INTERNAL_LIBS@
+
+#### emotion ####
+emotion_automated_source = tests/automated/emotion_suite_automated.c
+emotion_automated_suite = $(top_builddir)/src/$(emotion_automated_source)
+$(emotion_automated_source):
+ $(TEST_GEN) automated emotion $(top_builddir)/src/$@ $(emotion_eolian_files)
+
+check_PROGRAMS += tests/automated/emotion_suite_automated
+TESTS += tests/automated/emotion_suite_automated
+
+tests_automated_emotion_suite_automated_SOURCE = $(emotion_automated_source)
+tests_automated_emotion_suite_automated_CPPFLAGS = $(tests_emotion_emotion_test_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/automated\" \
+@ELEMENTARY_CFLAGS@
+tests_automated_emotion_suite_automated_LDADD = $(tests_emotion_emotion_test_LDADD) \
+@USE_ECORE_LIBS@ \
+@USE_EO_LIBS@ \
+@CHECK_LIBS@
+tests_automated_emotion_suite_automated_DEPENDENCIES = $(tests_emotion_emotion_test_DEPENDENCIES) \
+@USE_EO_INTERNAL_LIBS@
+
+#### eo ####
+eo_automated_source = tests/automated/eo_suite_automated.c
+eo_automated_suite = $(top_builddir)/src/$(eo_automated_source)
+$(eo_automated_source):
+ $(TEST_GEN) automated eo $(top_builddir)/src/$@ $(eo_eolian_files)
+
+check_PROGRAMS += tests/automated/eo_suite_automated
+TESTS += tests/automated/eo_suite_automated
+
+tests_automated_eo_suite_automated_SOURCE = $(eo_automated_source)
+tests_automated_eo_suite_automated_CPPFLAGS = $(tests_eo_eo_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+@ELEMENTARY_CFLAGS@
+tests_automated_eo_suite_automated_LDADD = $(tests_eo_eo_suite_LDADD) \
+@USE_ECORE_LIBS@
+tests_automated_eo_suite_automated_DEPENDENCIES = $(tests_eo_eo_suite_DEPENDENCIES)
+
+#### evas ####
+evas_automated_source = tests/automated/evas_suite_automated.c
+evas_automated_suite = $(top_builddir)/src/$(evas_automated_source)
+$(evas_automated_source):
+ $(TEST_GEN) automated evas $(top_builddir)/src/$@ $(evas_eolian_files)
+
+check_PROGRAMS += tests/automated/evas_suite_automated
+TESTS += tests/automated/evas_suite_automated
+
+tests_automated_evas_suite_automated_SOURCE = $(evas_automated_source)
+tests_automated_evas_suite_automated_CPPFLAGS = $(tests_evas_evas_suite_CPPFLAGS) \
+-I$(top_srcdir)/src/tests \
+-I$(top_srcdir)/src/lib/evas/canvas \
+-I$(top_srcdir)/src/lib/evas/include \
+@ELEMENTARY_CFLAGS@
+tests_automated_evas_suite_automated_LDADD = $(tests_evas_evas_suite_LDADD) \
+@USE_ECORE_LIBS@
+tests_automated_evas_suite_automated_DEPENDENCIES = $(tests_evas_evas_suite_DEPENDENCIES)
+
+
+if HAVE_CSHARP
+#### EFL MONO ####
+
+tests_efl_mono_base = \
+ tests/efl_mono/Main.cs \
+ tests/efl_mono/TestUtils.cs
+
+## Mono Ecore ##
+
+mono_ecore_automated_source = tests/automated/ecore_suite_automated.cs
+mono_ecore_automated_bin = tests/automated/efl_mono_ecore$(EXEEXT)
+
+check_PROGRAMS += $(mono_ecore_automated_bin)
+TESTS += $(mono_ecore_automated_bin)
+
+tests_automated_efl_mono_ecore_SOURCE = \
+ $(tests_efl_mono_base) \
+ $(mono_ecore_automated_source)
+
+tests/automated/efl_mono_ecore$(EXEEXT): $(tests_automated_efl_mono_ecore_SOURCE) lib/efl_mono/libefl_mono.dll tests/efl_mono/efl_mono$(EXEEXT).config
+ @rm -f $@
+ $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
+
+$(mono_ecore_automated_source):
+ $(TEST_GEN) automated ecore $(top_builddir)/src/$@ $(filter-out $(ecore_eolian_blacklisted_files:%.eo.cs=%.eo),$(ecore_eolian_files_public))
+
+## Mono Eo ##
+
+mono_eo_automated_source = tests/automated/eo_suite_automated.cs
+mono_eo_automated_bin = tests/automated/efl_mono_eo$(EXEEXT)
+
+check_PROGRAMS += $(mono_eo_automated_bin)
+TESTS += $(mono_eo_automated_bin)
+
+tests_automated_efl_mono_eo_SOURCE = \
+ $(tests_efl_mono_base) \
+ $(mono_eo_automated_source)
+
+tests/automated/efl_mono_eo$(EXEEXT): $(tests_automated_efl_mono_eo_SOURCE) lib/efl_mono/libefl_mono.dll tests/efl_mono/efl_mono$(EXEEXT).config
+ @rm -f $@
+ $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
+
+$(mono_eo_automated_source):
+ $(TEST_GEN) automated eo $(top_builddir)/src/$@ $(filter-out $(eo_eolian_blacklisted_files:%.eo.cs=%.eo),$(eo_eolian_files))
+
+## Mono Efl ##
+
+mono_efl_automated_source = tests/automated/efl_suite_automated.cs
+mono_efl_automated_bin = tests/automated/efl_mono_efl$(EXEEXT)
+
+check_PROGRAMS += $(mono_efl_automated_bin)
+TESTS += $(mono_efl_automated_bin)
+
+tests_automated_efl_mono_efl_SOURCE = \
+ $(tests_efl_mono_base) \
+ $(mono_efl_automated_source)
+
+tests/automated/efl_mono_efl$(EXEEXT): $(tests_automated_efl_mono_efl_SOURCE) lib/efl_mono/libefl_mono.dll tests/efl_mono/efl_mono$(EXEEXT).config
+ @rm -f $@
+ $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
+
+$(mono_efl_automated_source):
+ $(TEST_GEN) automated efl $(top_builddir)/src/$@ $(filter-out $(efl_eolian_blacklisted_files:%.eo.cs=%.eo),$(efl_eolian_files))
+
+## Mono Edje ##
+
+mono_edje_automated_source = tests/automated/edje_suite_automated.cs
+mono_edje_automated_bin = tests/automated/efl_mono_edje$(EXEEXT)
+
+check_PROGRAMS += $(mono_edje_automated_bin)
+TESTS += $(mono_edje_automated_bin)
+
+tests_automated_efl_mono_edje_SOURCE = \
+ $(tests_efl_mono_base) \
+ $(mono_edje_automated_source)
+
+tests/automated/efl_mono_edje$(EXEEXT): $(tests_automated_efl_mono_edje_SOURCE) lib/efl_mono/libefl_mono.dll tests/efl_mono/efl_mono$(EXEEXT).config
+ @rm -f $@
+ $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
+
+$(mono_edje_automated_source):
+ $(TEST_GEN) automated edje $(top_builddir)/src/$@ $(filter-out $(edje_eolian_blacklisted_files:%.eo.cs=%.eo),$(edje_eolian_files))
+
+## Mono Elementary ##
+
+mono_elementary_automated_source = tests/automated/elementary_suite_automated.cs
+mono_elementary_automated_bin = tests/automated/efl_mono_elementary$(EXEEXT)
+
+check_PROGRAMS += $(mono_elementary_automated_bin)
+TESTS += $(mono_elementary_automated_bin)
+
+tests_automated_efl_mono_elementary_SOURCE = \
+ $(tests_efl_mono_base) \
+ $(mono_elementary_automated_source)
+
+tests/automated/efl_mono_elementary$(EXEEXT): $(tests_automated_efl_mono_elementary_SOURCE) lib/efl_mono/libefl_mono.dll tests/efl_mono/efl_mono$(EXEEXT).config
+ @rm -f $@
+ $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
+
+$(mono_elementary_automated_source):
+ $(TEST_GEN) automated elementary $(top_builddir)/src/$@ $(filter-out $(elementary_eolian_blacklisted_files:%.eo.cs=%.eo),$(elm_public_eolian_files))
+
+
+endif
+endif
diff --git a/src/tests/automated/ecore_audio_custom.c b/src/tests/automated/ecore_audio_custom.c
new file mode 100644
index 0000000000..538ed42109
--- /dev/null
+++ b/src/tests/automated/ecore_audio_custom.c
@@ -0,0 +1,3 @@
+#include <Ecore.h>
+#include <Ecore_Audio.h>
+#include <Ecore_File.h>
diff --git a/src/tests/automated/ecore_audio_init.c b/src/tests/automated/ecore_audio_init.c
new file mode 100644
index 0000000000..3dd8aecd65
--- /dev/null
+++ b/src/tests/automated/ecore_audio_init.c
@@ -0,0 +1,2 @@
+ int _rinit = ecore_audio_init();
+ ck_assert_int_eq(_rinit, 1);
diff --git a/src/tests/automated/ecore_audio_out/input_attach/arg_init.c b/src/tests/automated/ecore_audio_out/input_attach/arg_init.c
new file mode 100644
index 0000000000..fcebbe029b
--- /dev/null
+++ b/src/tests/automated/ecore_audio_out/input_attach/arg_init.c
@@ -0,0 +1 @@
+ arg_input = efl_add(ECORE_AUDIO_IN_CLASS, NULL);
diff --git a/src/tests/automated/ecore_audio_out/input_detach/arg_init.c b/src/tests/automated/ecore_audio_out/input_detach/arg_init.c
new file mode 100644
index 0000000000..fcebbe029b
--- /dev/null
+++ b/src/tests/automated/ecore_audio_out/input_detach/arg_init.c
@@ -0,0 +1 @@
+ arg_input = efl_add(ECORE_AUDIO_IN_CLASS, NULL);
diff --git a/src/tests/automated/ecore_audio_out_wasapi/init.c b/src/tests/automated/ecore_audio_out_wasapi/init.c
new file mode 100644
index 0000000000..da9426da1e
--- /dev/null
+++ b/src/tests/automated/ecore_audio_out_wasapi/init.c
@@ -0,0 +1,3 @@
+#ifdef _WIN32
+ obj = efl_add_ref(ECORE_AUDIO_OUT_WASAPI_CLASS, parent);
+ fail_if(!obj, "ERROR: Cannot init Ecore.Audio.Out.Wasapi!\n")
diff --git a/src/tests/automated/ecore_audio_out_wasapi/shutdown.c b/src/tests/automated/ecore_audio_out_wasapi/shutdown.c
new file mode 100644
index 0000000000..23fe0f1229
--- /dev/null
+++ b/src/tests/automated/ecore_audio_out_wasapi/shutdown.c
@@ -0,0 +1,3 @@
+#else
+(void)parent;
+#endif
diff --git a/src/tests/automated/ector_custom.c b/src/tests/automated/ector_custom.c
new file mode 100644
index 0000000000..0ff115b738
--- /dev/null
+++ b/src/tests/automated/ector_custom.c
@@ -0,0 +1,3 @@
+#include <cairo/Ector_Cairo.h>
+#include <software/Ector_Software.h>
+#include <gl/Ector_GL.h>
diff --git a/src/tests/automated/ector_init.c b/src/tests/automated/ector_init.c
new file mode 100644
index 0000000000..b0006b6a1f
--- /dev/null
+++ b/src/tests/automated/ector_init.c
@@ -0,0 +1 @@
+ fail_if(!ector_init(), "ERROR: Cannot init Ector!\n");
diff --git a/src/tests/automated/ector_renderer_cairo_shape/init.c b/src/tests/automated/ector_renderer_cairo_shape/init.c
new file mode 100644
index 0000000000..e0d899fa57
--- /dev/null
+++ b/src/tests/automated/ector_renderer_cairo_shape/init.c
@@ -0,0 +1,2 @@
+Ector_Surface *surface = efl_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL);
+obj = efl_add_ref(ECTOR_RENDERER_CAIRO_SHAPE_CLASS, parent, ector_renderer_surface_set(efl_added, surface));
diff --git a/src/tests/automated/ector_shutdown.c b/src/tests/automated/ector_shutdown.c
new file mode 100644
index 0000000000..2428e6ec56
--- /dev/null
+++ b/src/tests/automated/ector_shutdown.c
@@ -0,0 +1 @@
+ ector_shutdown();
diff --git a/src/tests/automated/edje_custom.c b/src/tests/automated/edje_custom.c
new file mode 100644
index 0000000000..edbf1b78f2
--- /dev/null
+++ b/src/tests/automated/edje_custom.c
@@ -0,0 +1 @@
+#define EFL_CANVAS_LAYOUT_BETA
diff --git a/src/tests/automated/edje_init.c b/src/tests/automated/edje_init.c
new file mode 100644
index 0000000000..4e81da1772
--- /dev/null
+++ b/src/tests/automated/edje_init.c
@@ -0,0 +1,2 @@
+ fail_if(!ecore_evas_init(), "ERROR: Cannot init Ecore Evas!\n");
+ fail_if(!edje_init(), "ERROR: Cannot init Edje!\n");
diff --git a/src/tests/automated/edje_shutdown.c b/src/tests/automated/edje_shutdown.c
new file mode 100644
index 0000000000..450dda7d2b
--- /dev/null
+++ b/src/tests/automated/edje_shutdown.c
@@ -0,0 +1,2 @@
+ edje_shutdown();
+ ecore_evas_shutdown();
diff --git a/src/tests/automated/efl_canvas_layout_part/init.c b/src/tests/automated/efl_canvas_layout_part/init.c
new file mode 100644
index 0000000000..7d4a56a17b
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part/init.c
@@ -0,0 +1,9 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_layout_part_box/init.c b/src/tests/automated/efl_canvas_layout_part_box/init.c
new file mode 100644
index 0000000000..7d4a56a17b
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part_box/init.c
@@ -0,0 +1,9 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_layout_part_external/init.c b/src/tests/automated/efl_canvas_layout_part_external/init.c
new file mode 100644
index 0000000000..b42f732b75
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part_external/init.c
@@ -0,0 +1,8 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_layout_part_swallow/init.c b/src/tests/automated/efl_canvas_layout_part_swallow/init.c
new file mode 100644
index 0000000000..b42f732b75
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part_swallow/init.c
@@ -0,0 +1,8 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_layout_part_table/init.c b/src/tests/automated/efl_canvas_layout_part_table/init.c
new file mode 100644
index 0000000000..b42f732b75
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part_table/init.c
@@ -0,0 +1,8 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_layout_part_text/init.c b/src/tests/automated/efl_canvas_layout_part_text/init.c
new file mode 100644
index 0000000000..b42f732b75
--- /dev/null
+++ b/src/tests/automated/efl_canvas_layout_part_text/init.c
@@ -0,0 +1,8 @@
+ parent = evas_new();
+ evas_output_method_set(parent, evas_render_method_lookup("buffer"));
+ Evas_Engine_Info *einfo = evas_engine_info_get(parent);
+ evas_engine_info_set(parent, einfo);
+
+ evas_output_size_set(parent, 500, 500);
+ evas_output_viewport_set(parent, 0, 0, 500, 500);
+ (void)obj;
diff --git a/src/tests/automated/efl_canvas_video/init.c b/src/tests/automated/efl_canvas_video/init.c
new file mode 100644
index 0000000000..f75bda251f
--- /dev/null
+++ b/src/tests/automated/efl_canvas_video/init.c
@@ -0,0 +1,2 @@
+ obj = efl_add(EFL_CANVAS_VIDEO_CLASS, parent, efl_canvas_object_legacy_ctor(efl_added));
+ fail_if(!obj, "Error: Canot get obj!\n");
diff --git a/src/tests/automated/efl_loop/begin/init.c b/src/tests/automated/efl_loop/begin/init.c
new file mode 100644
index 0000000000..78fbba3fca
--- /dev/null
+++ b/src/tests/automated/efl_loop/begin/init.c
@@ -0,0 +1,9 @@
+int argc = 2;
+char *argv[] = { "efl_ui_suite", "test" };
+(void)parent;
+
+_EFL_APP_VERSION_SET();
+obj = efl_app_get();
+efl_event_callback_add(obj, EFL_LOOP_EVENT_ARGUMENTS, efl_main, NULL);
+fail_if(!ecore_init_ex(argc, argv));
+__EFL_MAIN_CONSTRUCTOR;
diff --git a/src/tests/automated/efl_loop/begin/shutdown.c b/src/tests/automated/efl_loop/begin/shutdown.c
new file mode 100644
index 0000000000..1f578789d4
--- /dev/null
+++ b/src/tests/automated/efl_loop/begin/shutdown.c
@@ -0,0 +1,3 @@
+efl_loop_exit_code_process(r);
+__EFL_MAIN_DESTRUCTOR;
+ecore_shutdown_ex();
diff --git a/src/tests/automated/efl_loop/custom.c b/src/tests/automated/efl_loop/custom.c
new file mode 100644
index 0000000000..f7df130584
--- /dev/null
+++ b/src/tests/automated/efl_loop/custom.c
@@ -0,0 +1,5 @@
+EAPI_MAIN void
+efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
+{
+ efl_loop_quit(ev->object, EINA_VALUE_EMPTY);
+}
diff --git a/src/tests/automated/efl_loop/timeout/arg_init.c b/src/tests/automated/efl_loop/timeout/arg_init.c
new file mode 100644
index 0000000000..e2e28fb725
--- /dev/null
+++ b/src/tests/automated/efl_loop/timeout/arg_init.c
@@ -0,0 +1 @@
+ arg_time = 0.5;
diff --git a/src/tests/automated/efl_text_markup_util/init.c b/src/tests/automated/efl_text_markup_util/init.c
new file mode 100644
index 0000000000..4d5230d0b1
--- /dev/null
+++ b/src/tests/automated/efl_text_markup_util/init.c
@@ -0,0 +1 @@
+(void)parent;
diff --git a/src/tests/automated/eio_custom.c b/src/tests/automated/eio_custom.c
new file mode 100644
index 0000000000..7f57ce11c4
--- /dev/null
+++ b/src/tests/automated/eio_custom.c
@@ -0,0 +1 @@
+#include <Eio.h>
diff --git a/src/tests/automated/eio_init.c b/src/tests/automated/eio_init.c
new file mode 100644
index 0000000000..2787098b73
--- /dev/null
+++ b/src/tests/automated/eio_init.c
@@ -0,0 +1 @@
+ fail_if(!eio_init(), "ERROR: Cannot init Eio!\n");
diff --git a/src/tests/automated/eio_shutdown.c b/src/tests/automated/eio_shutdown.c
new file mode 100644
index 0000000000..fad342e9ce
--- /dev/null
+++ b/src/tests/automated/eio_shutdown.c
@@ -0,0 +1 @@
+ eio_shutdown();
diff --git a/src/tests/automated/eldbus_init.c b/src/tests/automated/eldbus_init.c
new file mode 100644
index 0000000000..dcfbbec39e
--- /dev/null
+++ b/src/tests/automated/eldbus_init.c
@@ -0,0 +1 @@
+fail_if(eldbus_init() < 0, "ERROR: Cannot init Eldbus!\n");
diff --git a/src/tests/automated/eldbus_shutdown.c b/src/tests/automated/eldbus_shutdown.c
new file mode 100644
index 0000000000..f3077072c5
--- /dev/null
+++ b/src/tests/automated/eldbus_shutdown.c
@@ -0,0 +1 @@
+eldbus_shutdown();
diff --git a/src/tests/automated/emotion_custom.c b/src/tests/automated/emotion_custom.c
new file mode 100644
index 0000000000..811c9944a8
--- /dev/null
+++ b/src/tests/automated/emotion_custom.c
@@ -0,0 +1,2 @@
+#include "Emotion.h"
+#include "Evas_Internal.h"
diff --git a/src/tests/automated/emotion_init.c b/src/tests/automated/emotion_init.c
new file mode 100644
index 0000000000..f6d1d030a8
--- /dev/null
+++ b/src/tests/automated/emotion_init.c
@@ -0,0 +1,3 @@
+ fail_if(!ecore_evas_init(), "ERROR: Cannot init ECore Evas!\n");
+ fail_if(!emotion_init(), "ERROR: Cannot init Emotion!\n");
+
diff --git a/src/tests/automated/emotion_shutdown.c b/src/tests/automated/emotion_shutdown.c
new file mode 100644
index 0000000000..e82aef7387
--- /dev/null
+++ b/src/tests/automated/emotion_shutdown.c
@@ -0,0 +1,4 @@
+// efl_unref(parent);
+// ecore_evas_free(ee);
+ emotion_shutdown();
+// ecore_evas_shutdown();
diff --git a/src/tests/automated/evas_custom.c b/src/tests/automated/evas_custom.c
new file mode 100644
index 0000000000..6cd14a5113
--- /dev/null
+++ b/src/tests/automated/evas_custom.c
@@ -0,0 +1 @@
+#include "efl_canvas_surface.h"