-/* $Id: test_filter1.cpp,v 1.12 2005-10-29 22:23:36 marc Exp $
+/* $Id: test_filter1.cpp,v 1.14 2005-12-02 12:21:07 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
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_filter1 )
+BOOST_AUTO_UNIT_TEST( test_filter1 )
{
try{
TFilter filter;
- BOOST_CHECK (filter.type() == "TFilter");
+ BOOST_CHECK (sizeof(filter) > 0);
}
catch ( ... ) {
BOOST_CHECK (false);