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
Experiments with session map template.
[metaproxy-moved-to-github.git]
/
src
/
test_filter2.cpp
diff --git
a/src/test_filter2.cpp
b/src/test_filter2.cpp
index
c1d34b2
..
9325f05
100644
(file)
--- a/
src/test_filter2.cpp
+++ b/
src/test_filter2.cpp
@@
-1,4
+1,4
@@
-/* $Id: test_filter2.cpp,v 1.11 2005-10-24 10:16:33 adam Exp $
+/* $Id: test_filter2.cpp,v 1.13 2005-10-26 10:55:26 marc Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-9,7
+9,7
@@
#include "config.hpp"
#include "filter.hpp"
#include "config.hpp"
#include "filter.hpp"
-#include "router.hpp"
+#include "router_chain.hpp"
#include "package.hpp"
#include <iostream>
#include "package.hpp"
#include <iostream>
@@
-130,9
+130,9
@@
BOOST_AUTO_TEST_CASE( testfilter2_1 )
yp2::RouterChain router1;
// test filter set/get/exception
yp2::RouterChain router1;
// test filter set/get/exception
- router1.rule(fc);
+ router1.append(fc);
- router1.rule(fd);
+ router1.append(fd);
yp2::Session session;
yp2::Origin origin;
yp2::Session session;
yp2::Origin origin;
@@
-147,8
+147,8
@@
BOOST_AUTO_TEST_CASE( testfilter2_1 )
{
yp2::RouterChain router2;
{
yp2::RouterChain router2;
- router2.rule(fd);
- router2.rule(fc);
+ router2.append(fd);
+ router2.append(fc);
yp2::Session session;
yp2::Origin origin;
yp2::Session session;
yp2::Origin origin;