X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter_sru_to_z3950.cpp;h=d5558420ee2214e2955d8218379761ce4fda4630;hb=73f37c91c144b070020df2f27472c09b62367acf;hp=bce264b7788d4139fff8f299e0b07ee8d24dfaac;hpb=b1fd6c16f885972e0a68591b115edf120ffd7b21;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_sru_to_z3950.cpp b/src/test_filter_sru_to_z3950.cpp index bce264b..d555842 100644 --- a/src/test_filter_sru_to_z3950.cpp +++ b/src/test_filter_sru_to_z3950.cpp @@ -39,7 +39,7 @@ using namespace mp::util; BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_1 ) { - try + try { mp::filter::SRUtoZ3950 f_sru_to_z3950; } @@ -50,17 +50,17 @@ BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_1 ) BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_2 ) { - try + try { mp::RouterChain router; - + mp::filter::SRUtoZ3950 f_sru_to_z3950; - + router.append(f_sru_to_z3950); //check_sru_to_z3950_init(router); - //check_sru_to_z3950_search(router, - // "@attrset Bib-1 @attr 1=4 the", + //check_sru_to_z3950_search(router, + // "@attrset Bib-1 @attr 1=4 the", // "@attrset Bib-1 @attr 1=4 the"); } @@ -72,20 +72,20 @@ BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_2 ) // BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_3 ) // { - -// try + +// try // { // mp::RouterChain router; - -// std::string xmlconf = + +// std::string xmlconf = // "\n" // "\n" // "\n" // ; - + // //std::cout << xmlconf << std::endl; // // reading and parsing XML conf @@ -96,17 +96,17 @@ BOOST_AUTO_TEST_CASE( test_filter_sru_to_z3950_2 ) // // creating and configuring filter // mp::filter::SRUtoZ3950 f_sru_to_z3950; // f_sru_to_z3950.configure(root_element); - + // // remeber to free XML DOM // xmlFreeDoc(doc); - + // // add only filter to router // router.append(f_sru_to_z3950); // // start testing // check_sru_to_z3950_init(router); -// check_sru_to_z3950_search(router, -// "@attrset Bib-1 @attr 1=4 the", +// check_sru_to_z3950_search(router, +// "@attrset Bib-1 @attr 1=4 the", // "@attrset Bib-1 @attr 1=4 the"); // }