Martchus
5950aed7ec
Adjust use of llvm-cov to LLVM 5
2018-01-29 16:20:09 +01:00
Martchus
400e73005a
Fix use of std::time
2018-01-28 18:03:58 +01:00
Martchus
ff5eb6c7c9
Do not show help for --help
2018-01-28 00:43:03 +01:00
Martchus
09f9181281
Split operations from other top-level args in --help
2018-01-28 00:38:05 +01:00
Martchus
18e7154c03
Allow test target to be intended for manual testing
...
So those test targets which only setup an environment for
manual testing can be excluded from eg. `make check`.
2018-01-28 00:36:46 +01:00
Martchus
a67805cb0f
Allow providing a special include dir for build
2018-01-20 20:43:18 +01:00
Martchus
5c6207c6fa
Do not try to strip header only libs
2018-01-20 17:44:14 +01:00
Martchus
60a762f514
Allow configuring static Qt Widget style plugins
...
Required since the platform styles have been
pluginized in Qt 5.10
See 4f3249f32d
2017-12-15 20:18:17 +01:00
Martchus
37c98b2f91
Allow ~OutputCheck() to throw so assert behaves as expected
...
* Required because assertion might throw
* No ABI break because not part of ABI anyways
2017-12-11 14:01:40 +01:00
Martchus
db006408b7
Export DateTime operator+(DateTime begin, Period period)
2017-12-03 14:56:34 +01:00
Martchus
46e9d4b1e4
Add formatting for Period class
2017-12-03 14:55:49 +01:00
Martchus
26cd303422
Improve period compution
2017-12-03 01:45:54 +01:00
Martchus
a89f6f9ce4
Improve documentation of chrono library
2017-12-03 01:45:11 +01:00
Martchus
602993aa05
Add tests for TimeSpanOutputFormat::TotalSeconds
2017-12-02 22:26:26 +01:00
Martchus
85f29adb8a
Use full precision for total seconds in TimeSpan::toString
2017-11-29 23:11:26 +01:00
Martchus
a3192a1113
Fix parsing top-level argument after abbreviation
2017-11-29 22:52:50 +01:00
Martchus
ad705239b2
Simplify argument parsing
2017-11-29 22:07:45 +01:00
Martchus
4e4e13e4c8
Improve argument parser tests
2017-11-29 20:29:51 +01:00
Martchus
a16b056dc3
Fix reading value after abbreviation and equation sign
2017-11-29 20:23:15 +01:00
Martchus
d7185fc1bc
Improve documentation
2017-11-29 19:11:01 +01:00
Martchus
1ab9349eaa
Improve const correctness
2017-11-29 19:08:22 +01:00
Martchus
8aff877874
Fix comparing sibling name with denoted name
2017-11-27 10:30:14 +01:00
Martchus
fe3929c340
Add phrase for info
2017-11-27 10:25:41 +01:00
Martchus
3051675bbe
Allow conversion of TimeSpan to string with total seconds
2017-11-27 10:25:41 +01:00
Martchus
424a0bfb6f
Add method for parsing args with customizable behavior
2017-11-27 10:25:41 +01:00
Martchus
9744efda70
Ensure default testfiles directory for working copy exists
2017-11-17 23:36:36 +01:00
Martchus
684e97ce2a
Allow customizing the config header file
...
by setting the 'META_CUSTOM_CONFIG' variable
2017-11-17 20:36:34 +01:00
Martchus
2264ea5cf2
Add trait to check whether type is complete
2017-11-16 02:00:03 +01:00
Martchus
a4e7cbd5c3
Make target 'interface_sources_for_qtcreator' unique
2017-11-16 01:59:43 +01:00
Martchus
e283eea1f0
Prevent using executable of header-only lib for coverage
2017-11-15 19:13:36 +01:00
Martchus
cf4789e94d
testutils: Allow asserting maps/hashes
2017-11-13 20:06:09 +01:00
Martchus
ab42e9d96c
Improve documentation of testutils
2017-11-12 16:58:53 +01:00
Martchus
cc5d6052f5
test application: Allow to skip argument parsing
2017-11-12 16:17:08 +01:00
Martchus
39f69f94d7
Make CPP_UTILITIES_TRAITS_DEFINE_TYPE_CHECK usabe from any ns
2017-11-06 21:28:09 +01:00
Martchus
f9e4c74aff
argument parser: Expose occurrence info directly
...
Primarily for testing porposes, see documentation.
2017-11-06 19:50:46 +01:00
Martchus
cc09fdc35f
Use Argument::varValueCount everywhere
2017-11-06 19:49:39 +01:00
Martchus
6bc97e5b16
Fix API doc (\macro -> \def)
2017-11-06 19:47:17 +01:00
Martchus
f3777d7159
Improve description and README.md
2017-11-04 15:48:47 +01:00
Martchus
a7880e3d0c
Remove *.qm files from targets when built-in translations enabled
...
This prevents updating *.ts files twice and in parallel leading to
build errors.
2017-11-02 00:10:06 +01:00
Martchus
924481b033
Fix platform check for readFallback...() functions
2017-11-01 19:30:55 +01:00
Martchus
6fd2603cff
teat application: Prevent copying dir entries
2017-11-01 19:17:57 +01:00
Martchus
9fb347db24
Add generic macro for defining (custom) type checks
2017-11-01 15:19:28 +01:00
Martchus
34f3ebb45d
Let tests find the application path without extra args
...
Currently the path of the application to be tested always had to
be specified either manually using the -a argument or by running
the tests via the build system targets. The first option is annoying
and the second option not so nice when using Qt Creator and the
debugger.
This commit makes tests assume the application to be tested is
called like the test executable itself, just without "_tests"-suffix.
2017-10-30 23:03:43 +01:00
Martchus
2bb4aa36a4
Let tests find the testfiles from sources without extra args
...
Currently the path of the testfiles always had to be specified
either manually using the -p argument or by running the tests
via the build system targets. The first option is annoying and
the second option not so nice when using Qt Creator and the
debugger.
This commit allows tests to find the testfiles from the source
directory automatically (as fallback). This is achieved by
creating a file containing the path of the source directory
with CMake. Note that this file can only be found if the working
directory is set to the binary directory (default in Qt Creator).
2017-10-30 23:01:07 +01:00
Martchus
3c16d2beb8
Export determineTerminalSize() correctly
2017-10-30 22:34:10 +01:00
Martchus
fa39e2a1aa
Add traits to check for reserve() and size()
2017-10-27 18:25:32 +02:00
Martchus
60e4fead05
Deprecate FakeQtConfigArguments
2017-10-25 19:32:45 +02:00
Martchus
dab05bdade
Improve coding style in test utilities
2017-10-24 01:02:07 +02:00
Martchus
2203e0a335
Set dependencies of tidy target correctly
2017-10-24 01:01:29 +02:00
Martchus
a869aa8def
Do not add sources to header-only libs
2017-10-23 01:12:51 +02:00