975e86c895
Allow backend libraries to be used from other projects
...
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.
This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.
With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
1bf58bf38d
Apply cmake-format and clang-format
2020-12-17 17:52:02 +01:00
49bbebd1ad
Allow configuring package suffix for qtutilities individually
2020-10-23 17:03:57 +02:00
0b5fb14931
Remove overspecification of Qt version in documentation and comments
2020-09-04 01:13:46 +02:00
c103174609
Make desktop files for Plasma integration from template
...
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +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
d9f5959165
Don't use deprecated Qt functions
2019-07-07 12:15:20 +02:00
dc7d9b815f
Adapt to changes in c++utilities
2019-06-14 19:15:26 +02: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
d88df866d2
Adapt to c++utilities v5
2019-05-04 21:05:21 +02:00
326f03b604
Apply cmake-format
2019-02-06 17:36:14 +01:00
2370fe1ef5
Let CMake generate code for test application
2019-01-13 22:16:23 +01: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
703225b410
Fix/improve CLI tests
...
* Adapt to interleaved output previously enabled in SyncthingTestInstance
* Make it work when verbose output for debugging is enabled
* Show which status line didn't match in case of an failure
* Disable flaky rescan tests in release mode
2018-10-20 23:48:24 +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
c249414411
Improve SyncthingTestInstance
...
* Show Syncthing's output interleaved with the test output
by default
* Show Syncthing start parameter
2018-10-14 22:48:52 +02:00
db6c8af414
Debug Syncthing crashes during testruns
2018-10-12 00:09:02 +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
72e1377c43
Add tests for syncthingctl
2018-05-01 01:16:20 +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
26c8af598e
Flag the test for testhelper as manual test
...
So it is not executed on eg. `make check`.
2018-01-27 23:58:46 +01:00
2f26543acf
Add app to automatically setup basic env for manual testing
2018-01-27 16:47:10 +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
2c3ad1d932
test helper: Fix including syncthingprocess.h
2017-07-11 22:57:35 +02:00
f95ad68a3a
Link testhelper against connector, remove global includes
2017-07-11 22:53:45 +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