comparison ui/tests/downloadertest.cpp @ 50:a7b8cb29f1f6

Rename random files to garbage to clarify what they contain
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 17 Mar 2014 11:36:42 +0000
parents 3f8c2d46ded6
children 78633b2b580c
comparison
equal deleted inserted replaced
49:c389915fd55e 50:a7b8cb29f1f6
100 Downloader* downloader = new Downloader(this, 100 Downloader* downloader = new Downloader(this,
101 QString::fromLatin1("https://localhost:44443"), 101 QString::fromLatin1("https://localhost:44443"),
102 validCert.readAll(), 102 validCert.readAll(),
103 QDateTime::currentDateTime(), // Last installed SW 103 QDateTime::currentDateTime(), // Last installed SW
104 QDateTime::fromString("2010", "YYYY"), 104 QDateTime::fromString("2010", "YYYY"),
105 "/random_2MB", 105 "/garbage_2MB",
106 "/list-valid.txt"); 106 "/list-valid.txt");
107 validCert.close(); 107 validCert.close();
108 108
109 QSignalSpy newListAvailable(downloader, 109 QSignalSpy newListAvailable(downloader,
110 SIGNAL(newListAvailable(const QString&, const QDateTime&))); 110 SIGNAL(newListAvailable(const QString&, const QDateTime&)));

http://wald.intevation.org/projects/trustbridge/