summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/tst_qscriptengine.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-03 14:03:10 +0200
committerKent Hansen <khansen@trolltech.com>2009-07-03 14:03:10 +0200
commitd4c9a486ba8c3eae1cebc7632be38f74e9519af5 (patch)
treecd3b4a77c6602ef4e12b51f13c9a4c0b3ff190dd /tests/auto/qscriptengine/tst_qscriptengine.cpp
parentc23be3111ec279b4e19ca9c37a0d9eddb756f402 (diff)
kill a few QEXPECT_FAILs
It's been fixed (commit c23be3111ec279b4e19ca9c37a0d9eddb756f402)
Diffstat (limited to 'tests/auto/qscriptengine/tst_qscriptengine.cpp')
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index 027ef736ac..e7b94b19cb 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -2825,13 +2825,11 @@ void tst_QScriptEngine::stringObjects()
{
QScriptValue obj = QScriptValue(&eng, str).toObject();
QCOMPARE(obj.property("length").toInt32(), str.length());
- QEXPECT_FAIL("", "Flags are wrong", Continue);
QCOMPARE(obj.propertyFlags("length"), QScriptValue::PropertyFlags(QScriptValue::Undeletable | QScriptValue::SkipInEnumeration | QScriptValue::ReadOnly));
for (int i = 0; i < str.length(); ++i) {
QString pname = QString::number(i);
QVERIFY(obj.property(pname).isString());
QCOMPARE(obj.property(pname).toString(), QString(str.at(i)));
- QEXPECT_FAIL("", "Flags are wrong", Continue);
QCOMPARE(obj.propertyFlags(pname), QScriptValue::PropertyFlags(QScriptValue::Undeletable | QScriptValue::ReadOnly));
obj.setProperty(pname, QScriptValue());
obj.setProperty(pname, QScriptValue(&eng, 123));
@@ -2872,7 +2870,6 @@ void tst_QScriptEngine::stringObjects()
QScriptValue ret5 = eng.evaluate("delete s[0]");
QVERIFY(ret5.isBoolean());
- QEXPECT_FAIL("", "JSC is wrong", Continue);
QVERIFY(!ret5.toBoolean());
QScriptValue ret6 = eng.evaluate("delete s[-1]");