X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=000ee0b44ffaa823d8dc95270e0cbb475e708e41;hb=111438f9a883ac784b4ce743a7e83fb8a5b3ff4d;hp=039eca55aa3519e21666ab46fe68665f765f7b9e;hpb=6ed3503878603e0bae8ab0ee62bf900b3a60f2ca;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index 039eca5..000ee0b 100644 --- a/src/test_router_flexml.cpp +++ b/src/test_router_flexml.cpp @@ -1,4 +1,4 @@ -/* $Id: test_router_flexml.cpp,v 1.6 2005-12-08 15:34:08 adam Exp $ +/* $Id: test_router_flexml.cpp,v 1.7 2005-12-08 22:32:58 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -28,23 +28,22 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) { std::string xmlconf = "\n" "\n" - "\n" - "\n" - "\n" - "210\n" - "\n" - "\n" - "mylog.log\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" + " \n" + " \n" + " \n" + " 210\n" + " \n" + " \n" + " mylog.log\n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" "\n"; - yp2::RouterFleXML rflexml(xmlconf); } catch ( ... ) { @@ -58,10 +57,12 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_2 ) try { std::string xmlconf_invalid = "\n" - "\n" - "\n" - "\n"; - + "\n" + " \n" + " \n" + " \n" + " 210\n"; + yp2::RouterFleXML rflexml(xmlconf_invalid); } catch ( yp2::RouterFleXML::XMLError &e) { @@ -79,21 +80,21 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 ) { std::string xmlconf = "\n" "\n" - " \n" - " \n" - " \n" + " \n" + " \n" + " \n" " 210\n" - " \n" - " \n" + " \n" + " \n" " mylog.log\n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" "\n"; yp2::RouterFleXML rflexml(xmlconf); @@ -104,7 +105,6 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 ) } - /* * Local variables: * c-basic-offset: 4