ADD_EXECUTABLE( RepoInfo RepoInfo_test.cc )
TARGET_LINK_LIBRARIES( RepoInfo zypp boost_unit_test_framework )
+ADD_EXECUTABLE( RepoStatus RepoStatus_test.cc )
+TARGET_LINK_LIBRARIES( RepoStatus zypp boost_unit_test_framework )
+
ADD_EXECUTABLE( ProgressData ProgressData_test.cc )
TARGET_LINK_LIBRARIES( ProgressData zypp boost_unit_test_framework )
ADD_TEST(ProgressData_test ${CMAKE_CURRENT_BINARY_DIR}/ProgressData)
ADD_TEST(Vendor1Test ${CMAKE_CURRENT_BINARY_DIR}/Vendor1)
ADD_TEST(Vendor2Test ${CMAKE_CURRENT_BINARY_DIR}/Vendor2)
+ADD_TEST(RepoStatus ${CMAKE_CURRENT_BINARY_DIR}/RepoStatus)
--- /dev/null
+
+#include "zypp/base/Logger.h"
+#include "zypp/base/Exception.h"
+#include "zypp/TmpPath.h"
+#include "zypp/RepoStatus.h"
+#include "zypp/PathInfo.h"
+
+#include <boost/test/unit_test.hpp>
+#include <boost/test/parameterized_test.hpp>
+#include <boost/test/unit_test_log.hpp>
+
+using boost::unit_test::test_suite;
+using boost::unit_test::test_case;
+using namespace boost::unit_test::log;
+
+using namespace std;
+using namespace zypp;
+using namespace zypp::filesystem;
+using namespace zypp::repo;
+
+void repostatus_test()
+{
+ TmpDir tmpPath;
+ RepoStatus status;
+}
+
+test_suite*
+init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test= BOOST_TEST_SUITE( "RepoStatus" );
+ test->add( BOOST_TEST_CASE( &repostatus_test ), 0 /* expected zero error */ );
+ return test;
+}
+