summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-05-27 10:21:57 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-05-27 10:21:57 (GMT)
commita135a11faeafaed264e264975b74ba7665ff5e42 (patch)
tree493f88eb4543fff25139e56aedf8b896fcd789c0
parent0d819337435487a84e274714a759eb4bda24f942 (diff)
downloadQt-a135a11faeafaed264e264975b74ba7665ff5e42.zip
Qt-a135a11faeafaed264e264975b74ba7665ff5e42.tar.gz
Qt-a135a11faeafaed264e264975b74ba7665ff5e42.tar.bz2
Configured qtwidgets autotest to use default IAP without user prompts.
-rw-r--r--tests/auto/qtwidgets/tst_qtwidgets.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qtwidgets/tst_qtwidgets.cpp b/tests/auto/qtwidgets/tst_qtwidgets.cpp
index a6a3be1..6a79242 100644
--- a/tests/auto/qtwidgets/tst_qtwidgets.cpp
+++ b/tests/auto/qtwidgets/tst_qtwidgets.cpp
@@ -47,15 +47,28 @@
#include "mainwindow.h"
+#include "../network-settings.h"
class tst_QtWidgets: public QObject
{
Q_OBJECT
+public:
+ tst_QtWidgets();
+ virtual ~tst_QtWidgets();
+
private slots:
void snapshot();
};
+tst_QtWidgets::tst_QtWidgets()
+{
+ Q_SET_DEFAULT_IAP
+}
+
+tst_QtWidgets::~tst_QtWidgets()
+{
+}
void tst_QtWidgets::snapshot()
{