MACRO(ADD_TESTS)
FOREACH( loop_var ${ARGV} )
- SET_SOURCE_FILES_PROPERTIES( ${loop_var}_test.cc COMPILE_FLAGS "-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN" )
+ SET_SOURCE_FILES_PROPERTIES( ${loop_var}_test.cc COMPILE_FLAGS "-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN -DBOOST_AUTO_TEST_MAIN=\"\" " )
ADD_EXECUTABLE( ${loop_var}_test ${loop_var}_test.cc )
TARGET_LINK_LIBRARIES( ${loop_var}_test zypp boost_unit_test_framework)
ADD_TEST( ${loop_var}_test ${CMAKE_CURRENT_BINARY_DIR}/${loop_var}_test)
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/InputStream.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/InputStream.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Easy.h"
#include "zypp/Url.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/OnMediaLocation.h"
#include "zypp/parser/yum/PatchesFileReader.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/parser/yum/RepomdFileReader.h"
#include "zypp/Url.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/ZYppFactory.h"
#include "zypp/Url.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/Url.h"
#include <fstream>
#include <vector>
#include <list>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/Url.h"
// Boost.Test
#include <boost/test/floating_point_comparison.hpp>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
// Boost.Test
#include <boost/test/floating_point_comparison.hpp>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/Capability.h"
#include <string>
// Boost.Test
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/Exception.h"
#include <list>
#include <string>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/Exception.h"
#include "zypp/base/Logger.h"
#include "zypp/Edition.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_case;
#include <stdio.h>
#include <iostream>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include <boost/test/parameterized_test.hpp>
#include <boost/test/unit_test_log.hpp>
#include "zypp/FileChecker.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "KeyRingTestReceiver.h"
#include "zypp/PublicKey.h"
#include "zypp/TmpPath.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "KeyRingTestReceiver.h"
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
-using namespace boost::unit_test::log;
using namespace std;
using namespace zypp;
#include <stdio.h>
#include <iostream>
-#include <boost/test/unit_test.hpp>
+#ifdef BOOST_AUTO_TEST_MAIN
+#undef BOOST_AUTO_TEST_MAIN
+#endif
+#include <boost/test/auto_unit_test.hpp>
#include <boost/test/parameterized_test.hpp>
#include <boost/test/unit_test_log.hpp>
#include <list>
#include <string>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/Exception.h"
#include <stdio.h>
#include <iostream>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/ZYppFactory.h"
#include "zypp/PoolQuery.h"
#include "zypp/base/Logger.h"
#include "zypp/base/Exception.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/ProgressData.h"
#include <iostream>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include <zypp/base/PtrTypes.h>
#include "zypp/PublicKey.h"
#include "zypp/TmpPath.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include <zypp/base/PtrTypes.h>
#include <string>
#include "zypp/RepoInfo.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include <boost/test/parameterized_test.hpp>
#include <boost/test/unit_test_log.hpp>
#include "zypp/RepoManager.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "KeyRingTestReceiver.h"
#include "zypp/RepoStatus.h"
#include "zypp/PathInfo.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/ResKind.h"
#include "zypp/base/Exception.h"
#include "zypp/Signature.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
#include "zypp/ZYppFactory.h"
#include "zypp/ZYpp.h"
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
#include <cassert>
// Boost.Test
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
using boost::unit_test::test_case;
using namespace zypp;
#include <string>
// Boost.Test
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/LogControl.h"
#include "zypp/base/Logger.h"
#include <map>
#include <string>
-#include <boost/test/unit_test.hpp>
+#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/Exception.h"
using boost::unit_test::test_suite;
using boost::unit_test::test_case;
using namespace boost::unit_test;
-using namespace boost::unit_test::log;
using namespace std;
using namespace zypp;