newClusterDialogTest now should work with Qt 4.3

This commit is contained in:
Roman Bovsunivskiy
2010-02-21 19:42:14 +00:00
parent 55e7d19608
commit 4ce2baebe0
2 changed files with 14 additions and 4 deletions
@@ -57,7 +57,8 @@ void newClusterDialogTest::test1()
} }
dialog->setFirewallList(fws); dialog->setFirewallList(fws);
dialog->open(); dialog->setModal(false);
dialog->show();
QStringList dfws = dialog->getFirewallList(); QStringList dfws = dialog->getFirewallList();
QVERIFY(dfws.count() == fws.size()); QVERIFY(dfws.count() == fws.size());
@@ -183,7 +184,8 @@ void newClusterDialogTest::test2()
} }
dialog->setFirewallList(fws); dialog->setFirewallList(fws);
dialog->open(); dialog->setModal(false);
dialog->show();
QStringList dfws = dialog->getFirewallList(); QStringList dfws = dialog->getFirewallList();
QVERIFY(dfws.count() == fws.size()); QVERIFY(dfws.count() == fws.size());
@@ -181,7 +181,11 @@ SOURCES += main.cpp \
../../ClusterInterfacesSelectorWidget.cpp \ ../../ClusterInterfacesSelectorWidget.cpp \
../../ClusterInterfaceWidget.cpp \ ../../ClusterInterfaceWidget.cpp \
../../FWCmdRule.cpp \ ../../FWCmdRule.cpp \
../../UsageResolver.cpp ../../UsageResolver.cpp \
../../IconSetter.cpp \
../../TutorialDialog.cpp \
../../TutorialAnimator.cpp \
../../TutorialHelper.cpp
HEADERS += newClusterDialogTest.h \ HEADERS += newClusterDialogTest.h \
../../../../config.h \ ../../../../config.h \
@@ -341,7 +345,11 @@ HEADERS += newClusterDialogTest.h \
../../ClusterInterfacesSelectorWidget.h \ ../../ClusterInterfacesSelectorWidget.h \
../../ClusterInterfaceWidget.h \ ../../ClusterInterfaceWidget.h \
../../FWCmdRule.h \ ../../FWCmdRule.h \
../../UsageResolver.h ../../UsageResolver.h \
../../IconSetter.h \
../../TutorialDialog.h \
../../TutorialAnimator.h \
../../TutorialHelper.h
CONFIG -= release CONFIG -= release
CONFIG += debug CONFIG += debug