comparison ui/tests/mainwindowtest.cpp @ 636:2fd4f9980a2a

Add test for authenticode verificate (binverify) Still incomplete
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Jun 2014 18:00:45 +0200
parents aee3eb10bbba
children a43ebf716abd
comparison
equal deleted inserted replaced
635:ed1887be5170 636:2fd4f9980a2a
21 21
22 void MainWindowTest::closeApp() { 22 void MainWindowTest::closeApp() {
23 emit closeCalled(); 23 emit closeCalled();
24 } 24 }
25 25
26 void MainWindowTest::testInvalidUpdate() {
27 // TODO
28 }
29
30 void MainWindowTest::testValidUpdate() { 26 void MainWindowTest::testValidUpdate() {
31 QSignalSpy closed(this, SIGNAL(closeCalled())); 27 QSignalSpy closed(this, SIGNAL(closeCalled()));
32 #ifdef Q_OS_WIN 28 #ifdef Q_OS_WIN
33 installNewSW(QString::fromLatin1("c:/fakeinst.exe"), QDateTime::currentDateTime()); 29 installNewSW(QString::fromLatin1("c:/fakeinst.exe"), QDateTime::currentDateTime());
34 #else 30 #else

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