[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/nepomuk/test
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-08-02 13:17:13
Message-ID: 20100802131713.A7722AC7E8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1158300 by trueg:

Use the new SPARQL flag to disable the instance base restriction which we do not test here.

 M  +2 -2      querytest.cpp  


--- trunk/KDE/kdelibs/nepomuk/test/querytest.cpp #1158299:1158300
@@ -421,8 +421,8 @@
     QFETCH( Nepomuk::Query::Query, query );
     QFETCH( QString, queryString );
 
-//    kDebug() << query;
-    QCOMPARE( query.toSparqlQuery().simplified(), queryString );
+    // we test without result restrictions which always look the same anyway
+    QCOMPARE( query.toSparqlQuery( Query::NoResultRestrictions ).simplified(), queryString );
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic