summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-04-04 15:56:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-04 08:38:57 +0200
commit2b0b7d459a7fa336ce526b1a6c793cf57d82a4cf (patch)
treed1689cee9a732287e7767b0923bcb8dc0bb99da9 /tests/auto/declarative
parente81f752248c970646b54127201b0f1cabdf1f9ce (diff)
Fix text failure due to behaviour change in qtbase.
http://codereview.qt-project.org/#change,21263 changed the inputMask accessor to not include the default mask character, so the test data needs to be updated to reflect this. Change-Id: I7021f276348542125884dd259523ba42535ae368 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
index 6db26e1f..e72bbd47 100644
--- a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
+++ b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp
@@ -1419,7 +1419,7 @@ void tst_qdeclarativetextinput::masks()
QVERIFY(textinputObject != 0);
QTRY_VERIFY(textinputObject->hasActiveFocus() == true);
QVERIFY(textinputObject->text().length() == 0);
- QCOMPARE(textinputObject->inputMask(), QString("HHHHhhhh; "));
+ QCOMPARE(textinputObject->inputMask(), QString("HHHHhhhh"));
for(int i=0; i<10; i++){
QCOMPARE(qMin(i,8), textinputObject->text().length());
QCOMPARE(i>=4, textinputObject->hasAcceptableInput());