WinRT: Skip unsupported multicast UDP socket tests
Change-Id: I69f756ad829569060ae9931748b940842d23a6ea Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
This commit is contained in:
parent
265cda469f
commit
ec4426fada
@ -1126,6 +1126,9 @@ void tst_QUdpSocket::multicastTtlOption_data()
|
||||
|
||||
void tst_QUdpSocket::multicastTtlOption()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
QFETCH(QHostAddress, bindAddress);
|
||||
QFETCH(int, ttl);
|
||||
@ -1168,6 +1171,9 @@ void tst_QUdpSocket::multicastLoopbackOption_data()
|
||||
|
||||
void tst_QUdpSocket::multicastLoopbackOption()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
QFETCH(QHostAddress, bindAddress);
|
||||
QFETCH(int, loopback);
|
||||
@ -1198,6 +1204,9 @@ void tst_QUdpSocket::multicastJoinBeforeBind_data()
|
||||
|
||||
void tst_QUdpSocket::multicastJoinBeforeBind()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH(QHostAddress, groupAddress);
|
||||
|
||||
QUdpSocket udpSocket;
|
||||
@ -1218,6 +1227,9 @@ void tst_QUdpSocket::multicastLeaveAfterClose_data()
|
||||
|
||||
void tst_QUdpSocket::multicastLeaveAfterClose()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
QFETCH(QHostAddress, groupAddress);
|
||||
if (setProxy)
|
||||
@ -1259,6 +1271,9 @@ void tst_QUdpSocket::setMulticastInterface_data()
|
||||
|
||||
void tst_QUdpSocket::setMulticastInterface()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
QFETCH(QNetworkInterface, iface);
|
||||
QFETCH(QHostAddress, address);
|
||||
@ -1307,6 +1322,9 @@ void tst_QUdpSocket::multicast_data()
|
||||
|
||||
void tst_QUdpSocket::multicast()
|
||||
{
|
||||
#ifdef Q_OS_WINRT
|
||||
QSKIP("WinRT does not support multicast.");
|
||||
#endif
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
QFETCH(QHostAddress, bindAddress);
|
||||
QFETCH(bool, bindResult);
|
||||
|
Loading…
Reference in New Issue
Block a user