Commit Graph

18 Commits

Author SHA1 Message Date
Martchus f380732068 Don't use std::function for handlers in testcode
Just use the lambdas directly and make if(handler) check
only if possible.
2018-10-21 21:07:43 +02:00
Martchus 407514289a Fix typo infos -> info 2018-10-18 23:34:02 +02:00
Martchus 545465b52a testutils: Check first for failure 2018-10-18 23:25:24 +02:00
Martchus 7611ad1c8e Propose use of SYNCTHING_TEST_TIMEOUT_FACTOR 2018-09-06 22:04:22 +02:00
Martchus 7e2eea8523 tests: Increase timeouts, use timeout factor everywhere 2018-08-05 15:20:21 +02:00
Martchus 754cd0c2e1 Allow printing current config 2018-04-01 20:21:51 +02:00
Martchus 914aac6e39 Make bash completion faster by requesting only config 2018-02-19 03:22:47 +01:00
Martchus 13b5dbea18 Prevent including HelperMacros.h when using testhelper for CLI 2017-10-07 22:44:58 +02:00
Martchus a302bf8abf testhelper: Fix documentation 2017-09-30 18:51:50 +02:00
Martchus 30347f1845 Make testhelper usable for the CLI
TODO: Generalize wait... methods and move them to
qtutilities.
2017-09-30 18:46:27 +02:00
Martchus 69ffaeb1f3 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
Martchus 1ed4905139 tests: Allow specifying timeout factor
The timeout factor is read from environment
variable SYNCTHING_TEST_TIMEOUT_FACTOR
2017-07-14 16:23:32 +02:00
Martchus e4a382e4e8 Improve connector tests
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
Martchus da8f6f7353 Apply tidy 2017-07-02 22:08:30 +02:00
Martchus 55757b1e57 connector: Refactor and improve tests 2017-07-02 21:47:59 +02:00
Martchus b1d9df73d1 Apply clang-format 2017-05-04 22:48:45 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 40b8713ba6 Move test helper to separate library
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00