X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=99aa27cb88dc2a997af7a788abb788685f7e16c7;hb=891f355967146e1f2d66e4dc44158a011282c87f;hp=1a30019f495254090ee5d880229c7be53a71fe4d;hpb=ec5548301e2549fc0f8d2f962aade24cb6f90d1b;p=metaproxy-moved-to-github.git
diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp
index 1a30019..99aa27c 100644
--- a/src/test_router_flexml.cpp
+++ b/src/test_router_flexml.cpp
@@ -1,4 +1,4 @@
-/* $Id: test_router_flexml.cpp,v 1.13 2006-01-09 13:43:59 adam Exp $
+/* $Id: test_router_flexml.cpp,v 1.14 2006-01-11 11:51:50 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
@@ -43,13 +43,13 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 )
" @:210\n"
" \n"
" \n"
- " mylog1.log\n"
+ " my msg\n"
" \n"
" \n"
" \n"
" \n"
" \n"
- " mylog2.log\n"
+ " other\n"
" \n"
" \n"
" \n"
@@ -95,7 +95,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_2 )
yp2::FactoryFilter factory;
yp2::RouterFleXML rflexml(xmlconf_invalid, factory);
}
- catch ( yp2::RouterFleXML::XMLError &e) {
+ catch ( yp2::XMLError &e) {
std::cout << "XMLError: " << e.what() << "\n";
got_error_as_expected = true;
}
@@ -121,7 +121,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 )
" @:210\n"
" \n"
" \n"
- " mylog.log\n"
+ " my msg\n"
" \n"
" \n"
" \n"