- rework the testsuite after new boost in factory broke it.
[platform/upstream/libzypp.git] / tests / zypp / Fetcher_test.cc
1 #include <stdio.h>
2 #include <iostream>
3 #include <boost/test/unit_test.hpp>
4 #include <boost/test/parameterized_test.hpp>
5 #include <boost/test/unit_test_log.hpp>
6
7 #include "zypp/MediaSetAccess.h"
8 #include "zypp/Fetcher.h"
9 #include "zypp/Url.h"
10
11 using std::cout;
12 using std::endl;
13 using std::string;
14 using namespace zypp;
15 using namespace zypp::media;
16 using namespace boost::unit_test;
17
18 #define DATADIR (Pathname(TESTS_SRC_DIR) + "/zypp/data/Fetcher/remote-site")
19
20 BOOST_AUTO_TEST_CASE(fetcher)
21 {
22   MediaSetAccess media( ("dir:" + DATADIR).asUrl(), "/" );
23   Fetcher fetcher;
24 }
25
26 // vim: set ts=2 sts=2 sw=2 ai et: