1bf58bf38d
Apply cmake-format and clang-format
2020-12-17 17:52:02 +01:00
3b49e9e312
Support Qt 6 (commit 174154b)
2020-09-04 01:09:18 +02:00
f14a34b877
Apply clang-format
2020-03-17 18:56:59 +01:00
db65957154
Start a few queries before testing to disconnect
2020-03-05 19:17:42 +01:00
7ad623d660
Increase the timeout for disconnect in tests
2020-03-02 18:19:47 +01:00
7edaacc677
Apply clang-format
2020-01-18 16:43:13 +01:00
131050b275
Don't use functions deprecated in Qt 5.14.0
2019-12-18 00:07:52 +01:00
6497f74046
Use override in test fixtures
2019-10-13 18:28:32 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
f74dbe2799
Prevent enless connection attempts in connector test
...
Those are observable on misc OBS builds. This hopefully prevents
perpetual OBS builds and should also allow to actually investigate
what the problem is.
2019-01-13 17:48:39 +01:00
c83df582b6
Fix subtile bugs on reconnect
...
* Ensure previous long polling requests for events are aborted
before connecting again
* Ensure results from previous requests are always discarded
after aborting to reconnect
2018-12-25 02:30:13 +01:00
ad57a0ac9f
Adapt tests to changed status initialization
2018-11-02 23:38:40 +01:00
25ace0eb17
Fix condition to set status to disconnected
2018-10-28 15:39:15 +01:00
2862b6fd87
Re-enable all connection tests
2018-10-28 14:38:34 +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
76f214adf1
Ignore test for config too
...
This test randomly fails as well
2018-10-21 00:11:30 +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
97dab2a959
Disable flaky tests for release
2018-10-20 22:12:26 +02:00
2e67e6b2de
Use signals for logAvailable() and qrCodeAvailable()
2018-10-20 22:08:25 +02:00
c7bccf023a
Fix tests, make them more stable and verbose
...
Tests still sometimes fail when
* requesting QR code
* requesting rescan
2018-10-18 23:37:29 +02:00
407514289a
Fix typo infos -> info
2018-10-18 23:34:02 +02:00
d138c6d9d1
Change address of dev in testconfig to something not reachable
...
in my local network - otherwise Syncthing panics for whatever
reason :-/
2018-10-14 23:31:19 +02:00
e410991012
Allow logging all API calls
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
9599dcee81
Increase timeout for applying config
2018-09-06 21:58:41 +02:00
7e2eea8523
tests: Increase timeouts, use timeout factor everywhere
2018-08-05 15:20:21 +02:00
2fcc94f567
Handle new folder types
...
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
72e1377c43
Add tests for syncthingctl
2018-05-01 01:16:20 +02:00
819d37eeee
Test dealing with arbitrary config
2018-04-30 21:30:35 +02:00
eb70f5a3f4
Fix warnings about unused variables
2017-09-17 20:32:29 +02:00
be6d0cbf5d
Don't show own dev in shared devs of dir
2017-08-22 20:44:49 +02:00
9b45c49b97
Show names for the devs a dir is shared with
...
(previously only the IDs were shown)
2017-08-22 19:45:07 +02:00
ed1b13d43e
Fix rescanning part of connection tests
2017-08-21 01:01:20 +02:00
cc6fec91c1
Dump config during connection tests only when enabled
...
by setting environment variable SYNCTHING_TEST_DUMP_CONFIG_UPDATES
2017-08-21 01:00:41 +02:00
8f672eef14
connector tests: Remove unused 'this' capture
2017-07-11 19:35:40 +02:00
e4a382e4e8
Improve connector tests
...
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
ac6150d677
connection tests: Increase all timeouts for resuming/pausing
...
And apply clang-format
2017-07-08 01:17:19 +02:00
570c2606f7
connection tests: Increase timeouts for resuming/pausing
2017-07-03 21:56:39 +02:00
8fa6da5b9d
connection tests: Ensure dirs and devs are ready
2017-07-03 14:07:20 +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
2845f5883d
Fix compiling tests under 32-bit arch
2017-06-01 11:11:38 +02:00
b1d9df73d1
Apply clang-format
2017-05-04 22:48:45 +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
39b23842a8
Fix reconnecting test
2017-03-20 21:19:47 +01:00
6c51a470b7
Improve connector tests
...
Still not sure why reconnecting fails with GCC
2017-03-11 18:07:49 +01:00
0868f2cf6a
Extend tests of connector library
2017-03-09 23:10:03 +01:00
a3887749a5
Test SyncthingConnection class
2017-03-09 02:58:13 +01:00