diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-08 03:33:37 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-08 03:33:37 (GMT) |
commit | 2ce79831de76b32ef2b0b96aef7301a83cdcf73a (patch) | |
tree | 375ed90127a42bb00e6f0cfc1b30c5357570db8d /tests/auto/declarative/numberformatter | |
parent | 009e825d2da38b95fb2efbfbdefc4b58c8bf0fa8 (diff) | |
download | Qt-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.cpp | 4 |
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()); |