Imported Upstream version 17.23.5
[platform/upstream/libzypp.git] / tests / zypp / Deltarpm_test.cc
index 4bed7e4..e36c970 100644 (file)
@@ -6,19 +6,20 @@
 
 #include <boost/test/unit_test.hpp>
 
-#include "zypp/base/Logger.h"
-#include "zypp/base/Exception.h"
-#include "zypp/TmpPath.h"
-#include "zypp/PathInfo.h"
-#include "zypp/RepoManager.h"
-#include "zypp/sat/Pool.h"
-#include "zypp/repo/DeltaCandidates.h"
-#include "zypp/repo/PackageDelta.h"
+#include <zypp/base/Logger.h>
+#include <zypp/base/Exception.h>
+#include <zypp/TmpPath.h>
+#include <zypp/PathInfo.h>
+#include <zypp/RepoManager.h>
+#include <zypp/sat/Pool.h>
+#include <zypp/repo/DeltaCandidates.h>
+#include <zypp/repo/PackageDelta.h>
 #include "KeyRingTestReceiver.h"
 
 using boost::unit_test::test_case;
 
-using namespace std;
+using std::cout;
+using std::endl;
 using namespace zypp;
 using namespace zypp::repo;
 using namespace zypp::filesystem;
@@ -43,11 +44,11 @@ BOOST_AUTO_TEST_CASE(delta)
   }
   catch (const Exception & e)
   {
-    BOOST_FAIL( string("Problem getting the data: ")+ e.msg()) ;
+    BOOST_FAIL( std::string("Problem getting the data: ")+ e.msg()) ;
   }
   sat::Pool pool(sat::Pool::instance());
 
-  repo::DeltaCandidates dc(list<Repository>(pool.reposBegin(),pool.reposEnd()), "libzypp");
+  repo::DeltaCandidates dc(std::list<Repository>(pool.reposBegin(),pool.reposEnd()), "libzypp");
 
   std::list<packagedelta::DeltaRpm> deltas = dc.deltaRpms(0);
   for_ (it,deltas.begin(),deltas.end())