equal
deleted
inserted
replaced
306 { |
306 { |
307 QFETCH_GLOBAL(bool, setProxy); |
307 QFETCH_GLOBAL(bool, setProxy); |
308 if (setProxy) |
308 if (setProxy) |
309 QSKIP( "This test takes too long if we test with proxies too", SkipSingle ); |
309 QSKIP( "This test takes too long if we test with proxies too", SkipSingle ); |
310 |
310 |
311 QString host = "1.2.3.4"; |
311 QString host = "192.0.2.42"; // IP out of TEST-NET, should be unreachable |
312 uint port = 21; |
312 uint port = 21; |
313 |
313 |
314 ftp = newFtp(); |
314 ftp = newFtp(); |
315 addCommand( QFtp::ConnectToHost, ftp->connectToHost( host, port ) ); |
315 addCommand( QFtp::ConnectToHost, ftp->connectToHost( host, port ) ); |
316 |
316 |