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
Notes on Boost version.
[metaproxy-moved-to-github.git]
/
src
/
test_filter_record_transform.cpp
diff --git
a/src/test_filter_record_transform.cpp
b/src/test_filter_record_transform.cpp
index
ec966c9
..
8751b30
100644
(file)
--- a/
src/test_filter_record_transform.cpp
+++ b/
src/test_filter_record_transform.cpp
@@
-1,4
+1,4
@@
-/* $Id: test_filter_record_transform.cpp,v 1.6 2007-05-09 21:23:09 adam Exp $
+/* $Id: test_filter_record_transform.cpp,v 1.8 2008-02-20 15:07:53 adam Exp $
Copyright (c) 2005-2007, Index Data.
This file is part of Metaproxy.
Copyright (c) 2005-2007, Index Data.
This file is part of Metaproxy.
@@
-31,6
+31,7
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
//#include <stdexcept>
#define BOOST_AUTO_TEST_MAIN
//#include <stdexcept>
#define BOOST_AUTO_TEST_MAIN
+#define BOOST_TEST_DYN_LINK
#include <boost/test/auto_unit_test.hpp>
#include <iostream>
#include <boost/test/auto_unit_test.hpp>
#include <iostream>
@@
-43,7
+44,7
@@
namespace mp = metaproxy_1;
-BOOST_AUTO_UNIT_TEST( test_filter_record_transform_1 )
+BOOST_AUTO_TEST_CASE( test_filter_record_transform_1 )
{
try
{
{
try
{
@@
-54,7
+55,7
@@
BOOST_AUTO_UNIT_TEST( test_filter_record_transform_1 )
}
}
}
}
-BOOST_AUTO_UNIT_TEST( test_filter_record_transform_2 )
+BOOST_AUTO_TEST_CASE( test_filter_record_transform_2 )
{
try
{
{
try
{
@@
-76,7
+77,7
@@
BOOST_AUTO_UNIT_TEST( test_filter_record_transform_2 )
}
}
-BOOST_AUTO_UNIT_TEST( test_filter_record_transform_3 )
+BOOST_AUTO_TEST_CASE( test_filter_record_transform_3 )
{
{
@@
-110,7
+111,7
@@
BOOST_AUTO_UNIT_TEST( test_filter_record_transform_3 )
// creating and configuring filter
mp::filter::RecordTransform f_rec_trans;
// creating and configuring filter
mp::filter::RecordTransform f_rec_trans;
- f_rec_trans.configure(root_element);
+ f_rec_trans.configure(root_element, true);
// remeber to free XML DOM
xmlFreeDoc(doc);
// remeber to free XML DOM
xmlFreeDoc(doc);