X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=23d93390d839b9b9e844c74d06d06928fcdceb0c;hb=7752c2db540a9964268fb4280fd50bce2e495dce;hp=2aac9e568ea9ed6a22d823d8049800f77957faf1;hpb=7467b072bb64f5c8575daa9917cce7df62d832f1;p=metaproxy-moved-to-github.git
diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp
index 2aac9e5..23d9339 100644
--- a/src/test_router_flexml.cpp
+++ b/src/test_router_flexml.cpp
@@ -1,4 +1,4 @@
-/* $Id: test_router_flexml.cpp,v 1.2 2005-10-29 22:23:36 marc Exp $
+/* $Id: test_router_flexml.cpp,v 1.4 2005-10-31 11:59:08 marc Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
@@ -19,41 +19,37 @@ using namespace boost::unit_test;
class TFilter: public yp2::filter::Base {
public:
void process(yp2::Package & package) const {};
- const std::string type() const {
- return "TFilter";
- };
};
BOOST_AUTO_TEST_CASE( 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"));
}