view ui/tests/mainwindowtest.cpp @ 561:4433f9d57f6d

Add resources to main. You can not add resources to a library
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 22 May 2014 13:23:07 +0000
parents dd8a295d5b4d
children aee3eb10bbba
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=2)
 * and comes with ABSOLUTELY NO WARRANTY!
 * See LICENSE.txt for details.
 */

#include "mainwindowtest.h"

#ifdef Q_OS_WIN
 Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#else
 Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
#endif

MainWindowTest::MainWindowTest() : MainWindow(true) {
}

void MainWindowTest::closeApp() {
    emit closeCalled();
}

void MainWindowTest::testInvalidUpdate() {
    // TODO
}

void MainWindowTest::testValidUpdate() {
    // TODO
}

QTEST_MAIN(MainWindowTest);

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