Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test failures due to invalid font metrics.
Don't use QFontMetrics to determine expected text dimensions or cursor positions in TextInput and TextEdit tests. Instead Layout the text with the same options as used by the item so the only error should be due to error. Task-number: QTBUG-21689 Change-Id: I7ba008d92f1ebb14c37ae7df06fdb11465c3225d Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
- Loading branch information
Andrew den Exter
authored and
Qt by Nokia
committed
Dec 5, 2011
1 parent
9462867
commit 5077254
Showing
2 changed files
with
102 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters