summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-11 20:19:01 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 18:55:56 -0300
commit34c3d4ded7dc0a3b1f7e18750cd8812063a7d25d (patch)
treef522f14fc1a932ded72f8e8b3afc01b87c80e668
parent7e1f131286dc61a51268dbaaec70a74ee66ea19c (diff)
tests: Added config.h to tests.
-rw-r--r--src/examples/eina_cxx/eina_cxx_list_01.cc4
-rw-r--r--src/examples/eina_cxx/eina_cxx_thread_01.cc7
-rw-r--r--src/tests/ecore_cxx/ecore_cxx_suite.cc3
-rw-r--r--src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc3
-rw-r--r--src/tests/eet_cxx/eet_cxx_suite.cc4
-rw-r--r--src/tests/eet_cxx/eet_cxx_test_descriptors.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_suite.cc6
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_accessor.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_error.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_inarray.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_inlist.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_iterator.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_log.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_optional.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_stringshare.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_thread.cc4
-rw-r--r--src/tests/eina_cxx/eina_cxx_test_value.cc4
-rw-r--r--src/tests/eldbus_cxx/eldbus_cxx_suite.cc4
-rw-r--r--src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc4
-rw-r--r--src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc4
20 files changed, 80 insertions, 3 deletions
diff --git a/src/examples/eina_cxx/eina_cxx_list_01.cc b/src/examples/eina_cxx/eina_cxx_list_01.cc
index 0cb0381..f74f9d6 100644
--- a/src/examples/eina_cxx/eina_cxx_list_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_list_01.cc
@@ -1,6 +1,10 @@
1//Compile with: 1//Compile with:
2//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina` 2//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
3 3
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
4#include <stdio.h> 8#include <stdio.h>
5#include <Eina.hh> 9#include <Eina.hh>
6 10
diff --git a/src/examples/eina_cxx/eina_cxx_thread_01.cc b/src/examples/eina_cxx/eina_cxx_thread_01.cc
index 64c7525..b47b1a6 100644
--- a/src/examples/eina_cxx/eina_cxx_thread_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_thread_01.cc
@@ -1,6 +1,10 @@
1//Compile with: 1//Compile with:
2//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina` 2//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
3 3
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
4#include <stdio.h> 8#include <stdio.h>
5#include <Eina.hh> 9#include <Eina.hh>
6 10
@@ -13,7 +17,6 @@ namespace eina = efl::eina;
13 17
14void thread1(eina::mutex&) 18void thread1(eina::mutex&)
15{ 19{
16
17} 20}
18 21
19int main() 22int main()
@@ -27,6 +30,6 @@ int main()
27 eina::unique_lock<eina::mutex> l(m); 30 eina::unique_lock<eina::mutex> l(m);
28 31
29 eina::thread thread1(&::thread1, eina::ref(m)); 32 eina::thread thread1(&::thread1, eina::ref(m));
30 33
31 thread1.join(); 34 thread1.join();
32} 35}
diff --git a/src/tests/ecore_cxx/ecore_cxx_suite.cc b/src/tests/ecore_cxx/ecore_cxx_suite.cc
index 9394672..d2888ef 100644
--- a/src/tests/ecore_cxx/ecore_cxx_suite.cc
+++ b/src/tests/ecore_cxx/ecore_cxx_suite.cc
@@ -1,3 +1,6 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
1 4
2#include "Ecore.hh" 5#include "Ecore.hh"
3 6
diff --git a/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc b/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
index 9be7d73..1425041 100644
--- a/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
+++ b/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
@@ -1,3 +1,6 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
1 4
2#include "Ecore.hh" 5#include "Ecore.hh"
3#include "Eina.hh" 6#include "Eina.hh"
diff --git a/src/tests/eet_cxx/eet_cxx_suite.cc b/src/tests/eet_cxx/eet_cxx_suite.cc
index 26e658b..fa4465e 100644
--- a/src/tests/eet_cxx/eet_cxx_suite.cc
+++ b/src/tests/eet_cxx/eet_cxx_suite.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eet.hh" 6#include "Eet.hh"
3#include <Eina.h> 7#include <Eina.h>
4 8
diff --git a/src/tests/eet_cxx/eet_cxx_test_descriptors.cc b/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
index bc21418..05af641 100644
--- a/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
+++ b/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eet.hh" 6#include "Eet.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_suite.cc b/src/tests/eina_cxx/eina_cxx_suite.cc
index 942d539..7555805 100644
--- a/src/tests/eina_cxx/eina_cxx_suite.cc
+++ b/src/tests/eina_cxx/eina_cxx_suite.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <cassert> 8#include <cassert>
@@ -71,7 +75,7 @@ eina_build_suite(int argc, const char **argv)
71 Suite *s; 75 Suite *s;
72 int i; 76 int i;
73 77
74 s = suite_create("Eina"); 78 s = suite_create("Eina C++");
75 79
76 for (i = 0; etc[i].test_case; ++i) 80 for (i = 0; etc[i].test_case; ++i)
77 { 81 {
diff --git a/src/tests/eina_cxx/eina_cxx_test_accessor.cc b/src/tests/eina_cxx/eina_cxx_test_accessor.cc
index 21ad5e0..8d04ecc 100644
--- a/src/tests/eina_cxx/eina_cxx_test_accessor.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_accessor.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_error.cc b/src/tests/eina_cxx/eina_cxx_test_error.cc
index fb3a6aa..8cea5b5 100644
--- a/src/tests/eina_cxx/eina_cxx_test_error.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_error.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <check.h> 8#include <check.h>
diff --git a/src/tests/eina_cxx/eina_cxx_test_inarray.cc b/src/tests/eina_cxx/eina_cxx_test_inarray.cc
index e9d890d..995ae9b 100644
--- a/src/tests/eina_cxx/eina_cxx_test_inarray.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_inarray.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_inlist.cc b/src/tests/eina_cxx/eina_cxx_test_inlist.cc
index 0fd7c75..144dfe4 100644
--- a/src/tests/eina_cxx/eina_cxx_test_inlist.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_inlist.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_iterator.cc b/src/tests/eina_cxx/eina_cxx_test_iterator.cc
index ee4b356..5a0a393 100644
--- a/src/tests/eina_cxx/eina_cxx_test_iterator.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_iterator.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_log.cc b/src/tests/eina_cxx/eina_cxx_test_log.cc
index 4d32d41..e20ebdf 100644
--- a/src/tests/eina_cxx/eina_cxx_test_log.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_log.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_optional.cc b/src/tests/eina_cxx/eina_cxx_test_optional.cc
index a809f66..6619ee9 100644
--- a/src/tests/eina_cxx/eina_cxx_test_optional.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_optional.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_stringshare.cc b/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
index 5e06cbc..d10ad36 100644
--- a/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_thread.cc b/src/tests/eina_cxx/eina_cxx_test_thread.cc
index 1a74935..11a8f39 100644
--- a/src/tests/eina_cxx/eina_cxx_test_thread.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_thread.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <algorithm> 8#include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_value.cc b/src/tests/eina_cxx/eina_cxx_test_value.cc
index 07bf3e5..c095f85 100644
--- a/src/tests/eina_cxx/eina_cxx_test_value.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_value.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eina.hh" 6#include "Eina.hh"
3 7
4#include <check.h> 8#include <check.h>
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
index a8be883..b9a145d 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include <Eina.h> 6#include <Eina.h>
3#include "Eldbus.hh" 7#include "Eldbus.hh"
4 8
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
index f16e72e..e54645b 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eldbus.hh" 6#include "Eldbus.hh"
3#include "Ecore.hh" 7#include "Ecore.hh"
4 8
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
index 3d7716e..ffac324 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
@@ -1,4 +1,8 @@
1 1
2#ifdef HAVE_CONFIG_H
3# include <config.h>
4#endif
5
2#include "Eldbus.hh" 6#include "Eldbus.hh"
3#include "Ecore.hh" 7#include "Ecore.hh"
4 8