projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented FilterLog filter
[metaproxy-moved-to-github.git]
/
src
/
test_filter1.cpp
diff --git
a/src/test_filter1.cpp
b/src/test_filter1.cpp
index
b78a18a
..
592e6ce
100644
(file)
--- a/
src/test_filter1.cpp
+++ b/
src/test_filter1.cpp
@@
-12,9
+12,7
@@
using namespace boost::unit_test;
class TFilter: public yp2::Filter {
public:
class TFilter: public yp2::Filter {
public:
- yp2::Package & process(yp2::Package & package) const {
- return package;
- };
+ void process(yp2::Package & package) const {};
};
};
@@
-31,9
+29,6
@@
BOOST_AUTO_TEST_CASE( test_filter1 )
BOOST_CHECK(filter.name() == "filter1 rename");
}
BOOST_CHECK(filter.name() == "filter1 rename");
}
- //catch(std::runtime_error &e ){
- // BOOST_CHECK (true);
- //}
catch ( ... ) {
BOOST_CHECK (false);
}
catch ( ... ) {
BOOST_CHECK (false);
}