BOOST_AUTO_TEST_CASE(testcase_init)
{
- zypp::base::LogControl::instance().logToStdErr();
+// zypp::base::LogControl::instance().logToStdErr();
test.loadTestcaseRepos( TESTS_SRC_DIR"/data/TCSelectable" );
-/* dumpRange( USR, test.pool().knownRepositoriesBegin(),
- test.pool().knownRepositoriesEnd() ) << endl;
- USR << "pool: " << test.pool() << endl;*/
+// dumpRange( USR, test.pool().knownRepositoriesBegin(),
+// test.pool().knownRepositoriesEnd() ) << endl;
+// USR << "pool: " << test.pool() << endl;
}
/////////////////////////////////////////////////////////////////////////////
// }
BOOST_CHECK_EQUAL( s->candidateObj()->repoInfo().alias(), "RepoMID" );
BOOST_CHECK_EQUAL( s->candidateObj()->edition(), Edition("0-1") );
+ BOOST_CHECK_EQUAL( s->candidateObj()->arch(), Arch_i586 );
// no updateCandidate due to low version
BOOST_CHECK_EQUAL( s->updateCandidateObj(), PoolItem() );
}