X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=c45828681f284e0add4404ae82bc46ecc791fc40;hb=77dee8966dd1304a0fb8540c3fc68d02dc6ce84a;hp=e9eec52f081822eb836eae464731488db4294c54;hpb=c859210e9c315c0f15c93fc6f65477a6c3e65d14;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index e9eec52..c458286 100644 --- a/src/test_router_flexml.cpp +++ b/src/test_router_flexml.cpp @@ -1,4 +1,4 @@ -/* $Id: test_router_flexml.cpp,v 1.1 2005-10-26 14:12:00 marc Exp $ +/* $Id: test_router_flexml.cpp,v 1.5 2005-12-02 12:21:07 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -22,35 +22,34 @@ public: }; -BOOST_AUTO_TEST_CASE( test_router_flexml_1 ) +BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) { try{ - TFilter filter; - - std::string xmlconf = "" - "" - "" - "" - "" - "210" - "" - "" - "mylog.log" - "" - "" - "" - "" - "" - "" - "" - "" - ""; + std::string xmlconf = "\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); - + BOOST_CHECK (true); - + //BOOST_CHECK_EQUAL(filter.name(), std::string("filter1")); }