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

List:       kde-commits
Subject:    kdesupport/eigen/tests
From:       Carsten Niehaus <cniehaus () gmx ! de>
Date:       2006-10-28 10:56:57
Message-ID: 1162033017.974484.23920.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 599723 by cniehaus:

To compile the tests enter $BUILDDIR and perform

qmake $SRCDIR/tests.pro
make


The CMake-stuff is no longer needed


 D             CMakeLists.txt  
 M  +10 -5     maintest.cpp  
 D             maintest.h  
 A             tests.pro  


--- trunk/kdesupport/eigen/tests/maintest.cpp #599722:599723
@@ -1,5 +1,5 @@
 /*  This file is part of the KDE project
-    Copyright (C) 2006 Matthias Kretz <kretz@kde.org>
+    Copyright (C) 2006 Benoit Jacob 
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2
@@ -14,17 +14,22 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
     02110-1301, USA.
-
 */
 
-#include "maintest.h"
-#include <qtest_kde.h>
+#include <QtTest/QtTest>
 
+class MainTest : public QObject
+{
+	Q_OBJECT
+	private slots:
+		void checkLinearSolver( int repeat);
+};
+
 void MainTest::checkLinearSolver( int repeat )
 {
 }
 
 
-QTEST_KDEMAIN( MainTest, NoGUI )
+QTEST_MAIN( MainTest )
 #include "maintest.moc"
 // vim: sw=4 ts=4 noet
[prev in list] [next in list] [prev in thread] [next in thread] 

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