summaryrefslogtreecommitdiff
path: root/tests/auto/bic/tst_bic.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-19 14:46:54 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-19 14:47:25 +0200
commit5fd58b2ec197ea40506442f7d7b62d1e74338381 (patch)
tree9a0a608acb2e247082c0da060027e1753015dd9e /tests/auto/bic/tst_bic.cpp
parentb685ad31194e724c3bed7ce919b30f20e40fe429 (diff)
downloadqt4-tools-5fd58b2ec197ea40506442f7d7b62d1e74338381.tar.gz
[tst_bic] Suppress the warning about the QGraphicsProxyWidget BIC
Diffstat (limited to 'tests/auto/bic/tst_bic.cpp')
-rw-r--r--tests/auto/bic/tst_bic.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp
index a470049471..c4a84291c8 100644
--- a/tests/auto/bic/tst_bic.cpp
+++ b/tests/auto/bic/tst_bic.cpp
@@ -315,13 +315,14 @@ void tst_Bic::sizesAndVTables()
}
if (!diff.modifiedVTables.isEmpty()) {
- foreach(QStringPair entry, diff.modifiedVTables)
- qWarning() << "modified VTable:\n Old: " << entry.first
- << "\n New: " << entry.second;
if (diff.modifiedVTables.size() != 1 ||
strcmp(QTest::currentDataTag(), "4.4") != 0 ||
- diff.modifiedVTables.at(0).first != "QGraphicsProxyWidget")
+ diff.modifiedVTables.at(0).first != "QGraphicsProxyWidget") {
+ foreach(QStringPair entry, diff.modifiedVTables)
+ qWarning() << "modified VTable:\n Old: " << entry.first
+ << "\n New: " << entry.second;
isFailed = true;
+ }
}
if (isPatchRelease && !diff.addedVTables.isEmpty()) {