projects
/
platform
/
upstream
/
qtmultimedia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5b216
)
Fixed a testing bug on windows platform.
author
bigbearzhu
<jun.5.zhu@nokia.com>
Wed, 27 Jun 2012 05:18:31 +0000
(15:18 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Fri, 29 Jun 2012 04:00:21 +0000
(06:00 +0200)
Change-Id: Iaf11864e6929345b105cdd185b4bb01b24961406
Reviewed-by: Ling Hu <ling.hu@nokia.com>
tests/auto/unit/qvideowidget/tst_qvideowidget.cpp
patch
|
blob
|
history
diff --git
a/tests/auto/unit/qvideowidget/tst_qvideowidget.cpp
b/tests/auto/unit/qvideowidget/tst_qvideowidget.cpp
index
59816b4
..
3c7db50
100644
(file)
--- a/
tests/auto/unit/qvideowidget/tst_qvideowidget.cpp
+++ b/
tests/auto/unit/qvideowidget/tst_qvideowidget.cpp
@@
-352,6
+352,9
@@
void tst_QVideoWidget::nullObject()
QVERIFY(widget.sizeHint().isEmpty());
+ widget.show();
+ QTest::qWaitForWindowShown(&widget);
+
widget.setFullScreen(true);
QTest::qWaitForWindowShown(&widget);
QCOMPARE(widget.isFullScreen(), true);
@@
-437,6
+440,9
@@
void tst_QVideoWidget::nullService()
QVERIFY(widget.sizeHint().isEmpty());
+ widget.show();
+ QTest::qWaitForWindowShown(&widget);
+
widget.setFullScreen(true);
QTest::qWaitForWindowShown(&widget);
QCOMPARE(widget.isFullScreen(), true);