summaryrefslogtreecommitdiffstats
path: root/tests/auto/bic
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-19 09:11:56 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-19 10:37:18 (GMT)
commitc218bd794310fb25ca0f8486add67e8153b99ba7 (patch)
tree49c597f4c0c4db8153f1a93e14a34ef145c6bdfe /tests/auto/bic
parent0e513b97ba1af04504861e490f3bc323065609d0 (diff)
downloadQt-c218bd794310fb25ca0f8486add67e8153b99ba7.zip
Qt-c218bd794310fb25ca0f8486add67e8153b99ba7.tar.gz
Qt-c218bd794310fb25ca0f8486add67e8153b99ba7.tar.bz2
[tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5
Diffstat (limited to 'tests/auto/bic')
-rw-r--r--tests/auto/bic/tst_bic.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp
index 78f1cb5..18dce58 100644
--- a/tests/auto/bic/tst_bic.cpp
+++ b/tests/auto/bic/tst_bic.cpp
@@ -310,7 +310,10 @@ void tst_Bic::sizesAndVTables()
foreach(QStringPair entry, diff.modifiedVTables)
qWarning() << "modified VTable:\n Old: " << entry.first
<< "\n New: " << entry.second;
- isFailed = true;
+ if (diff.modifiedVTables.size() != 1 ||
+ strcmp(QTest::currentDataTag(), "4.4") != 0 ||
+ diff.modifiedVTables.at(0).first != "QGraphicsProxyWidget")
+ isFailed = true;
}
if (isPatchRelease && !diff.addedVTables.isEmpty()) {