047a4e461e
Allow refreshing root in file browser
2024-05-01 15:58:09 +02:00
982f04bbaa
Apply clang-format
2024-04-06 19:39:38 +02:00
da3ad3347d
Fix remaining problems preventing unity builds to work
...
* Avoid multiple definitions of `centerObj()`; this was very bad anyway
* Include `c++utilities/tests/testutils.h` upfront so the formatting
operators are included before CppUnit
2024-01-30 23:11:00 +01:00
66a8dda244
Improve test setup
...
* Improve code for reading environment variables
* Make tests work when the temp directory is not `/tmp` because e.g. `TEMP`
has been set or tests are executed under Windows
2023-08-02 17:36:26 +02:00
0ef3b80447
Fix typos found via codespell --skip .git -w
2021-07-03 19:29:49 +02:00
1bf58bf38d
Apply cmake-format and clang-format
2020-12-17 17:52:02 +01:00
133dbacb5d
Use consistent order for visibility attribute
2020-01-29 18:51:10 +01:00
2d704cf765
Fix missing export macros
2020-01-10 18:01:37 +01:00
131050b275
Don't use functions deprecated in Qt 5.14.0
2019-12-18 00:07:52 +01:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
a30853cfeb
Apply cmake-format and clang-format
2019-05-04 22:10:37 +02:00
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
407514289a
Fix typo infos -> info
2018-10-18 23:34:02 +02:00
545465b52a
testutils: Check first for failure
2018-10-18 23:25:24 +02:00
7611ad1c8e
Propose use of SYNCTHING_TEST_TIMEOUT_FACTOR
2018-09-06 22:04:22 +02:00
7e2eea8523
tests: Increase timeouts, use timeout factor everywhere
2018-08-05 15:20:21 +02:00
754cd0c2e1
Allow printing current config
2018-04-01 20:21:51 +02:00
914aac6e39
Make bash completion faster by requesting only config
2018-02-19 03:22:47 +01:00
13b5dbea18
Prevent including HelperMacros.h when using testhelper for CLI
2017-10-07 22:44:58 +02:00
a302bf8abf
testhelper: Fix documentation
2017-09-30 18:51:50 +02:00
30347f1845
Make testhelper usable for the CLI
...
TODO: Generalize wait... methods and move them to
qtutilities.
2017-09-30 18:46:27 +02:00
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
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
e4a382e4e8
Improve connector tests
...
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
da8f6f7353
Apply tidy
2017-07-02 22:08:30 +02:00
55757b1e57
connector: Refactor and improve tests
2017-07-02 21:47:59 +02:00
b1d9df73d1
Apply clang-format
2017-05-04 22:48:45 +02:00
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
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