comparison ui/tests/mainwindowtest.cpp @ 875:a43ebf716abd

With linux verification workin we need to verify the signed package.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 07 Aug 2014 13:05:26 +0200
parents 2fd4f9980a2a
children
comparison
equal deleted inserted replaced
872:02e357826417 875:a43ebf716abd
26 void MainWindowTest::testValidUpdate() { 26 void MainWindowTest::testValidUpdate() {
27 QSignalSpy closed(this, SIGNAL(closeCalled())); 27 QSignalSpy closed(this, SIGNAL(closeCalled()));
28 #ifdef Q_OS_WIN 28 #ifdef Q_OS_WIN
29 installNewSW(QString::fromLatin1("c:/fakeinst.exe"), QDateTime::currentDateTime()); 29 installNewSW(QString::fromLatin1("c:/fakeinst.exe"), QDateTime::currentDateTime());
30 #else 30 #else
31 installNewSW(QString::fromLatin1("fakeinst"), QDateTime::currentDateTime()); 31 installNewSW(QString::fromLatin1("fakeinst-signed"), QDateTime::currentDateTime());
32 #endif 32 #endif
33 QVERIFY(closed.count() == 1); 33 QVERIFY(closed.count() == 1);
34 } 34 }
35 35
36 QTEST_MAIN(MainWindowTest); 36 QTEST_MAIN(MainWindowTest);

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