winrt: Fix tst_QSocketNotifier::asyncMultipleDatagram
Change-Id: I90de7487b0ddcd5655434e99a05eef7f29def59b Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>bb10
parent
7e7bc031e9
commit
5c38bbf9ba
|
|
@ -350,6 +350,9 @@ void tst_QSocketNotifier::async_writeDatagramSlot()
|
|||
|
||||
void tst_QSocketNotifier::asyncMultipleDatagram()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not allow connection to localhost", SkipAll);
|
||||
#else
|
||||
m_asyncSender = new QUdpSocket;
|
||||
m_asyncReceiver = new QUdpSocket;
|
||||
|
||||
|
|
@ -379,6 +382,7 @@ void tst_QSocketNotifier::asyncMultipleDatagram()
|
|||
|
||||
delete m_asyncSender;
|
||||
delete m_asyncReceiver;
|
||||
#endif // !Q_OS_WINRT
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_QSocketNotifier)
|
||||
|
|
|
|||
Loading…
Reference in New Issue