summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/numberformatter
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-08 03:33:37 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-08 03:33:37 (GMT)
commit2ce79831de76b32ef2b0b96aef7301a83cdcf73a (patch)
tree375ed90127a42bb00e6f0cfc1b30c5357570db8d /tests/auto/declarative/numberformatter
parent009e825d2da38b95fb2efbfbdefc4b58c8bf0fa8 (diff)
downloadQt-2ce79831de76b32ef2b0b96aef7301a83cdcf73a.zip
Qt-2ce79831de76b32ef2b0b96aef7301a83cdcf73a.tar.gz
Qt-2ce79831de76b32ef2b0b96aef7301a83cdcf73a.tar.bz2
Get autotests compiling again. Start converting syntax.
Diffstat (limited to 'tests/auto/declarative/numberformatter')
-rw-r--r--tests/auto/declarative/numberformatter/tst_numberformatter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/numberformatter/tst_numberformatter.cpp b/tests/auto/declarative/numberformatter/tst_numberformatter.cpp
index eaeab51..e70d651 100644
--- a/tests/auto/declarative/numberformatter/tst_numberformatter.cpp
+++ b/tests/auto/declarative/numberformatter/tst_numberformatter.cpp
@@ -165,7 +165,7 @@ void tst_numberformat::number()
QFETCH(QString, string);
QFETCH(float, number);
- QString componentStr = QString("<NumberFormatter number=\"") + string + QString("\"/>");
+ QString componentStr = QString("NumberFormatter { number: \"") + string + QString("\" }");
QmlEngine engine;
QmlComponent formatterComponent(&engine, componentStr.toAscii());
@@ -200,7 +200,7 @@ void tst_numberformat::text()
QFETCH(QString, format);
QFETCH(QString, text);
- QString componentStr = QString("<NumberFormatter number=\"") + string + QString("\" format=\"") + format + QString("\" />");
+ QString componentStr = QString("NumberFormatter { number: \"") + string + QString("\"; format: \"") + format + QString("\" }");
QmlEngine engine;
QmlComponent formatterComponent(&engine, componentStr.toAscii());