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
filter factory in working shape, see example in test_filer_factory.cpp
[metaproxy-moved-to-github.git]
/
src
/
test_filter_backend_test.cpp
diff --git
a/src/test_filter_backend_test.cpp
b/src/test_filter_backend_test.cpp
index
f3db9ee
..
f1836b5
100644
(file)
--- a/
src/test_filter_backend_test.cpp
+++ b/
src/test_filter_backend_test.cpp
@@
-1,4
+1,4
@@
-/* $Id: test_filter_backend_test.cpp,v 1.2 2005-10-26 10:21:03 marc Exp $
+/* $Id: test_filter_backend_test.cpp,v 1.4 2005-10-26 18:53:49 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-8,7
+8,7
@@
#include <iostream>
#include <stdexcept>
#include <iostream>
#include <stdexcept>
-#include "test_util.hpp"
+#include "util.hpp"
#include "filter_backend_test.hpp"
#include "filter_log.hpp"
#include "filter_backend_test.hpp"
#include "filter_log.hpp"
@@
-42,7
+42,7
@@
BOOST_AUTO_TEST_CASE( test_filter_backend_test_2 )
yp2::RouterChain router;
yp2::filter::Backend_test btest;
yp2::RouterChain router;
yp2::filter::Backend_test btest;
- router.rule(btest);
+ router.append(btest);
yp2::Package pack;
yp2::Package pack;
@@
-81,7
+81,7
@@
BOOST_AUTO_TEST_CASE( test_filter_backend_test_3 )
yp2::RouterChain router;
yp2::filter::Backend_test btest;
yp2::RouterChain router;
yp2::filter::Backend_test btest;
- router.rule(btest);
+ router.append(btest);
yp2::Package pack;
yp2::Package pack;
@@
-129,7
+129,7
@@
BOOST_AUTO_TEST_CASE( test_filter_backend_test_4 )
yp2::RouterChain router;
yp2::filter::Backend_test btest;
yp2::RouterChain router;
yp2::filter::Backend_test btest;
- router.rule(btest);
+ router.append(btest);
yp2::Package pack;
yp2::Package pack;