Hey David<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 5:56 PM, David Faure <span dir="ltr"><<a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All of the kdelibs unittest pass in 4.9 ... except for the nepomuk ones.<br>
<br>
The following tests FAILED:<br>
          1 - nepomuk-queryparsertest (Failed)<br>
          2 - nepomuk-querytest (Failed)<br>
          4 - nepomuk-resourcetest (Failed)<br>
          6 - nepomuk-dynamicresourcefacettest (Failed)<br>
<br></blockquote><div>I know<br><br>These tests are a pain to maintain cause they used to check the string value of the queries. One of my commits broke them. I'm in the process of writing new tests which actually runt the queries and test them properly.<br>
<br>ResourceTests: Around 3 tests fail, which I'm not sure how to fix right now, but they are minor issues.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The first failure is:<br>
<br>
FAIL!  : QueryParserTest::testQueryParser(simple field query) Compared values<br>
are not the same<br>
   Actual (q): <?xml version="1.0"?><query limit="0" offset="0"<br>
fullTextScoring="false" fullTextScoringOrder="desc" flags=""><or><comparison<br>
property="<a href="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#hasTag" target="_blank">http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#hasTag</a>"<br>
comparator=":" inverted="false"><literal<br>
datatype="<a href="http://www.w3.org/2001/XMLSchema#string" target="_blank">http://www.w3.org/2001/XMLSchema#string</a>">nepomuk</literal></comparison><comparison<br>
property="<a href="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag" target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag</a>"<br>
comparator=":" inverted="false"><literal<br>
datatype="<a href="http://www.w3.org/2001/XMLSchema#string" target="_blank">http://www.w3.org/2001/XMLSchema#string</a>">nepomuk</literal></comparison></or></query><br>
<br>
   Expected (query): <?xml version="1.0"?><query limit="0" offset="0"<br>
fullTextScoring="false" fullTextScoringOrder="desc" flags=""><or><comparison<br>
property="onto:/hasTag" comparator=":" inverted="false"><literal<br>
datatype="<a href="http://www.w3.org/2001/XMLSchema#string" target="_blank">http://www.w3.org/2001/XMLSchema#string</a>">nepomuk</literal></comparison><comparison<br>
property="onto:/tag" comparator=":" inverted="false"><literal<br>
datatype="<a href="http://www.w3.org/2001/XMLSchema#string" target="_blank">http://www.w3.org/2001/XMLSchema#string</a>">nepomuk</<br>
   Loc: [/d/kde/src/4/kdelibs/nepomuk/test/queryparsertest.cpp(153)]<br>
<br>
These two queries look *quite* different indeed. What happened?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a href="http://www.davidfaure.fr" target="_blank">http://www.davidfaure.fr</a><br>
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5<br>
<br>
_______________________________________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>