Commit Graph

13 Commits

Author SHA1 Message Date
Martchus 6497f74046 Use override in test fixtures 2019-10-13 18:28:32 +02:00
Martchus 61958c5046 Polish libsyncthing
* Adapt tests
* Remove duplicated code
* Stop Syncthing from a different thread since
  it blocks until Syncthing has stopped
2019-07-18 17:21:53 +02:00
Martchus 038225936e Base libsyncthing on official library refactoring 2019-07-17 17:53:36 +02:00
Martchus 3c9ab47e2a Fix compiling libsyncthing tests 2019-06-22 16:38:59 +02:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus 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
Martchus a36bc4524b Fix running and stopping libsyncthing multiple times 2018-04-18 00:40:07 +02:00
Martchus 6d7c876553 Clean database before restarting in libsyncthing tests 2018-04-18 00:15:31 +02:00
Martchus fbbf533a37 Allow passing raw CLI arguments in libsyncthing interface 2018-04-17 23:54:43 +02:00
Martchus f7dc8c93bd Ensure Syncthing doesn't try to upgrade during tests 2018-04-17 23:52:20 +02:00
Martchus 28eacb61a4 Verify whether Syncthing started via libsyncthing is stopped correctly
This is currently not the case so the tests fail now.
Need to investigate how to stop Syncthing correctly.
2018-04-17 23:50:45 +02:00
Martchus 6c1c95c4c5 Improve libsyncthing
* Add documentaton
* Add isSyncthingRunning()
2018-04-15 20:19:14 +02:00
Martchus aedf7fe1fd Improve libsyncthing interface
* Allow to stop
* Provide callback for logging
* Add basic tests
2018-04-14 23:07:35 +02:00