From a47da47844b8490e64284eb0494825020ff5dc6b Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sat, 21 Jan 2012 04:49:54 +0000 Subject: [PATCH] check if file was parsed fine. SVN revision: 67413 --- .../eina/src/tests/eina_test_simple_xml_parser.c | 3 ++- legacy/eina/src/tests/sample.gpx | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/legacy/eina/src/tests/eina_test_simple_xml_parser.c b/legacy/eina/src/tests/eina_test_simple_xml_parser.c index 94e6a2a..1e0c6f8 100644 --- a/legacy/eina/src/tests/eina_test_simple_xml_parser.c +++ b/legacy/eina/src/tests/eina_test_simple_xml_parser.c @@ -52,7 +52,8 @@ START_TEST(eina_simple_xml_parser_node_dump) Eina_Simple_XML_Node_Root *root = eina_simple_xml_node_load (buf, sz, EINA_TRUE); char *out = eina_simple_xml_node_dump(&root->base, " "); - puts(out); + //puts(out); + ck_assert_str_eq(out, buf); free(out); eina_simple_xml_node_root_free(root); free(buf); diff --git a/legacy/eina/src/tests/sample.gpx b/legacy/eina/src/tests/sample.gpx index fca921d..e1db971 100644 --- a/legacy/eina/src/tests/sample.gpx +++ b/legacy/eina/src/tests/sample.gpx @@ -1,20 +1,24 @@ - - OpenStreetMap routing service + + OpenStreetMap routing service + - + - - Route + + Route + - - - - + + + + -- 2.7.4