summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 20:27:49 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 20:27:49 +0000
commit06c3306d3c8ca75a591dcd5555b758263b220a74 (patch)
treeeeadd9cd6ae4208f987f6ac94e15f892e8ac9cb8
parent5914a985799c989374a19719b7ee04b02474851e (diff)
efl/efreet: enable locale test.
export those symbols, they are harmless and will help tests. SVN revision: 82239
-rw-r--r--src/Makefile_Efreet.am8
-rw-r--r--src/lib/efreet/efreet_private.h6
-rw-r--r--src/tests/efreet/ef_locale.c1
-rw-r--r--src/tests/efreet/main.c4
4 files changed, 8 insertions, 11 deletions
diff --git a/src/Makefile_Efreet.am b/src/Makefile_Efreet.am
index 2aff77f..ace1119 100644
--- a/src/Makefile_Efreet.am
+++ b/src/Makefile_Efreet.am
@@ -153,14 +153,15 @@ $(EFREET_COMMON_USER_LDADD) \
153lib/efreet/libefreet_mime.la 153lib/efreet/libefreet_mime.la
154 154
155tests_efreet_efreet_test_SOURCES = \ 155tests_efreet_efreet_test_SOURCES = \
156tests/efreet/ef_test.h \
157tests/efreet/ef_data_dirs.c \ 156tests/efreet/ef_data_dirs.c \
157tests/efreet/ef_desktop.c \
158tests/efreet/ef_icon_theme.c \ 158tests/efreet/ef_icon_theme.c \
159tests/efreet/ef_ini.c \ 159tests/efreet/ef_ini.c \
160tests/efreet/ef_utils.c \ 160tests/efreet/ef_locale.c \
161tests/efreet/ef_desktop.c \
162tests/efreet/ef_menu.c \ 161tests/efreet/ef_menu.c \
163tests/efreet/ef_mime.c \ 162tests/efreet/ef_mime.c \
163tests/efreet/ef_test.h \
164tests/efreet/ef_utils.c \
164tests/efreet/main.c 165tests/efreet/main.c
165 166
166# efreet_spec_test 167# efreet_spec_test
@@ -222,6 +223,7 @@ check_PROGRAMS += tests/efreet/efreet_suite
222 223
223tests_efreet_efreet_suite_SOURCES = \ 224tests_efreet_efreet_suite_SOURCES = \
224tests/efreet/efreet_suite.c \ 225tests/efreet/efreet_suite.c \
226tests/efreet/efreet_suite.h \
225tests/efreet/efreet_test_efreet.c \ 227tests/efreet/efreet_test_efreet.c \
226tests/efreet/efreet_test_efreet_cache.c 228tests/efreet/efreet_test_efreet_cache.c
227 229
diff --git a/src/lib/efreet/efreet_private.h b/src/lib/efreet/efreet_private.h
index 9eaa9a5..3863596 100644
--- a/src/lib/efreet/efreet_private.h
+++ b/src/lib/efreet/efreet_private.h
@@ -190,9 +190,9 @@ int efreet_util_shutdown(void);
190const char *efreet_home_dir_get(void); 190const char *efreet_home_dir_get(void);
191void efreet_dirs_reset(void); 191void efreet_dirs_reset(void);
192 192
193const char *efreet_lang_get(void); 193EAPI const char *efreet_lang_get(void);
194const char *efreet_lang_country_get(void); 194EAPI const char *efreet_lang_country_get(void);
195const char *efreet_lang_modifier_get(void); 195EAPI const char *efreet_lang_modifier_get(void);
196EAPI const char *efreet_language_get(void); 196EAPI const char *efreet_language_get(void);
197 197
198size_t efreet_array_cat(char *buffer, size_t size, const char *strs[]); 198size_t efreet_array_cat(char *buffer, size_t size, const char *strs[]);
diff --git a/src/tests/efreet/ef_locale.c b/src/tests/efreet/ef_locale.c
index cfc50e2..f678580 100644
--- a/src/tests/efreet/ef_locale.c
+++ b/src/tests/efreet/ef_locale.c
@@ -1,5 +1,4 @@
1#include "Efreet.h" 1#include "Efreet.h"
2#include "efreet_private.h"
3#include <stdlib.h> 2#include <stdlib.h>
4#include <stdio.h> 3#include <stdio.h>
5#include <string.h> 4#include <string.h>
diff --git a/src/tests/efreet/main.c b/src/tests/efreet/main.c
index de6cf37..634431b 100644
--- a/src/tests/efreet/main.c
+++ b/src/tests/efreet/main.c
@@ -20,9 +20,7 @@ int ef_cb_efreet_icon_match(void);
20int ef_cb_ini_parse(void); 20int ef_cb_ini_parse(void);
21int ef_cb_ini_long_line(void); 21int ef_cb_ini_long_line(void);
22int ef_cb_ini_garbage(void); 22int ef_cb_ini_garbage(void);
23#if DEFAULT_VISIBILITY
24int ef_cb_locale(void); 23int ef_cb_locale(void);
25#endif
26int ef_cb_desktop_parse(void); 24int ef_cb_desktop_parse(void);
27int ef_cb_desktop_save(void); 25int ef_cb_desktop_save(void);
28int ef_cb_desktop_command_get(void); 26int ef_cb_desktop_command_get(void);
@@ -58,9 +56,7 @@ static Efreet_Test tests[] = {
58 {"INI Parsing", ef_cb_ini_parse}, 56 {"INI Parsing", ef_cb_ini_parse},
59 {"INI Long Line Parsing", ef_cb_ini_long_line}, 57 {"INI Long Line Parsing", ef_cb_ini_long_line},
60 {"INI Garbage Parsing", ef_cb_ini_garbage}, 58 {"INI Garbage Parsing", ef_cb_ini_garbage},
61#if DEFAULT_VISIBILITY
62 {"Locale Parsing", ef_cb_locale}, 59 {"Locale Parsing", ef_cb_locale},
63#endif
64 {"Desktop Parsing", ef_cb_desktop_parse}, 60 {"Desktop Parsing", ef_cb_desktop_parse},
65 {"Desktop Type Parsing", ef_cb_desktop_type_parse}, 61 {"Desktop Type Parsing", ef_cb_desktop_type_parse},
66 {"Desktop Save", ef_cb_desktop_save}, 62 {"Desktop Save", ef_cb_desktop_save},