| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
The documentation is now installed to
<prefix>/share/cppunit-<version>/doc when CPPUNIT_INSTALL_APIDOC
is ON.
Change-Id: If6d07763d0e2aedf67c2792a15757f8f59761ffa
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7313
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
To get a better structure into the generated libraries and
executables, the qt_example target is renamed to cppunit-qt-example
and will be installed to <prefix>/share/cppunit-<version>/examples
Change-Id: I818c33ec2b4de02e1745af51a9c00fb8357cb5ed
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7312
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
In case CPPUNIT_BUILD_EXAMPLES is ON, the simple example executable
and plugin are now built.
Change-Id: Ia88a30805a7063de52b7d21b2f712dba9a65344f
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7318
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
When CPPUNIT_BUILD_EXAMPLES is ON, the hierarchy example will now be
built with CMake.
Change-Id: I1c706c09dbdd450abadf77536ee7a6157bf36612
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7317
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
With this patch the cppunit dumper plugin example will be built
when CPPUNIT_BUILD_EXAMPLES is ON.
Change-Id: If5265461d01eb8b6567784b68e4d047b001d52f4
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7316
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch adds support for building the cppunittest executable
and plugin with the CMake build system
Change-Id: I4fe90657a4f74a1a96650ebdf176d2b2b8884c9c
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7315
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
| |
This patch will enable building the plugin tester executable
Change-Id: If14360b92dbc2d9698162b8fd0263421a061f90c
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7314
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The new CMake build option 'CPPUNIT_BUILD_EXAMPLES' (OFF by default)
decides whether to build the example programs or not.
Change-Id: I6694f224bcf9c0c5131c9a1810c6565ad91626b7
Signed-off-by: Bernhard Sessler <bernhard@burnsen.de>
Reviewed-on: https://gerrit.libreoffice.org/7185
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow building the qt test runner by using the CMake build
system. The new CMake option 'CPPUNIT_BUILD_QT_TESTRUNNER' (OFF by
default) can be used to build the test runner (switch these options
ON and OFF by running the CMake built-in 'edit_cache' build target,
e.g. using Linux / GNU make this would be 'make edit_cache', NMake
based build systems would run 'nmake edit_cache').
Change-Id: Ifead1e2cd9162c74b8a212daf93f4bbad9f6c1f3
Signed-off-by: Bernhard Sessler <bernhard@burnsen.de>
Reviewed-on: https://gerrit.libreoffice.org/7184
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
| |
Change-Id: Ide48092bc7205581d03ec31d31d6d071d4ccc3d5
Signed-off-by: Bernhard Sessler <bernhard@burnsen.de>
Reviewed-on: https://gerrit.libreoffice.org/7183
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The codebase was (almost) completely recreated from scratch. The test
runner now builds and runs with both Qt5 and Qt4 (>= 4.7.x).
The qmake project file shipped with the old qt test runner was
updated and can be used to build the library.
Change-Id: Iaf8e773566189113fd45029240d3e3ebeaa60e50
Signed-off-by: Bernhard Sessler <bernhard@burnsen.de>
Reviewed-on: https://gerrit.libreoffice.org/7182
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
| |
Change-Id: I0a182186c396f2e45bec76c83506f765f2462b3c
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7115
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
| |
Change-Id: I06db2d8a32f32c28047c7cf883f945d9bb7eb779
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7114
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This includes a cleanup of the specialized configuration header
files, as supported features are detected during the configuration
stage and do not need to be hard coded into the headers for different
platforms.
Change-Id: I40e26aa1846838d20badda82c40bfd002340ba80
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7113
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This eliminates the need for a "Findcppunit.cmake" script in projects
needing the cppunit library. The project configuration files are
installed along with the library itself and provide information about
where to find the library and how to use it.
A prominent example of this method are the Qt5 libraries, which are
shipping CMake project configuration files by default.
Change-Id: I9db4f07d4a56361215eb68d9080955fede8eb205
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7112
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
|
|
| |
Change-Id: I2a4b0c1469509a7239b425ca133efd0d979f1d82
Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
Reviewed-on: https://gerrit.libreoffice.org/7111
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
| |
|
|
|
|
| |
"C++98 requires an accessible copy constructor for class
'CppUnit::TestCaseMethodFunctor' when binding a reference to a temporary; was
private." (Clang)
|
| |
|
|
|
|
|
| |
"'CppUnit::TextTestResult::addFailure' hides overloaded virtual function;
../../include/cppunit/TestResult.h:85:16: note: hidden overloaded virtual
function 'CppUnit::TestResult::addFailure' declared here: different number of
parameters (2 vs 1)." (Clang)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch allows to compile the code with gcc's -Weffc++
It consists mostly of making copy constructors and assignment operators
explicit and private, and of initializing all members in initializer lists.
Change-Id: I6f1cae812c58e3791c2386a1288501cf2f559610
Reviewed-on: https://gerrit.libreoffice.org/5424
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
| | |
|
| | |
|
| |
|
|
| |
Upstream Libreoffice patch.
|
| | |
|
| | |
|
| |
|
|
|
| |
(cf. <https://trac.macports.org/ticket/37428> "gnome-keyring @2.30.3 autoreconf
fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER")
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
Conflicts:
config/ax_cxx_gcc_abi_demangle.m4
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.gitignore
autogen.sh
configure.in
doc/Makefile.am
examples/cppunittest/TestAssertTest.cpp
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds a new top-level .gitignore file and adds
ignores for the usual stuff:
- Temporary/save files
- Compiled object files
- Other stuff created by the configure/build process
This will make 'git status' give much more relevant output.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|