summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update NEWScppunit-1.15.1Markus Mohrhard2019-12-251-0/+2
|
* drop project files for old versions of MSVCDavid Tardon2019-12-2219-2089/+7
| | | | | | | Change-Id: I36ceddb5a8a1f8e96b36a2e851338366cda1808d Reviewed-on: https://gerrit.libreoffice.org/85662 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* remove traces of .ds[pw] files from docsDavid Tardon2019-12-225-10/+9
| | | | | | | Change-Id: I6ebc31181ccfe379be96e979cda3717a991cf513 Reviewed-on: https://gerrit.libreoffice.org/85663 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* next version is going to be 1.15.1Markus Mohrhard2019-12-211-1/+1
|
* add NEWS for 1.15.0 and 1.15.1Markus Mohrhard2019-12-211-0/+21
|
* fix -Wdefaulted-function-deleted errorMarkus Mohrhard2019-12-211-2/+2
|
* tdf#126163: fix regression from 339b60ab77ce3f2037c9410eb14251c8132df08acppunit-1.15.0Markus Mohrhard2019-11-291-2/+1
|
* Fix build with gcc9.1Martin Liška2019-04-301-0/+6
| | | | | | | Change-Id: I8a0d7a0b51b5c537dbcfa8fdd34e816605b1f32e Reviewed-on: https://gerrit.libreoffice.org/71573 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
* Documentation updatesAndrés Maldonado2019-03-053-50/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/other_documentation.dox: * add instructions to build documentation * replace a dead link with it's archived version on WaybackMachine doc/Money.dox: * replace `configure.in` with `configure.ac` * update MoneyApp.cpp with the version at `examples/money/MoneyApp.cpp` * remove all occurrences of `#include "stdafx.h"` (stdafx.h does not exist in this example) * replace all occurrences of CppUnit:: with CPPUNIT_NS:: * Undo a fix in commit 652d51e653568fbf652a248c7b9e01e72e6ec50f * This commit fixed the following error: ``` Money( double amount, std::string currency ) : m_amount( amount ) , m_currency( m_currency ) ``` But this error was introduced on purpose, so that the user can see that an assertion failed * fix some spelling errors * other minor edits examples/money/MoneyTest.h: * Updated to match doc/Money.dox Change-Id: I4e90b1a3afadab94f7112c36fcb0d1c467169269 Reviewed-on: https://gerrit.libreoffice.org/67787 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* use [] in AC macrosMarkus Mohrhard2019-02-162-2/+2
|
* Modernize AM_INIT_AUTOMAKE syntaxAndrés Maldonado2019-02-162-4/+6
| | | | | | | | | For more info, see: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Change-Id: If27065b6d9c9245717ca24e0c0e1fa4c29bc3e5c Reviewed-on: https://gerrit.libreoffice.org/67808 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Added some brackets to make it more clear for the compile which things ↵Tobias Groll2019-02-141-1/+1
| | | | belongs to the if body
* custom tostring formatter to CPPUNIT_ASSERT_MESSAGENoel Grandin2019-02-143-6/+72
| | | | | | | | | | Provide an extension trait message_to_string that allows client code to call ASSERT_MESSAGE with their own string types. Also provide a default extension trait that accepts std::ostream messages. Change-Id: I516f97063c34d86bc91c40e0ec147d5393e7b6ea
* Unconditionally use C++11 [[noreturn]]Stephan Bergmann2019-02-131-9/+3
| | | | | | | | | | | | This helps avoid issues like <https://gerrit.libreoffice.org/plugins/gitiles/ core/+/9808486a89c6368f836579f8d8c0dda63fd0063c%5E%21> "Avoid -Werror,-Wimplicit-fallthrough with clang-cl ...where CPPUNIT_FAIL is marked as noreturn only for __GNUC__". Change-Id: Idb33af7375f103f2dd7a7b4c3dbf20ce731b17ad Reviewed-on: https://gerrit.libreoffice.org/67247 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* extensions: add CPPUNIT_TEST_FIXTURE()Miklos Vajna2018-11-022-0/+38
| | | | | | | | | | This is similar to googletest's TEST_F() macro, allows to avoid spelling out the test name in a suite only once, not 3 times. Change-Id: I90804d271d046d8158678617d8db75ed6ca7c420 Reviewed-on: https://gerrit.libreoffice.org/61732 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Avoid GCC 9 -Wdeprecated-copyStephan Bergmann2018-09-261-0/+5
| | | | | | | | | | | | | | | | ...when an implicitly-defined copy function is used that may in a future C++ standard be defined as deleted because of the user-declared destructor. Just declare all the four copy/move functions as defaulted for a consistent interface. (Originally addressed with LibreOffice commit <https://gerrit.libreoffice.org/58042> "external/cppunit: silence -Werror=deprecated-copy (GCC trunk towards GCC 9)".) Change-Id: Ie38ac3a613e6fbc2e4045cb5b14c3f6d167c79c5 Reviewed-on: https://gerrit.libreoffice.org/58690 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Fix the name of the VC project mentioned in the build instructions.Blake Madden2018-07-051-1/+1
|
* Make output XML report schema UTF-8 and remove Japanese specific information.Blake Madden2018-07-051-9/+9
|
* next version will be 1.15.0Markus Mohrhard2018-05-232-2/+2
|
* C++11 provides std::isfinite and std::isnanMarkus Mohrhard2018-05-234-42/+3
|
* fix make distcheck, part2Markus Mohrhard2018-05-231-1/+1
|
* fix make distcheck, part1Markus Mohrhard2018-05-232-29/+0
|
* tdf#116653, avoid NOMINMAX redefinition warnings with mingwMarkus Mohrhard2018-04-023-0/+6
|
* contrib:cppunit2junit: parametrize testsuite nameSimon Barth2017-12-242-5/+12
| | | | | | | | | | | | | The cppunit2junit XSL stylesheet has a hardcoded name for the testsuite. Instead of putting a meaningless name, allow users to parametrize this name when doing the transformation. Change-Id: I2d0ebaf92cd0aa4d8ff3b3a2c423f4a8edd94807 Signed-off-by: Simon Barth <Simon.Pe.Barth@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/46357 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Fix money example on propely linking with library with PKG_CHECK.Dimitrij Mijoski2017-09-153-7/+10
| | | | | | | Change-Id: If42a50386402b7a601268cf8db80236c147009c1 Reviewed-on: https://gerrit.libreoffice.org/42206 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Report (un)signed char values numericallyStephan Bergmann2017-07-201-0/+10
| | | | | | | | | | | ...instead of as characters, as those values often represent numerical values (e.g., sal_uInt8 aka unsigned char in LibreOffice), and often even have values outside the printing ASCII range Change-Id: I72727e98f5af616f6b0c03c57fc1119c0c11c1fc Reviewed-on: https://gerrit.libreoffice.org/40138 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* set up git-reviewDavid Tardon2017-05-261-0/+7
|
* remove strange INSTALl notes for VS 2008Markus Mohrhard2017-04-151-46/+0
|
* more windows visual studio packaging fixescppunit-1.14.0Markus Mohrhard2017-04-131-1/+1
|
* package visual studio project filesMarkus Mohrhard2017-04-131-1/+1
|
* fix broken packaging for windowsMarkus Mohrhard2017-04-131-0/+1
|
* remove also all references to mfcMarkus Mohrhard2017-04-136-121/+1
|
* remove BeOS special supportMarkus Mohrhard2017-04-136-59/+2
|
* remove more msvc specific code and bc5 stuffMarkus Mohrhard2017-04-13153-20353/+7
|
* remove the qt test runner that depends on ancient qtMarkus Mohrhard2017-04-1352-3326/+5
|
* fix HTML Encodingdennisroczek2017-04-071-1/+1
| | | | | | | | | | in my last commit Gerrit's web interface changed the encoding of the file. The page doesn't look correct any more. Change-Id: I5de59620ef4ca78a009da2bbf2c6fe37af0dd54c Reviewed-on: https://gerrit.libreoffice.org/35401 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* fix typo/grammar: "the the" --> thedennisroczek2017-03-145-29/+27
| | | | | | | Change-Id: I03c1e1118c0574863f9460d1d7fc543b44d59efe Reviewed-on: https://gerrit.libreoffice.org/35152 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* fix typo: documention --> documentationdennisroczek2017-02-271-4/+4
| | | | | | | Change-Id: I58762dfb08c6f85ccb11d0b634c738606cd6379f Reviewed-on: https://gerrit.libreoffice.org/34649 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* fix the distcheck build and remove refs to deleted filesMarkus Mohrhard2017-01-012-2/+2
|
* update coding guidelinesMarkus Mohrhard2017-01-011-9/+0
|
* remove reference to deleted fileMarkus Mohrhard2016-12-311-1/+0
|
* add changes for TestCaller and TEST_CASE_PARAMETERIZED into NEWSMarkus Mohrhard2016-12-161-4/+9
|
* implement parameterized testsMarkus Mohrhard2016-12-166-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | This allows to execute the same test with different parameters and treats each execution as an own test. The change consists of two parts, the TestCaller can now handle any callable which also makes it easy to generate programatically more complex test cases as well as the new CPPUNIT_TEST_PARAMETERIZED macro. That macro takes the test name as well as an iteratable, e.g. std::initializer_list. An example for this usage is: class SimpleTest : public CppUnit::TestFixture { public: CPPUNIT_TEST_SUITE(SimpleTest); CPPUNIT_TEST_PARAMETERIZED(test, {1, 2, 3, 4}); CPPUNIT_TEST_SUITE_END(); void test(int i) { CPPUNIT_ASSERT(i < 5); } }; which will execute test 4 times with the values 1 to 4.
* use std::function for the test method in TestCallerMarkus Mohrhard2016-12-161-5/+15
| | | | This allows us to pass in any callable e.g. results of std::bind.
* extract the code to turn a variable into a stringMarkus Mohrhard2016-12-163-30/+49
|
* AM_CPPFLAGS is preferred by "newer" versions of automakeDavid Tardon2016-12-166-6/+6
|
* error: blank line following trailing backslashDavid Tardon2016-12-161-1/+1
|
* drop project files for Visual Studio < 2010David Tardon2016-12-1619-11458/+2
|
* tdf#104498 CPPUNIT_USE_TYPEINFO_NAME is a flagDavid Tardon2016-12-167-8/+8
| | | | ... so check just for existence.
* we no longer need a wrapper for the smart pointer caseMarkus Mohrhard2016-12-157-27/+20
|