Author: schubi2
Date: Tue Apr 1 15:31:29 2008
New Revision: 9324
URL: http://svn.opensuse.org/viewcvs/zypp?rev=9324&view=rev
Log:
take care about the forceResolve in the testcases
Modified:
trunk/libzypp/zypp/solver/detail/Testcase.cc
trunk/libzypp/zypp/solver/detail/Testcase.h
Modified: trunk/libzypp/zypp/solver/detail/Testcase.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/Testcase.cc?rev=9324&r1=9323&r2=9324&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/Testcase.cc (original)
+++ trunk/libzypp/zypp/solver/detail/Testcase.cc Tue Apr 1 15:31:29 2008
@@ -378,7 +378,9 @@
HelixControl control (dumpPath + "/solver-test.xml",
repoTable,
ZConfig::instance().systemArchitecture(),
- pool.getRequestedLocales());
+ pool.getRequestedLocales(),
+ "solver-system.xml.gz",
+ resolver.forceResolve());
for (PoolItemList::const_iterator iter = items_to_install.begin(); iter != items_to_install.end(); iter++) {
control.installResolvable (iter->resolvable(), iter->status());
@@ -432,7 +434,8 @@
const RepositoryTable & repoTable,
const Arch & systemArchitecture,
const LocaleSet &languages,
- const std::string & systemPath)
+ const std::string & systemPath,
+ const bool forceResolve)
:dumpFile (controlPath)
{
file = new ofstream(controlPath.c_str());
@@ -468,6 +471,10 @@
*file << TAB << "