Commit Graph

836 Commits

Author SHA1 Message Date
Marius Kittler 4449198711 Remove file handle from NativeFileStream 2019-04-13 20:33:39 +02:00
Martchus f40a800107 Remove USE_NOTHROW and make ConversionException inline 2019-04-13 20:33:39 +02:00
Martchus 62902f98e8 Remove settingsDirectory() 2019-04-13 20:33:39 +02:00
Martchus 716af584c5 Use CMakeParseArguments for add_custom_desktop_file() 2019-04-13 20:33:39 +02:00
Martchus e79563569a Improve Period class 2019-04-13 20:33:39 +02:00
Martchus 6088f6bb43 Don't include Qt-specific config in config.h 2019-04-13 20:33:39 +02:00
Martchus ac8fe5d2c7 Improve constructors for test application 2019-04-13 20:33:39 +02:00
Martchus 264a349751 Remove widen.h, use iconv based string conversion instead 2019-04-13 20:33:39 +02:00
Martchus bc8ea407bc Prevent use of static variables in ArgumentParser
Have --no-color and --help added by default rather
so argument parser is in control over them and don't
has to use static functions.
2019-04-13 20:33:39 +02:00
Martchus 8b919250e3 chrono utils: Make public constants signed 2019-04-13 20:33:39 +02:00
Martchus b178bb086c Remove random utilities 2019-04-13 20:33:39 +02:00
Martchus d99a611fbc Bump major version 4 -> 5 2019-04-13 20:33:39 +02:00
Martchus 115426c1bc Fix linking test target against static library 2019-04-13 20:31:40 +02:00
Martchus 41fa627ef4 Apply tidy 2019-03-11 17:47:17 +01:00
Martchus 7452d44e64 Prevent formatting bitrate as "-NaN GiB/s" 2019-03-10 16:26:23 +01:00
Martchus 0bd53c77b5 Query install directory for Qt plugins from qmake 2019-02-27 21:05:23 +01:00
Martchus cf86358f55 Document TLS variable 2019-02-07 17:47:15 +01:00
Martchus 86f3bf8b3b Apply cmake-format 2019-02-06 17:30:52 +01:00
Martchus 42dd86a16e Support cmake-format via tidy target 2019-02-05 22:51:07 +01:00
Martchus da0cf4ff29 Fix build under Android platform >= 24
This alters the ABI but it is ok since with that config
a build was previously impossible anyways.
2019-02-04 00:40:50 +01:00
Martchus 789af62d97 Add workingCopyPathAs() 2019-01-20 22:56:22 +01:00
Martchus d21cde6fe3 Remove unused variable in testFilePath() 2019-01-20 22:16:07 +01:00
Martchus 8b35d06aa7 Improve documentation for testFilePath()/workingCopyPath() 2019-01-20 22:15:35 +01:00
Martchus 70f4b20d8a Document META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION 2019-01-13 22:48:49 +01:00
Martchus b2bf0a002b Allow to add default cppunit test application
To get rid of the boilderplate file "cppunit.cpp" in each
project using cppunit for tests.
2019-01-13 22:14:42 +01:00
Martchus f66aa33d61 Reduce indentation in TestTarget.cmake 2019-01-13 22:01:52 +01:00
Martchus a0dff23c26 Remove extra handling for big endian
The detection for big endian seems to work. But the special
handling for big endian is wrong. Only without it tests pass
under ppc64. Tested with Tumbleweed ppc64 image ran within
qemu-system-ppc64.
2019-01-12 04:53:05 +01:00
Martchus fe4d2b5778 Improve readability of endianness detection 2018-12-29 23:48:01 +01:00
Martchus 22795dac8a Remove code for Android ECM module
Use module provided by qtutilities instead
2018-12-22 02:07:49 +01:00
Martchus b16d91287d Track dependencies of Windows resource file
So changing the icon will cause the resource file
to be recompiled.
2018-12-22 00:40:38 +01:00
Martchus 8ed1a03f92 Consider *.c and *.hpp files formattable as well 2018-12-08 19:06:01 +01:00
Martchus 2f0a7050ac Auto-detect bugtracker on Gitea 2018-12-08 19:04:48 +01:00
Martchus 26496c310e Make path of Git executable configurable 2018-12-08 19:04:01 +01:00
Martchus ec39e2f5d2 Add Phrases::SubError and Phrases::SubWarning 2018-11-11 22:34:38 +01:00
Martchus 82816d7653 Fix creating new file if using NativeFileStream with ios_base::out 2018-11-02 23:06:30 +01:00
Martchus 757a3476cc test utilities: Print testfile path in all cases 2018-11-02 22:36:22 +01:00
Martchus 98edb5a67c Allow omitting second fraction in DateTime::fromIsoString 2018-11-01 20:20:32 +01:00
Martchus 44e4d1335a Fix Traits::IsSpecializationOf to ignore cv qualifier
So eg. const/volatile std::string is also considered a
specialization of std::basic_string like one would expect.
2018-10-29 23:16:16 +01:00
Martchus 34eac527ee Log actual application path when testing 2018-10-25 18:20:14 +02:00
Martchus ca6663a6d5 Prevent breaking source compatibility of TESTUTILS_ASSERT_EXEC 2018-10-21 21:21:01 +02:00
Martchus 6825e0367f Test Traits::HasOperatorBool 2018-10-21 21:14:51 +02:00
Martchus c0f74e4c89 Add BOOST_IOSTREAMS_DYN_LINK to compile defs
if linking dynamically against Boost.Iostreams
2018-10-21 20:24:55 +02:00
Martchus 66b4b782cd Improve TESTUTILS_ASSERT_EXEC to print stdout/stderr on failure 2018-10-21 20:22:43 +02:00
Martchus cad2977e4e Add Traits::HasOperatorBool 2018-10-21 20:21:28 +02:00
Martchus 4ca32e14dc Use set_property instead of set_source_files_properties
since it allows to append which is what should actually happen
2018-10-17 17:34:46 +02:00
Martchus 71f41e4871 Add link to findicons 2018-10-15 17:42:51 +02:00
Martchus 366f722904 Fix documentation for workingCopyPath() 2018-10-07 21:43:34 +02:00
Martchus 17fc55a2c6 Fix compilation of testutils under Windows without NativeFileStream 2018-10-07 21:14:56 +02:00
Martchus c66420b1dc Remove target to launch tests with wine
This wasn't of much use. One can just use `make
check` and set WINEPATH before manually.
2018-10-07 20:04:31 +02:00
Martchus 7c4cd6ee7d Set permissions to 644 when creating a file via open() 2018-10-07 19:16:41 +02:00