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
31e7e4e79e
Support "Waiting to scan"
...
This state has been introduced
with https://github.com/syncthing/syncthing/pull/4888
2019-09-27 16:41:24 +02:00
6243a4c2fd
Prepare for "Prepare to Sync"
...
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
335913c8ca
Fix build without systemd support
2019-07-13 13:21:02 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
2370fe1ef5
Let CMake generate code for test application
2019-01-13 22:16:23 +01: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
6dc521599f
Adapt tests to changes in dir error handling
2018-11-03 21:55:31 +01:00
c5d22d8984
Adapt tests to changed SyncthingDir::assignStatus()
2018-11-02 23:39:15 +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
99cb584249
Use non-standard port for tests
2018-10-10 22:45:49 +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
ad3c8b5240
Don't meld 'unshared' into the status
...
Just deal with it like with the paused flag. This will
hopefully solve the issue that dirs are wrongly shown as
unshared till the next status update.
2018-07-22 22:09:18 +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
b0dc9c861d
Improve SyncthingProcess::splitArguments() parser
2018-04-18 23:46:17 +02:00
0d635e5ad5
Refactor launcher
...
* Pass program and arguments directly
* Prevent failure on white space in executable path
* Use own parser for arguments
* Make libsyncthing accessible from launcher
2018-04-18 23:27:45 +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
c4ccda93c9
Show global directory errors messages
...
Previously, only error messages for failed
items have been shown.
2017-07-14 20:14:15 +02:00
471fb7c363
Fix checking number of expected SSL errors
2017-07-11 23:04:56 +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