This isn't correct.
<Parent> <!-- <!-- comment --> <Child>Text</Child> --> </Parent> Technically would be parsed as: Parent Tag Child Tag Text Node - "Text" Text Node "-->" But, we ignore text nodes after the first child node anyway. SVN revision: 29742
This commit is contained in:
parent
89b58e232d
commit
3aed040af1
|
@ -1,7 +1,7 @@
|
||||||
#ifndef COMP_H
|
#ifndef COMP_H
|
||||||
#define COMP_H
|
#define COMP_H
|
||||||
|
|
||||||
#define LOOPS 1000
|
#define LOOPS 1
|
||||||
#define THEME "Tango"
|
#define THEME "Tango"
|
||||||
#define SIZE "16x16"
|
#define SIZE "16x16"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ long.ini \
|
||||||
test.desktop \
|
test.desktop \
|
||||||
test_type.desktop \
|
test_type.desktop \
|
||||||
test.menu \
|
test.menu \
|
||||||
test_menu_bad_comment.menu \
|
|
||||||
test_menu_slash_bad.menu \
|
test_menu_slash_bad.menu \
|
||||||
preferences.menu
|
preferences.menu
|
||||||
|
|
||||||
|
|
|
@ -59,21 +59,6 @@ ef_cb_menu_with_slashes(void)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
ef_cb_menu_with_bad_comment(void)
|
|
||||||
{
|
|
||||||
Efreet_Menu *menu;
|
|
||||||
|
|
||||||
menu = efreet_menu_parse(PACKAGE_DATA_DIR"/efreet/test/test_menu_bad_comment.menu");
|
|
||||||
if (!menu)
|
|
||||||
{
|
|
||||||
printf("efreet_menu_get() returned NULL\n");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
ef_cb_menu_save(void)
|
ef_cb_menu_save(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,6 @@ int ef_cb_desktop_file_id(void);
|
||||||
#endif
|
#endif
|
||||||
int ef_cb_menu_get(void);
|
int ef_cb_menu_get(void);
|
||||||
int ef_cb_menu_with_slashes(void);
|
int ef_cb_menu_with_slashes(void);
|
||||||
int ef_cb_menu_with_bad_comment(void);
|
|
||||||
int ef_cb_menu_save(void);
|
int ef_cb_menu_save(void);
|
||||||
#if 0
|
#if 0
|
||||||
int ef_cb_menu_edit(void);
|
int ef_cb_menu_edit(void);
|
||||||
|
@ -59,7 +58,6 @@ static Efreet_Test tests[] = {
|
||||||
#endif
|
#endif
|
||||||
{"Menu Parsing", ef_cb_menu_get},
|
{"Menu Parsing", ef_cb_menu_get},
|
||||||
{"Menu Incorrect Names", ef_cb_menu_with_slashes},
|
{"Menu Incorrect Names", ef_cb_menu_with_slashes},
|
||||||
{"Menu Bad Comment", ef_cb_menu_with_bad_comment},
|
|
||||||
{"Menu Save", ef_cb_menu_save},
|
{"Menu Save", ef_cb_menu_save},
|
||||||
#if 0
|
#if 0
|
||||||
{"Menu Edit", ef_cb_menu_edit},
|
{"Menu Edit", ef_cb_menu_edit},
|
||||||
|
|
Loading…
Reference in New Issue