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
Added yp2::PlainFile class which reads Unix-style plain text files.
[metaproxy-moved-to-github.git]
/
src
/
test_filter_query_rewrite.cpp
diff --git
a/src/test_filter_query_rewrite.cpp
b/src/test_filter_query_rewrite.cpp
index
92d4343
..
4badebe
100644
(file)
--- a/
src/test_filter_query_rewrite.cpp
+++ b/
src/test_filter_query_rewrite.cpp
@@
-1,4
+1,4
@@
-/* $Id: test_filter_query_rewrite.cpp,v 1.4 2006-01-23 08:12:24 mike Exp $
+/* $Id: test_filter_query_rewrite.cpp,v 1.8 2006-01-23 08:23:37 mike Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-203,14
+203,18
@@
BOOST_AUTO_UNIT_TEST( test_filter_query_rewrite3 )
" <expression>@attr 1=4</expression>\n"
" <format>@attr 1=5 @attr 4=1</format>\n"
" </regex>\n"
" <expression>@attr 1=4</expression>\n"
" <format>@attr 1=5 @attr 4=1</format>\n"
" </regex>\n"
- " <regex action='scan'>\n"
+ " <regex action='scan' stop='1'>\n"
" <expression>fish</expression>\n"
" <format>mouse</format>\n"
" </regex>\n"
" <expression>fish</expression>\n"
" <format>mouse</format>\n"
" </regex>\n"
- " <regex action='finally'>\n"
+ " <regex action='all' when='finally'>\n"
" <expression>^</expression>\n"
" <format>@and @attr1=9999 vdb</format>\n"
" </regex>\n"
" <expression>^</expression>\n"
" <format>@and @attr1=9999 vdb</format>\n"
" </regex>\n"
+ " <test action='scan'><!-- unit-test for configuration -->\n"
+ " <in>@attr 1=4 foo</in>\n"
+ " <out>@attr 1=1034 fish</out>\n"
+ " </test>\n"
"</filter>\n"
;
"</filter>\n"
;