]> Git trees. - libqmvoc.git/commitdiff
reactivate the isotopes-reading-test
authorCarsten Niehaus <cniehaus@gmx.de>
Sun, 19 Feb 2006 15:29:14 +0000 (15:29 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Sun, 19 Feb 2006 15:29:14 +0000 (15:29 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=511331

libscience/tests/Makefile.am
libscience/tests/isotopereadingtest.cpp

index e78896f6501345ed867afe20aa086c24b8dd56d7..87b857cfdce6ff20f6c0332c9461a2a31ac75450 100644 (file)
@@ -2,15 +2,15 @@ INCLUDES = -I$(top_srcdir)/libkdeedu/libscience $(all_includes)
 
 AM_LDFLAGS = $(QT_LDFLAGS) $(X_LDFLAGS) $(KDE_RPATH)
 
-check_PROGRAMS = xmlreadingtest isotopereadingtest cmlspectest
+check_PROGRAMS = xmlreadingtest isotopereadingtest #cmlspectest
 
 xmlreadingtest_SOURCES = xmlreadingtest.cpp
 xmlreadingtest_LDFLAGS = $(all_libraries)
 xmlreadingtest_LDADD = ../libscience.la
 
-#isotopereadingtest_SOURCES = isotopereadingtest.cpp
-#isotopereadingtest_LDFLAGS = $(all_libraries)
-#isotopereadingtest_LDADD = ../libscience.la
+isotopereadingtest_SOURCES = isotopereadingtest.cpp
+isotopereadingtest_LDFLAGS = $(all_libraries)
+isotopereadingtest_LDADD = ../libscience.la
 
 #cmlspectest_SOURCES = cmlspectest.cpp
 #cmlspectest_LDFLAGS = $(all_libraries)
index 6cf51870c64d16394fd434ca4a7402397b7e4503..de603a19b99959c4fc6764893a70bff38ae3d96f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "../isotopeparser.h"
 #include "../isotope.h"
+#include "../chemicaldataobject.h"
 #include <kdebug.h>
 #include <iostream>
 
@@ -22,6 +23,8 @@ int main(int argc, char *argv[])
 
        QList<Isotope*> v = parser->getIsotopes();
 
+       kDebug() << "# of Isotopes found: " << v.count() << endl;
+
        foreach( Isotope* e, v ){
                if ( e )
                {