X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_filter1.cpp;h=162b2099a68d00e784a84cdf1e360e9aa52c498c;hb=77dee8966dd1304a0fb8540c3fc68d02dc6ce84a;hp=98809f4963c6176300a01ca3c5979330ae9cf8b5;hpb=f82b19f2b93707657fee804bd1242f2548d51ada;p=metaproxy-moved-to-github.git diff --git a/src/test_filter1.cpp b/src/test_filter1.cpp index 98809f4..162b209 100644 --- a/src/test_filter1.cpp +++ b/src/test_filter1.cpp @@ -1,4 +1,4 @@ -/* $Id: test_filter1.cpp,v 1.11 2005-10-15 14:09:09 adam Exp $ +/* $Id: test_filter1.cpp,v 1.14 2005-12-02 12:21:07 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -21,18 +21,13 @@ public: }; -BOOST_AUTO_TEST_CASE( test_filter1 ) +BOOST_AUTO_UNIT_TEST( test_filter1 ) { try{ TFilter filter; + - filter.name("filter1"); - - BOOST_CHECK (filter.name() == "filter1"); - - filter.name() = "filter1 rename"; - - BOOST_CHECK(filter.name() == "filter1 rename"); + BOOST_CHECK (sizeof(filter) > 0); } catch ( ... ) { BOOST_CHECK (false);