kdeconnect-kde/core
Simon Redman c7579eb170 Fix LanLinkProviderTest on Windows
## Summary
LanLinkProviderTest fails on Windows. This patch fixes that.

I believe the root cause is that we are using a shared UDP socket to listen for identity broadcasts both in the LanLinkProvider and in the test. Apparently this works on Linux, but on Windows the LanLinkProvider picks up its own identity packet and pairs with itself.

This patch gives a parameter to LanLinkProvider to allow it to listen and broadcast on different ports, then uses that ability in the test to make the test pass on Windows.

## Test Plan

### Before:
lanlinkprovider test fails, first because it can't bind its UDP listener socket, and then because Windows seems to handle shared sockets differently than Linux, so the UDP broadcasts were not reaching the test's listener.

### After:
lanlinkprovider test seems to pass reliably both in my Windows VM and in the CI
2019-06-05 15:14:50 +00:00
..
backends Fix LanLinkProviderTest on Windows 2019-06-05 15:14:50 +00:00
CMakeLists.txt Remove unneeded include dir definition 2019-06-02 23:02:41 +02:00
compositefiletransferjob.cpp Use a compositejob for receiving files 2019-06-02 14:02:21 +00:00
compositefiletransferjob.h Use a compositejob for receiving files 2019-06-02 14:02:21 +00:00
core_debug.cpp Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
core_debug.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
daemon.cpp ## Summary 2019-06-02 21:26:47 +00:00
daemon.h ## Summary 2019-06-02 21:26:47 +00:00
dbushelper.cpp Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
dbushelper.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
device.cpp Don't allow to enable nonexistant plugins 2019-05-10 22:20:12 +00:00
device.h Refactor testdevice 2019-06-05 02:42:06 +00:00
filetransferjob.cpp Use a compositejob for receiving files 2019-06-02 14:02:21 +00:00
filetransferjob.h Use a compositejob for receiving files 2019-06-02 14:02:21 +00:00
kdeconnectconfig.cpp Fix daemon's error handling 2019-05-13 22:35:25 +00:00
kdeconnectconfig.h Better error handling when loading cert and key 2019-05-09 00:03:59 +02:00
kdeconnectplugin.cpp Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
kdeconnectplugin.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
kdeconnectpluginconfig.cpp Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
kdeconnectpluginconfig.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Messages.sh Figure out Messages.sh after code refactoring 2014-06-17 18:45:47 +02:00
networkpacket.cpp Use a compositejob for receiving files 2019-06-02 14:02:21 +00:00
networkpacket.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
networkpackettypes.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
notificationserverinfo.cpp Use notification hints from new Plasma notification system 2019-06-02 14:03:11 +00:00
notificationserverinfo.h Use notification hints from new Plasma notification system 2019-06-02 14:03:11 +00:00
pluginloader.cpp s/Q_NULLPTR/nullptr/ 2019-05-05 15:45:50 +02:00
pluginloader.h Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
qtcompat_p.h Build kdeconnect on sailfish and port some simple plugins 2018-08-02 20:10:59 +01:00