7e7eab9eb8
Hardcode 127.0.0.1
in test setup instead of relying on DNS resolution of localhost
...
This should not be necessary but apparently helps with test failures
reported in https://github.com/Martchus/syncthingtray/issues/105 .
2021-08-09 13:05:12 +02:00
dcbc19cf8c
Adapt mocking to latest changes
...
* Cover all required requests so the connection can be
established without errors
* Add more events to test error handling
* Fix definition of LIB_SYNCTHING_CONNECTOR_CONNECTION_MOCKED
after syncthingconnection.cpp split
2018-11-03 20:44:11 +01: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
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
dfff485fc4
Update testconfig to version 28
...
Not sure whether it actually works. Right now Syncthing crashes
under Arch Linux for me using the previous config and the updated
version.
2018-10-14 22:50:54 +02:00
99cb584249
Use non-standard port for tests
2018-10-10 22:45:49 +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
bde3734ea4
Add mocks for testing rejected events
2018-05-02 00:00:47 +02:00
f7dc8c93bd
Ensure Syncthing doesn't try to upgrade during tests
2018-04-17 23:52:20 +02:00
4f58e054d5
Improve test mode (mocked SyncthingConnection)
...
* Add further events allowing to reproduce download
model issues visible in Plasmoid
* Use TestApplication to find testfiles
2017-11-12 17:03:30 +01:00
582c800b7c
Add directory errors to mock config
2017-09-08 17:01:51 +02:00
2747ce76ff
Allow compiling connector with mocked SyncthingConnection
2017-09-05 00:22:52 +02:00
e4a382e4e8
Improve connector tests
...
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02: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