diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2011-02-07 00:03:25 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2011-02-07 00:14:34 (GMT) |
commit | 24d8e96624af91ab01a20c10625858300f16099b (patch) | |
tree | dbe4769301990511406c34cd8914e4473f88aa48 /tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp | |
parent | 7ced970542d1532fb9613897bc99828178aac5fe (diff) | |
download | Qt-24d8e96624af91ab01a20c10625858300f16099b.zip Qt-24d8e96624af91ab01a20c10625858300f16099b.tar.gz Qt-24d8e96624af91ab01a20c10625858300f16099b.tar.bz2 |
Disable lineHeight test while implementing the feature in master properly.
Diffstat (limited to 'tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp index 320a6e7..44059f5 100644 --- a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp +++ b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp @@ -1113,13 +1113,13 @@ void tst_qdeclarativetext::lineHeight() myText->setLineHeightMode(QDeclarativeText::MultiplyHeight); myText->setLineHeight(1); - qreal h2 = myText->height(); + //qreal h2 = myText->height(); myText->setLineHeight(2.0); - QVERIFY(myText->height() == h2 * 2.0); + //QVERIFY(myText->height() == h2 * 2.0); myText->setLineHeightMode(QDeclarativeText::PixelHeight); myText->setLineHeight(10); - QCOMPARE(myText->height(), myText->lineCount() * 10.0); + //QCOMPARE(myText->height(), myText->lineCount() * 10.0); delete canvas; } |