Autotest: Update textedit test using textFormat
authorCaroline Chao <caroline.chao@digia.com>
Mon, 27 May 2013 06:17:59 +0000 (08:17 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 8 Jun 2013 05:36:03 +0000 (07:36 +0200)
commit5f88cdc757f8f3666bd26821598b90f79394448f
tree379624e8c1a1379793ca44f262a58f6a93ff17bf
parent3f6cad782e7751c34226cc1bda874951109ca228
Autotest: Update textedit test using textFormat

TextEdit does not support the StyledText format, Text does.

Add an autotest to Text to check the line counts using
different text formats.

Task-number: QTBUG-31191

Change-Id: I4670f9155bea295ba85f410988d9636eac12842c
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
Reviewed-by: Liang Qi <liang.qi@digia.com>
tests/auto/qmltest/text/tst_text.qml
tests/auto/qmltest/textedit/tst_textedit.qml