From: Stanislav Visnovsky Date: Mon, 13 Feb 2006 17:33:06 +0000 (+0000) Subject: compile X-Git-Tag: BASE-SuSE-SLE-10-SP2-Branch~2252 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed8d6eab57158ff7ec8a7b00634b001d8ead9e9e;p=platform%2Fupstream%2Flibzypp.git compile --- diff --git a/testsuite/source/tests/ProductMetadataParserTest.cc b/testsuite/source/tests/ProductMetadataParserTest.cc index 3998520..e0dac90 100644 --- a/testsuite/source/tests/ProductMetadataParserTest.cc +++ b/testsuite/source/tests/ProductMetadataParserTest.cc @@ -13,10 +13,13 @@ int main() { ProductMetadataParser parser; Product::Ptr product; + + Source_Ref src; + try { - product = parseContentFile(Pathname("products/content.1.txt")); + product = parseContentFile(Pathname("products/content.1.txt"), src); //DBG << "arch: " << entry.arch["x86_64"].size() << std::endl; - product = parseContentFile(Pathname("products/NOTTHERE.txt")); + product = parseContentFile(Pathname("products/NOTTHERE.txt"), src); //DBG << "arch: " << entry.arch["x86_64"].size() << std::endl; } catch (Exception & excpt_r) {