From 0213692984f3b607c3522564ac71a02fabcfaa4b Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sun, 19 Feb 2006 15:29:14 +0000 Subject: [PATCH] reactivate the isotopes-reading-test svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=511331 --- libscience/tests/Makefile.am | 8 ++++---- libscience/tests/isotopereadingtest.cpp | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libscience/tests/Makefile.am b/libscience/tests/Makefile.am index e78896f..87b857c 100644 --- a/libscience/tests/Makefile.am +++ b/libscience/tests/Makefile.am @@ -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) diff --git a/libscience/tests/isotopereadingtest.cpp b/libscience/tests/isotopereadingtest.cpp index 6cf5187..de603a1 100644 --- a/libscience/tests/isotopereadingtest.cpp +++ b/libscience/tests/isotopereadingtest.cpp @@ -2,6 +2,7 @@ #include "../isotopeparser.h" #include "../isotope.h" +#include "../chemicaldataobject.h" #include #include @@ -22,6 +23,8 @@ int main(int argc, char *argv[]) QList v = parser->getIsotopes(); + kDebug() << "# of Isotopes found: " << v.count() << endl; + foreach( Isotope* e, v ){ if ( e ) { -- 2.47.3