kdevcppunit-commits Mailing List for KDevCppUnit
Status: Pre-Alpha
Brought to you by:
ewald-arnold
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
(6) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Ewald A. <ewa...@us...> - 2005-02-20 17:26:53
|
Update of /cvsroot/kdevcppunit/kdevcppunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7455 Modified Files: Doxyfile Makefile.am configure.in kdevcppunit.kdevelop kdevcppunit.lsm Added Files: fd-sik.excl usb-sik Log Message: restructured file tree Index: Doxyfile =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/Doxyfile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Doxyfile 12 Feb 2005 21:53:24 -0000 1.3 --- Doxyfile 20 Feb 2005 17:26:07 -0000 1.4 *************** *** 8,12 **** OUTPUT_DIRECTORY = docs CREATE_SUBDIRS = NO ! OUTPUT_LANGUAGE = German USE_WINDOWS_ENCODING = NO BRIEF_MEMBER_DESC = YES --- 8,12 ---- OUTPUT_DIRECTORY = docs CREATE_SUBDIRS = NO ! OUTPUT_LANGUAGE = English USE_WINDOWS_ENCODING = NO BRIEF_MEMBER_DESC = YES *************** *** 27,31 **** FULL_PATH_NAMES = NO STRIP_FROM_PATH = /home/ewald/ ! STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO --- 27,31 ---- FULL_PATH_NAMES = NO STRIP_FROM_PATH = /home/ewald/ ! STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO *************** *** 35,39 **** DISTRIBUTE_GROUP_DOC = NO TAB_SIZE = 1 ! ALIASES = OPTIMIZE_OUTPUT_FOR_C = NO OPTIMIZE_OUTPUT_JAVA = NO --- 35,39 ---- DISTRIBUTE_GROUP_DOC = NO TAB_SIZE = 1 ! ALIASES = OPTIMIZE_OUTPUT_FOR_C = NO OPTIMIZE_OUTPUT_JAVA = NO *************** *** 63,67 **** GENERATE_BUGLIST = YES GENERATE_DEPRECATEDLIST= YES ! ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES --- 63,67 ---- GENERATE_BUGLIST = YES GENERATE_DEPRECATEDLIST= YES ! ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES *************** *** 74,78 **** WARN_IF_DOC_ERROR = YES WARN_FORMAT = "$file:$line: $text" ! WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files --- 74,78 ---- WARN_IF_DOC_ERROR = YES WARN_FORMAT = "$file:$line: $text" ! WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files *************** *** 83,94 **** *.cpp RECURSIVE = NO ! EXCLUDE = EXCLUDE_SYMLINKS = NO ! EXCLUDE_PATTERNS = ! EXAMPLE_PATH = EXAMPLE_PATTERNS = * EXAMPLE_RECURSIVE = NO ! IMAGE_PATH = ! INPUT_FILTER = FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- --- 83,94 ---- *.cpp RECURSIVE = NO ! EXCLUDE = EXCLUDE_SYMLINKS = NO ! EXCLUDE_PATTERNS = ! EXAMPLE_PATH = EXAMPLE_PATTERNS = * EXAMPLE_RECURSIVE = NO ! IMAGE_PATH = ! INPUT_FILTER = FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- *************** *** 106,110 **** ALPHABETICAL_INDEX = NO COLS_IN_ALPHA_INDEX = 5 ! IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output --- 106,110 ---- ALPHABETICAL_INDEX = NO COLS_IN_ALPHA_INDEX = 5 ! IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output *************** *** 113,123 **** HTML_OUTPUT = html HTML_FILE_EXTENSION = .html ! HTML_HEADER = ! HTML_FOOTER = ! HTML_STYLESHEET = HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO ! CHM_FILE = ! HHC_LOCATION = GENERATE_CHI = NO BINARY_TOC = NO --- 113,123 ---- HTML_OUTPUT = html HTML_FILE_EXTENSION = .html ! HTML_HEADER = ! HTML_FOOTER = ! HTML_STYLESHEET = HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO ! CHM_FILE = ! HHC_LOCATION = GENERATE_CHI = NO BINARY_TOC = NO *************** *** 136,141 **** COMPACT_LATEX = NO PAPER_TYPE = a4wide ! EXTRA_PACKAGES = ! LATEX_HEADER = PDF_HYPERLINKS = NO USE_PDFLATEX = NO --- 136,141 ---- COMPACT_LATEX = NO PAPER_TYPE = a4wide ! EXTRA_PACKAGES = ! LATEX_HEADER = PDF_HYPERLINKS = NO USE_PDFLATEX = NO *************** *** 149,154 **** COMPACT_RTF = NO RTF_HYPERLINKS = NO ! RTF_STYLESHEET_FILE = ! RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output --- 149,154 ---- COMPACT_RTF = NO RTF_HYPERLINKS = NO ! RTF_STYLESHEET_FILE = ! RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output *************** *** 161,168 **** # configuration options related to the XML output #--------------------------------------------------------------------------- ! GENERATE_XML = YES XML_OUTPUT = xml ! XML_SCHEMA = ! XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- --- 161,168 ---- # configuration options related to the XML output #--------------------------------------------------------------------------- ! GENERATE_XML = NO XML_OUTPUT = xml ! XML_SCHEMA = ! XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- *************** *** 176,182 **** PERLMOD_LATEX = NO PERLMOD_PRETTY = YES ! PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- ! # Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES --- 176,182 ---- PERLMOD_LATEX = NO PERLMOD_PRETTY = YES ! PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- ! # Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES *************** *** 184,196 **** EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES ! INCLUDE_PATH = ! INCLUDE_FILE_PATTERNS = ! PREDEFINED = ! EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- ! # Configuration::additions related to external references #--------------------------------------------------------------------------- ! TAGFILES = GENERATE_TAGFILE = docs/kcppunit.tag ALLEXTERNALS = NO --- 184,196 ---- EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES ! INCLUDE_PATH = ! INCLUDE_FILE_PATTERNS = ! PREDEFINED = ! EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- ! # Configuration::additions related to external references #--------------------------------------------------------------------------- ! TAGFILES = GENERATE_TAGFILE = docs/kcppunit.tag ALLEXTERNALS = NO *************** *** 198,202 **** PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- ! # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES --- 198,202 ---- PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- ! # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES *************** *** 212,217 **** GRAPHICAL_HIERARCHY = YES DOT_IMAGE_FORMAT = png ! DOT_PATH = ! DOTFILE_DIRS = MAX_DOT_GRAPH_WIDTH = 1024 MAX_DOT_GRAPH_HEIGHT = 1024 --- 212,217 ---- GRAPHICAL_HIERARCHY = YES DOT_IMAGE_FORMAT = png ! DOT_PATH = ! DOTFILE_DIRS = MAX_DOT_GRAPH_WIDTH = 1024 MAX_DOT_GRAPH_HEIGHT = 1024 *************** *** 220,224 **** DOT_CLEANUP = YES #--------------------------------------------------------------------------- ! # Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = YES --- 220,224 ---- DOT_CLEANUP = YES #--------------------------------------------------------------------------- ! # Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = YES Index: kdevcppunit.kdevelop =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/kdevcppunit.kdevelop,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kdevcppunit.kdevelop 12 Feb 2005 21:53:24 -0000 1.7 --- kdevcppunit.kdevelop 20 Feb 2005 17:26:07 -0000 1.8 *************** *** 41,44 **** --- 41,46 ---- <runarguments> <kcppunit/> + <kcppunit_test/> + <kdevcppunit_launcher/> </runarguments> </run> *************** *** 60,64 **** <envvars/> <topsourcedir/> ! <cppflags/> <ldflags/> <ccompilerbinary/> --- 62,66 ---- <envvars/> <topsourcedir/> ! <cppflags>-fexceptions</cppflags> <ldflags/> <ccompilerbinary/> Index: kdevcppunit.lsm =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/kdevcppunit.lsm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kdevcppunit.lsm 6 Feb 2005 20:30:14 -0000 1.1 --- kdevcppunit.lsm 20 Feb 2005 17:26:07 -0000 1.2 *************** *** 5,14 **** Description: Plugin for CppUnit support in KDevelop Keywords: unittest, mock, mocking objects, c++ ! Author: Ewald Arnold <mo...@ew...> ! Maintained-by: Ewald Arnold <mo...@ew...> Primary-site: ! Home-page: http://mockpp.sourceforge.net Original-site: ! Platforms: Platform independent (at least intended to be :-) ! Copying-policy: GNU Lesser General Public License End --- 5,14 ---- Description: Plugin for CppUnit support in KDevelop Keywords: unittest, mock, mocking objects, c++ ! Author: Ewald Arnold <kde...@ew...> ! Maintained-by: Ewald Arnold <kde...@ew...> Primary-site: ! Home-page: http://kdevcppunit.sourceforge.net Original-site: ! Platforms: KDE ! Copying-policy: GNU General Public License End --- NEW FILE: usb-sik --- DATE=`date +%Y-%m-%d,%H-%M` TARBALL=kdevcppunit-$DATE.tar.bz2 STICKS="/media/usb-TSEInc-USBMassStorageDevice:0:0:0p1 /media/usb-3526173F9C8892EE:0:0:0p1 \ /net_home \ /home " for stick in $STICKS; do echo $stick bak=$stick/backup test -d $bak && (cd .. && tar cfjv $bak/$TARBALL kdevcppunit --exclude-from=kdevcppunit/fd-sik.excl ; ls -l $bak) done; sync Index: configure.in =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/configure.in,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** configure.in 6 Feb 2005 20:33:48 -0000 1.1 --- configure.in 20 Feb 2005 17:26:07 -0000 1.2 *************** *** 77,80 **** --- 77,81 ---- AC_CONFIG_FILES([ Makefile ]) AC_CONFIG_FILES([ src/Makefile ]) + AC_CONFIG_FILES([ src/launcher/Makefile ]) AC_CONFIG_FILES([ src/tests/Makefile ]) AC_OUTPUT Index: Makefile.am =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 8 Feb 2005 21:13:21 -0000 1.2 --- Makefile.am 20 Feb 2005 17:26:07 -0000 1.3 *************** *** 10,14 **** @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4 ! MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files package-messages: --- 10,14 ---- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4 ! MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files package-messages: *************** *** 21,23 **** cd $(top_distdir) && perl admin/am_edit -padmin cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs ! _SOURCES = TestRecord.h --- 21,23 ---- cd $(top_distdir) && perl admin/am_edit -padmin cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs ! --- NEW FILE: fd-sik.excl --- *.d a.out var/ x.cpp x *.o *.lo *.la *.moc *.bak *.P *.a *~ *.old \.deps \.libs \.#* api *.gz *.bz2 *.~~* *.~* *.ncb *.plg *.pcs autom4te.cache configure aclocal.m4 |
|
From: Ewald A. <ewa...@us...> - 2005-02-20 17:26:37
|
Update of /cvsroot/kdevcppunit/kdevcppunit/src/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7455/src/tests Modified Files: Makefile.am dummy_test.cpp kcppunit_test.cpp Removed Files: KCppUnitListener.cpp KCppUnitListener.h Log Message: restructured file tree Index: dummy_test.cpp =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/tests/dummy_test.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dummy_test.cpp 9 Feb 2005 22:24:02 -0000 1.4 --- dummy_test.cpp 20 Feb 2005 17:26:23 -0000 1.5 *************** *** 1,4 **** /** @file ! @brief $Id$ --- 1,4 ---- /** @file ! @brief Dummy-Tests to produce some testing output $Id$ *************** *** 28,38 **** ***************************************************************************/ ! #include "kcppunit_test.h" // allways first ! ! #ifndef HAVE_CPPUNIT ! ! # warning CppUnit not available at compile time ! ! #else #include <cppunit/extensions/HelperMacros.h> --- 28,32 ---- ***************************************************************************/ ! #include "kcppunit_test.h" // always first #include <cppunit/extensions/HelperMacros.h> *************** *** 73,76 **** } - - #endif // HAVE_CPPUNIT --- 67,68 ---- --- KCppUnitListener.h DELETED --- Index: kcppunit_test.cpp =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/tests/kcppunit_test.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** kcppunit_test.cpp 9 Feb 2005 22:24:02 -0000 1.4 --- kcppunit_test.cpp 20 Feb 2005 17:26:23 -0000 1.5 *************** *** 28,37 **** ***************************************************************************/ ! #include "kcppunit_test.h" // allways first #include <iostream> - #ifdef HAVE_CPPUNIT - #include <ctime> --- 28,35 ---- ***************************************************************************/ ! #include "kcppunit_test.h" // always first #include <iostream> #include <ctime> *************** *** 40,52 **** #include <cppunit/ui/text/TestRunner.h> - #include "KCppUnitListener.h" - - #endif - int main(int argc, char **argv) { int ret = 1; - #ifdef HAVE_CPPUNIT CppUnit::TextUi::TestRunner runner; CppUnit::TestFactory ®istry = CppUnit::TestFactoryRegistry::getRegistry(); --- 38,45 ---- *************** *** 55,74 **** std::cout << "starting tests..\n" << "Options\n" - << " --kdevcppunit-output output for KDevCppUnit\n" << "\n"; - for (int i = 1; i < argc; ++i) - { - if (strcmp (argv[i], "--kdevcppunit-output") == 0) - runner.eventManager().addListener(new KCppUnitListener()); - } - ret = runner.run() ? 0 : 1; std::cout << "Result: " << ret << std::endl; - #else - std::cout << "CppUnit was not available at compile time!\n"; - std::cout << "No unit tests are performed.\n"; - ret = 1; - #endif return ret; } --- 48,55 ---- Index: Makefile.am =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/tests/Makefile.am,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile.am 15 Nov 2004 20:54:40 -0000 1.1.1.1 --- Makefile.am 20 Feb 2005 17:26:23 -0000 1.2 *************** *** 7,11 **** TESTS = $(check_PROGRAMS) kcppunit_test_LDFLAGS = $(all_libraries) $(CPPUNITLIB) $(MOCKPPLIB) ! kcppunit_test_SOURCES = kcppunit_test.cpp dummy_test.cpp KCppUnitListener.cpp ! AM_CXXFLAGS = -w -fexceptions --- 7,11 ---- TESTS = $(check_PROGRAMS) kcppunit_test_LDFLAGS = $(all_libraries) $(CPPUNITLIB) $(MOCKPPLIB) ! kcppunit_test_SOURCES = kcppunit_test.cpp dummy_test.cpp ! kcppunit_test_LDADD = -ldl --- KCppUnitListener.cpp DELETED --- |
|
From: Ewald A. <ewa...@us...> - 2005-02-20 17:26:36
|
Update of /cvsroot/kdevcppunit/kdevcppunit/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7455/src Modified Files: KCppUnitPart.cpp KCppUnitWidgetForm.ui Makefile.am README.dox kdevpart_cppunit.desktop Log Message: restructured file tree Index: KCppUnitPart.cpp =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/KCppUnitPart.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** KCppUnitPart.cpp 9 Feb 2005 22:24:01 -0000 1.3 --- KCppUnitPart.cpp 20 Feb 2005 17:26:22 -0000 1.4 *************** *** 51,56 **** typedef KDevGenericFactory<KCppUnitPart> KCppUnitFactory; ! static const KAboutData data( "kdevcppunit", "KCppUnit", "1.0" ); ! K_EXPORT_COMPONENT_FACTORY( libkdevcppunit, KCppUnitFactory( &data ) ) KCppUnitPart::KCppUnitPart( QObject *parent, const char *name, const QStringList& ) --- 51,56 ---- typedef KDevGenericFactory<KCppUnitPart> KCppUnitFactory; ! static const KAboutData data( "kdevcppunit_ui", "KCppUnit", "1.0" ); ! K_EXPORT_COMPONENT_FACTORY( libkdevcppunit_ui, KCppUnitFactory( &data ) ) KCppUnitPart::KCppUnitPart( QObject *parent, const char *name, const QStringList& ) Index: Makefile.am =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile.am 9 Feb 2005 22:17:24 -0000 1.4 --- Makefile.am 20 Feb 2005 17:26:22 -0000 1.5 *************** *** 1,13 **** ! SUBDIRS = . tests ! INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) CPPUNITLIB = #-lcppunit MOCKPPLIB = #-lmockpp ! kde_module_LTLIBRARIES = libkdevcppunit.la ! libkdevcppunit_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) ! libkdevcppunit_la_LIBADD = -lkdevelop $(CPPUNITLIB) $(MOCKPPLIB) ! libkdevcppunit_la_SOURCES = KCppUnitDialogForm.ui KCppUnitPart.cpp \ KCppUnitDialog.cpp KCppUnitItem.cpp KCppUnitWidget.cpp KCppUnitWidgetForm.ui \ BrowserRecord.cpp TestRecord.cpp --- 1,14 ---- ! SUBDIRS = . launcher tests ! INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \ ! $(all_includes) CPPUNITLIB = #-lcppunit MOCKPPLIB = #-lmockpp ! kde_module_LTLIBRARIES = libkdevcppunit_ui.la ! libkdevcppunit_ui_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) ! libkdevcppunit_ui_la_LIBADD = -lkdevelop $(CPPUNITLIB) $(MOCKPPLIB) ! libkdevcppunit_ui_la_SOURCES = KCppUnitDialogForm.ui KCppUnitPart.cpp \ KCppUnitDialog.cpp KCppUnitItem.cpp KCppUnitWidget.cpp KCppUnitWidgetForm.ui \ BrowserRecord.cpp TestRecord.cpp *************** *** 27,29 **** kcppunit_SOURCES = kcppunit.cpp ! kcppunit_LDADD = $(top_builddir)/src/libkdevcppunit.la -lqt-mt --- 28,30 ---- kcppunit_SOURCES = kcppunit.cpp ! kcppunit_LDADD = $(top_builddir)/src/libkdevcppunit_ui.la -lqt-mt Index: kdevpart_cppunit.desktop =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/kdevpart_cppunit.desktop,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kdevpart_cppunit.desktop 6 Feb 2005 21:42:55 -0000 1.2 --- kdevpart_cppunit.desktop 20 Feb 2005 17:26:22 -0000 1.3 *************** *** 5,15 **** Comment=KDevCppUnit is a tool that helps you test your source code Comment[de]=KDevCppUnit ist ein Werkzeug zum Testen von Sourcecode ! Name=KDevcppunit Name[de]=Unterstützung für CppUnit (KDevelop) GenericName=CppUnit Frontend GenericName[de]=Oberfläche für CppUnit ! Icon=kdevelop ServiceTypes=KDevelop/Plugin X-KDevelop-Scope=Global ! X-KDE-Library=libkdevcppunit X-KDevelop-Version=1 --- 5,15 ---- Comment=KDevCppUnit is a tool that helps you test your source code Comment[de]=KDevCppUnit ist ein Werkzeug zum Testen von Sourcecode ! Name=KDevCppUnit Name[de]=Unterstützung für CppUnit (KDevelop) GenericName=CppUnit Frontend GenericName[de]=Oberfläche für CppUnit ! Icon=kdevcppunit ServiceTypes=KDevelop/Plugin X-KDevelop-Scope=Global ! X-KDE-Library=libkdevcppunit_ui X-KDevelop-Version=1 Index: KCppUnitWidgetForm.ui =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/KCppUnitWidgetForm.ui,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** KCppUnitWidgetForm.ui 9 Feb 2005 22:17:23 -0000 1.2 --- KCppUnitWidgetForm.ui 20 Feb 2005 17:26:22 -0000 1.3 *************** *** 443,451 **** <string>&Browser</string> </attribute> ! <hbox> <property name="name"> <cstring>unnamed</cstring> </property> ! <widget class="QListView"> <column> <property name="text"> --- 443,451 ---- <string>&Browser</string> </attribute> ! <grid> <property name="name"> <cstring>unnamed</cstring> </property> ! <widget class="QListView" row="1" column="0"> <column> <property name="text"> *************** *** 488,492 **** </property> </widget> ! <widget class="QLayoutWidget"> <property name="name"> <cstring>layout3</cstring> --- 488,492 ---- </property> </widget> ! <widget class="QLayoutWidget" row="1" column="1"> <property name="name"> <cstring>layout3</cstring> *************** *** 530,535 **** <property name="sizeHint"> <size> ! <width>31</width> ! <height>51</height> </size> </property> --- 530,535 ---- <property name="sizeHint"> <size> ! <width>87</width> ! <height>229</height> </size> </property> *************** *** 548,552 **** </vbox> </widget> ! </hbox> </widget> </widget> --- 548,607 ---- </vbox> </widget> ! <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2"> ! <property name="name"> ! <cstring>groupBox1</cstring> ! </property> ! <property name="title"> ! <string>groupBox1</string> ! </property> ! <hbox> ! <property name="name"> ! <cstring>unnamed</cstring> ! </property> ! <widget class="QLabel"> ! <property name="name"> ! <cstring>textLabel1_3</cstring> ! </property> ! <property name="sizePolicy"> ! <sizepolicy> ! <hsizetype>0</hsizetype> ! <vsizetype>5</vsizetype> ! <horstretch>0</horstretch> ! <verstretch>0</verstretch> ! </sizepolicy> ! </property> ! <property name="text"> ! <string>Module:</string> ! </property> ! </widget> ! <widget class="QComboBox"> ! <item> ! <property name="text"> ! <string>modul-1</string> ! </property> ! </item> ! <property name="name"> ! <cstring>comboBox2</cstring> ! </property> ! <property name="sizePolicy"> ! <sizepolicy> ! <hsizetype>7</hsizetype> ! <vsizetype>0</vsizetype> ! <horstretch>0</horstretch> ! <verstretch>0</verstretch> ! </sizepolicy> ! </property> ! </widget> ! <widget class="QPushButton"> ! <property name="name"> ! <cstring>pushButton5</cstring> ! </property> ! <property name="text"> ! <string>Setup</string> ! </property> ! </widget> ! </hbox> ! </widget> ! </grid> </widget> </widget> Index: README.dox =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/src/README.dox,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README.dox 15 Nov 2004 20:54:39 -0000 1.1.1.1 --- README.dox 20 Feb 2005 17:26:22 -0000 1.2 *************** *** 8,14 **** with a single mouse click. ! You are also able run single tests. ! \authors <a href="mailto:kdevelop AT ewald-arnold.de">Ewald Arnold</a>. */ --- 8,14 ---- with a single mouse click. ! You are also able to run single tests. ! \authors <a href="mailto:kdevcppunit at ewald-arnold dot de">Ewald Arnold</a>. */ |
Update of /cvsroot/kdevcppunit/kdevcppunit/src/launcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7455/src/launcher Added Files: .cvsignore KCppUnitListener.cpp KCppUnitListener.h Makefile.am kdevcppunit_launcher.cpp kdevcppunit_launcher.h Log Message: restructured file tree --- NEW FILE: kdevcppunit_launcher.h --- /** @file @brief Application to load libraries and execute the tests inside. $Id: kdevcppunit_launcher.h,v 1.1 2005/02/20 17:26:22 ewald-arnold Exp $ ***************************************************************************/ /************************************************************************** begin : Wed Feb 10 2005 copyright : (C) 2004-2005 by Ewald Arnold email : kdevcppunit at ewald-arnold dot de This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ***************************************************************************/ --- NEW FILE: .cvsignore --- Makefile.in *.bak *~ *.~* --- NEW FILE: Makefile.am --- INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \ $(all_includes) METASOURCES = AUTO CPPUNITLIB = -lcppunit MOCKPPLIB = #-lmockpp bin_PROGRAMS = kdevcppunit_launcher kdevcppunit_launcher_LDFLAGS = $(all_libraries) $(CPPUNITLIB) $(MOCKPPLIB) kdevcppunit_launcher_SOURCES = kdevcppunit_launcher.cpp lib_LTLIBRARIES = libkdevcppunit.la libkdevcppunit_la_LDFLAGS = $(all_libraries) libkdevcppunit_la_SOURCES = KCppUnitListener.cpp kdevcppunit_launcher_LDADD = $(top_builddir)/src/launcher/libkdevcppunit.la \ -ldl --- NEW FILE: KCppUnitListener.h --- /** @file @brief $Id: KCppUnitListener.h,v 1.1 2005/02/20 17:26:22 ewald-arnold Exp $ ***************************************************************************/ /************************************************************************** begin : Wed Feb 10 2005 copyright : (C) 2004-2005 by Ewald Arnold email : kdevcppunit at ewald-arnold dot de This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ***************************************************************************/ #include <ctime> #include <iosfwd> # include <cppunit/TextTestProgressListener.h> # include <cppunit/TestResult.h> # include <cppunit/TestFailure.h> class KCppUnitListener : public CppUnit::TextTestProgressListener { public: KCppUnitListener(); void startTest( CppUnit::Test *test ); void addFailure( const CppUnit::TestFailure &failure ); void endTest(CppUnit::Test *test); void done(); private: std::time_t starttime; std::ostream &outstream; }; --- NEW FILE: kdevcppunit_launcher.cpp --- /** @file @brief Application to load libraries and execute the tests inside. $Id: kdevcppunit_launcher.cpp,v 1.1 2005/02/20 17:26:22 ewald-arnold Exp $ ***************************************************************************/ /************************************************************************** begin : Wed Feb 10 2005 copyright : (C) 2004-2005 by Ewald Arnold email : kdevcppunit at ewald-arnold dot de This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ***************************************************************************/ #include "kdevcppunit_launcher.h" // always first #include <iostream> #include <ctime> #include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/ui/text/TestRunner.h> #include "KCppUnitListener.h" void dummy() // dummy to ensure exception support { try { throw 1; } catch(...) { } } int main(int argc, char **argv) { int ret = 1; CppUnit::TextUi::TestRunner runner; CppUnit::TestFactory ®istry = CppUnit::TestFactoryRegistry::getRegistry(); runner.addTest(registry.makeTest()); std::cout << "starting tests..\n" << "Options\n" << " --kdevcppunit-output generate output for KDevCppUnit\n" << "\n"; for (int i = 1; i < argc; ++i) { if (strcmp (argv[i], "--kdevcppunit-output") == 0) runner.eventManager().addListener(new KCppUnitListener()); } ret = runner.run() ? 0 : 1; std::cout << "Result: " << ret << std::endl; return ret; } --- NEW FILE: KCppUnitListener.cpp --- /** @file @brief $Id: KCppUnitListener.cpp,v 1.1 2005/02/20 17:26:22 ewald-arnold Exp $ ***************************************************************************/ /************************************************************************** begin : Wed Feb 10 2005 copyright : (C) 2004-2005 by Ewald Arnold email : kdevcppunit at ewald-arnold dot de This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ***************************************************************************/ #include <iostream> #include "KCppUnitListener.h" #include <cppunit/Test.h> #include <cppunit/SourceLine.h> #define TAG_STARTTEST ">>> " #define TAG_ENDTEST "<<< " #define TAG_STARTINFO "!!! " #define TAG_MESSAGE " -MSG " #define TAG_FAILURE " -FAIL " #define TAG_ERROR " -ERR " #define TAG_TRACE " -TRACE " #define TAG_SEPARATOR ";" KCppUnitListener::KCppUnitListener() : outstream(std::cerr) { } void KCppUnitListener::startTest( CppUnit::Test *test ) { starttime = std::time(0); outstream << TAG_STARTTEST << test->getName() << TAG_SEPARATOR << starttime << std::endl; std::cerr.flush(); } void KCppUnitListener::addFailure( const CppUnit::TestFailure &failure ) { outstream << ( failure.isError() ? TAG_ERROR : TAG_FAILURE ) << std::endl; outstream << "line: " << failure.sourceLine().lineNumber() << std::endl; outstream << "file: " << failure.sourceLine().fileName() << std::endl; outstream.flush(); } void KCppUnitListener::endTest(CppUnit::Test *test) { outstream << std::endl; std::time_t endtime = std::time(0); std::time_t difftime = starttime - endtime; unsigned m = difftime / 60; unsigned s = difftime % 60; outstream << TAG_ENDTEST << test->getName() << TAG_SEPARATOR << endtime << TAG_SEPARATOR << m << ":" << s << std::endl; } void KCppUnitListener::done() { outstream << std::endl; outstream.flush(); } |
|
From: Ewald A. <ewa...@us...> - 2005-02-20 17:26:36
|
Update of /cvsroot/kdevcppunit/kdevcppunit/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7455/admin Modified Files: acinclude.m4.in Log Message: restructured file tree Index: acinclude.m4.in =================================================================== RCS file: /cvsroot/kdevcppunit/kdevcppunit/admin/acinclude.m4.in,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** acinclude.m4.in 15 Nov 2004 20:54:53 -0000 1.1.1.1 --- acinclude.m4.in 20 Feb 2005 17:26:07 -0000 1.2 *************** *** 3012,3016 **** if test "$GXX" = "yes"; then ! KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"]) --- 3012,3016 ---- if test "$GXX" = "yes"; then ! dnl ea KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"]) |
|
From: Ewald A. <ewa...@us...> - 2005-02-20 17:23:38
|
Update of /cvsroot/kdevcppunit/kdevcppunit/src/launcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6480/src/launcher Log Message: Directory /cvsroot/kdevcppunit/kdevcppunit/src/launcher added to the repository |