debian/0000755000000000000000000000000012235127115007165 5ustar debian/source/0000755000000000000000000000000012115336004010461 5ustar debian/source/format0000644000000000000000000000001412115336004011667 0ustar 3.0 (quilt) debian/control0000644000000000000000000000221712235125161010571 0ustar Source: cxxtest Section: devel Priority: optional Maintainer: Simone Rossetto Build-Depends: python (>= 2.7), python-setuptools, python-coverage, debhelper (>= 8.0.0), cdbs (>= 0.4.90~), asciidoc (>= 8.5), docbook-xsl (>=1.76), dblatex, source-highlight X-Python-Version: >= 2.7 Standards-Version: 3.9.5 Homepage: http://cxxtest.com/ Package: cxxtest Architecture: all Depends: ${python:Depends}, python-ply, ${misc:Depends} Description: lightweight xUnit-like framework for C/C++ applications CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit. It provides assertions for checking conditions and classes for defining unit-test cases. . CxxTest is easy to use because it does not require precompiling a CxxTest testing library, it employs no advanced features of C++ (e.g. RTTI) and it supports a very flexible form of test discovery, which simplifies the creation of test drivers. It includes a script that parses C++ files that define unit tests and then generates a C++ test runner. When compiled, the test runner manages the execution of all unit tests in a flexible manner. debian/rules0000755000000000000000000000116012115610533010241 0ustar #!/usr/bin/make -f export DH_OPTIONS export DH_ALWAYS_EXCLUDE=.svn:.cvsignore:CVS DEB_PYTHON2_MODULE_PACKAGES = cxxtest DEB_PYTHON_DISTUTILS_SRCDIR = $(CURDIR)/python include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb --install-lib=/usr/share/cxxtest --install-script=/usr/share/cxxtest DEB_INSTALL_CHANGELOGS_ALL += Versions build: make -C doc all clean:: rm -fr "$(CURDIR)/build/" rm -fr "$(CURDIR)/python/cxxtest.egg-info/" # find "$(DEB_PYTHON_DISTUTILS_SRCDIR)" -prune -name '*.egg-info' -exec rm -rf '{}' ';' debian/examples0000644000000000000000000000001712115362511010722 0ustar doc/examples/* debian/changelog0000644000000000000000000000401212235127115011034 0ustar cxxtest (4.3-1) unstable; urgency=low * New upstream version. * Added dependency on python-coverage (required by new upstream sources). * Copied manpage file from version 4.2.1-2 because that file is required to build this package but it is missing in the current upstream tarball. * Updated debian/watch file to be more flexible with tarball extensions. * Updated debian/control Standards-Version to 3.9.5. -- Simone Rossetto Sat, 02 Nov 2013 08:47:52 +0100 cxxtest (4.2.1-2) unstable; urgency=low * Fix "cxxtest tries to download files from the net during the build" added dependency on docbook-xsl package. (Closes: #706720) * Updated debian/control Standards-Version to 3.9.4. -- Simone Rossetto Sat, 04 May 2013 09:17:37 +0200 cxxtest (4.2.1-1) unstable; urgency=low * New upstream version. * Updated the copyright license of the "debian" subfolder and of the whole package following decision of the upstream authors to switch to LGPL-3. -- Simone Rossetto Sun, 17 Mar 2013 09:29:57 +0100 cxxtest (4.1-1) unstable; urgency=low * New upstream version. -- Simone Rossetto Tue, 05 Mar 2013 10:34:07 +0100 cxxtest (4.0.3-2) unstable; urgency=low * Merged the package's old description with the upstream one. * Updated debian/copyright file setting the right license keyword for source files. * Python private modules are now installed in a private folder. -- Simone Rossetto Thu, 05 Apr 2012 21:38:57 +0200 cxxtest (4.0.3-1) unstable; urgency=low * New upstream version (Closes: #606373) -- Simone Rossetto Thu, 01 Mar 2012 20:55:29 +0100 cxxtest (3.10.1-1) UNRELEASED; urgency=low * Initial release. * Patched the source files to make QtGui.h compatbile even with Qt4. * Patched the original documentation to reflect the Debian installation paths of CxxTest generators. -- Simone Rossetto Mon, 05 Sep 2011 21:26:40 +0200 debian/watch0000644000000000000000000000013412221534630010213 0ustar version=3 http://sf.net/cxxtest/cxxtest-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/docs0000644000000000000000000000006312115361671010043 0ustar README doc/guide.pdf doc/guide.epub doc/guide.html debian/links0000644000000000000000000000006212115336004010222 0ustar /usr/share/cxxtest/cxxtestgen /usr/bin/cxxtestgen debian/manpages0000644000000000000000000000003012213566004010674 0ustar debian/man/cxxtestgen.1 debian/install0000644000000000000000000000003712115336004010552 0ustar cxxtest/* usr/include/cxxtest/ debian/doc-base0000644000000000000000000000162312115610707010570 0ustar Document: cxxtest Title: CxxTest User Guide Author: William Hart, Gasper Azman, Kevin Fitch, John Siirola Abstract: This manual describes the design and usage of CxxTest version 4. CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit , CppUnit and xUnit . CxxTest is easy to use because it does not require precompiling a CxxTest testing library, it employs no advanced features of C++ (e.g. RTTI) and it supports a very flexible form of test discovery. This documentation describes CxxTest 4.1, which includes significant enhancements to the test discovery process, a modern test driver, and new documentation. Section: Programming/C++ Format: pdf Files: /usr/share/doc/cxxtest/guide.pdf.gz Format: HTML Index: /usr/share/doc/cxxtest/guide.html Files: /usr/share/doc/cxxtest/guide.html debian/patches/0000755000000000000000000000000012213566223010617 5ustar debian/patches/doc_makefile.patch0000644000000000000000000000256512213566223014252 0ustar Description: Removed loading of local catalog.xml file because it is not suitable for Debian, changed the output format for html documentation because 'html' is not supported by current asciidoc package. Changed path for manpages because the manpage file is not present in the current upstream tarball. Forwarded: not-needed Author: Simone Rossetto --- a/doc/Makefile +++ b/doc/Makefile @@ -1,13 +1,13 @@ .PHONY: all anchors outputs clean manpages -export XML_CATALOG_FILES = catalog.xml +#export XML_CATALOG_FILES = catalog.xml PY = python XSLTPROC_OPTS := --stringparam toc.section.depth 2 --stringparam generate.section.toc.level 1 DBLATEX_OPTS := -P latex.output.revhistory=0 -P doc.collab.show=1 -P toc.section.depth=2 A2X_OPTS := -a toc -a icons -L -d article -v --xsltproc-opts "$(XSLTPROC_OPTS)" --dblatex-opts "$(DBLATEX_OPTS)" %.html: %.txt anchors outputs - asciidoc -a data-uri -v -b html -d article -n -a toc2 -a icons $< + asciidoc -a data-uri -v -b html4 -d article -n -a toc2 -a icons $< # Ignore errors (dblatex may not be installed) %.pdf: %.txt anchors outputs @@ -20,8 +20,8 @@ all: guide.html guide.pdf guide.epub manpages: - cd man; ./create_manpage; - cd man; asciidoc -v -d manpage ./cxxtestgen.1.txt + cd ../debian/man; ./create_manpage; + cd ../debian/man; asciidoc -v -d manpage ./cxxtestgen.1.txt html: guide.html debian/patches/series0000644000000000000000000000002312121300161012010 0ustar doc_makefile.patch debian/copyright0000644000000000000000000000273112221533250011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CxxTest Upstream-Contact: William Hart Jared Grubb Source: http://cxxtest.com/ License: LGPL-3.0 Files: * debian/man/* Copyright: 2008 Sandia Corporation License: LGPL-3.0 Comment: CxxTest was originally developed by Erez Volk. The following developers actively contributed to the CxxTest 4.0 release: Gašper Ažman, Kevin Fitch, William Hart and John Siirola. The FOG parser was developed by Edward Willink: Meta-Compilation for C++, PhD Thesis, Computer Science Research Group, University of Surrey, January 2000. Files: debian/* Copyright: 2012-2013 Simone Rossetto License: LGPL-3.0 License: LGPL-3.0 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation. . This package 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 Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". debian/compat0000644000000000000000000000000212115336004010357 0ustar 8 debian/man/0000755000000000000000000000000012213564407007745 5ustar debian/man/cxxtestgen.10000644000000000000000000001061512123145126012217 0ustar '\" t .\" Title: cxxtestgen .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 01/21/2012 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "CXXTESTGEN" "1" "01/21/2012" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" cxxtestgen \- performs test discovery to create a CxxTest test runner .SH "SYNOPSIS" .sp cxxtestgen [options] [ \&...] .SH "DESCRIPTION" .sp The cxxtestgen command processes C++ header files to perform test discovery, and then it creates files for the CxxTest test runner\&. .SH "OPTIONS" .PP \fB\-h, \-\-help\fR .RS 4 show this help message and exit .RE .PP \fB\-\-version\fR .RS 4 Write the CxxTest version\&. .RE .PP \fB\-o, \-\-output\fR=\fINAME\fR .RS 4 Write output to file NAME\&. .RE .PP \fB\-w, \-\-world\fR .RS 4 The label of the tests, used to name the XML results\&. .RE .PP \fB\-\-include\fR=\fIHEADER\fR .RS 4 Include file HEADER in the test runner before other headers\&. .RE .PP \fB\-\-abort\-on\-fail\fR .RS 4 Abort tests on failed asserts (like xUnit)\&. .RE .PP \fB\-\-main\fR .RS 4 Specify an alternative name for the main() function\&. .RE .PP \fB\-\-headers\fR .RS 4 Specify a filename that contains a list of header files that are processed to generate a test runner\&. .RE .PP \fB\-\-runner\fR=\fICLASS\fR .RS 4 Create a test runner that processes test events using the class CxxTest::CLASS\&. .RE .PP \fB\-\-gui\fR=\fICLASS\fR .RS 4 Create a GUI test runner that processes test events using the class CxxTest::CLASS\&. (deprecated) .RE .PP \fB\-\-error\-printer\fR .RS 4 Create a test runner using the ErrorPrinter class, and allow the use of the standard library\&. .RE .PP \fB\-\-xunit\-printer\fR .RS 4 Create a test runner using the XUnitPrinter class\&. .RE .PP \fB\-\-xunit\-file\fR .RS 4 The file to which the XML summary is written for test runners using the XUnitPrinter class\&. The default XML filename is TEST\-\&.xml, where is the value of the \-\-world option\&. (default: cxxtest) .RE .PP \fB\-\-have\-std\fR .RS 4 Use the standard library (even if not found in tests)\&. .RE .PP \fB\-\-no\-std\fR .RS 4 Do not use standard library (even if found in tests)\&. .RE .PP \fB\-\-have\-eh\fR .RS 4 Use exception handling (even if not found in tests)\&. .RE .PP \fB\-\-no\-eh\fR .RS 4 Do not use exception handling (even if found in tests)\&. .RE .PP \fB\-\-longlong\fR=\fITYPE\fR .RS 4 Use TYPE as for long long integers\&. (default: not supported) .RE .PP \fB\-\-no\-static\-init\fR .RS 4 Do not rely on static initialization in the test runner\&. .RE .PP \fB\-\-template\fR=\fITEMPLATE\fR .RS 4 Generate the test runner using file TEMPLATE to define a template\&. .RE .PP \fB\-\-root\fR .RS 4 Write the main() function and global data for a test runner\&. .RE .PP \fB\-\-part\fR .RS 4 Write the tester classes for a test runner\&. .RE .PP \fB\-f, \-\-fog\-parser\fR .RS 4 Use new FOG C++ parser (disabled) .RE .SH "EXIT STATUS" .PP \fB0\fR .RS 4 Success .RE .PP \fB1\fR .RS 4 Failure (syntax or usage error; configuration error; document processing failure; unexpected error)\&. .RE .SH "BUGS" .sp See the CxxTest Home Page for the link to the CxxTest ticket repository\&. .SH "AUTHOR" .sp CxxTest was originally written by Erez Volk\&. Many people have contributed to it\&. .SH "RESOURCES" .sp Home page: http://cxxtest\&.com/ .sp CxxTest User Guide: http://cxxtest\&.com/cxxtest/doc/guide\&.html .SH "COPYING" .sp Copyright (c) 2008 Sandia Corporation\&. This software is distributed under the Lesser GNU General Public License (LGPL) v3 debian/man/create_manpage0000755000000000000000000000072512123145126012623 0ustar #! /usr/bin/env python # # Setup the Python environment, create an asciidoc manpage, and then create the final manpage # import sys import os from os.path import realpath, dirname if sys.version_info < (3,0): sys.path.insert(0, dirname(dirname(dirname(realpath(__file__))))+os.sep+'python') else: sys.path.insert(0, dirname(dirname(dirname(realpath(__file__))))+os.sep+'python'+os.sep+'python3') sys.path.append(".") import cxxtest cxxtest.create_manpage()