tests/auto/qftp/tst_qftp.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 14 c0432d11811c
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   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