-/* $Id: test_filter_factory.cpp,v 1.4 2005-10-31 09:40:18 marc Exp $
+/* $Id: test_filter_factory.cpp,v 1.6 2005-12-02 12:21:07 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
}
-
-//int main(int argc, char **argv)
-BOOST_AUTO_TEST_CASE( test_filter_factory_1 )
+BOOST_AUTO_UNIT_TEST( test_filter_factory_1 )
{
try {
- yp2::filter::FilterFactory ffactory;
+ yp2::FilterFactory ffactory;
XFilter xf;
YFilter yf;
BOOST_CHECK(0 != xfilter);
BOOST_CHECK(0 != yfilter);
-
- }
+ }
catch ( ... ) {
throw;
BOOST_CHECK (false);
std::exit(0);
}
+// get function - right val in assignment
+//std::string name() const {
+//return m_name;
+// return "Base";
+//}
+// set function - left val in assignment
+//std::string & name() {
+// return m_name;
+//}
+// set function - can be chained
+//Base & name(const std::string & name){
+// m_name = name;
+// return *this;
+//}
- // get function - right val in assignment
- //std::string name() const {
- //return m_name;
- // return "Base";
- //}
-
- // set function - left val in assignment
- //std::string & name() {
- // return m_name;
- //}
-
- // set function - can be chained
- //Base & name(const std::string & name){
- // m_name = name;
- // return *this;
- //}
-
-
/*
* Local variables:
* c-basic-offset: 4