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

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi/tests
From:       Volker Krause <vkrause () kde ! org>
Date:       2009-01-25 20:55:16
Message-ID: 1232916916.180727.4993.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 916727 by vkrause:

adapt to the new test environment


 M  +5 -3      collectioncopytest.cpp  
 A             test_utils.h   [License: LGPL (v2+)]


--- trunk/KDE/kdepimlibs/akonadi/tests/collectioncopytest.cpp #916726:916727
@@ -23,7 +23,7 @@
 
 #include <QtCore/QObject>
 
-#include <qtest_akonadi.h>
+#include "test_utils.h"
 
 using namespace Akonadi;
 
@@ -38,8 +38,10 @@
 
     void testCopy()
     {
-      const Collection target( 8 );
-      const Collection source( 10 );
+      const Collection target( collectionIdFromPath( "res3" ) );
+      const Collection source( collectionIdFromPath( "res1/foo" ) );
+      QVERIFY( target.isValid() );
+      QVERIFY( source.isValid() );
 
       CollectionCopyJob *copy = new CollectionCopyJob( source, target );
       QVERIFY( copy->exec() );
[prev in list] [next in list] [prev in thread] [next in thread] 

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