summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-03 12:03:10 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-03 12:03:10 (GMT)
commitd4c9a486ba8c3eae1cebc7632be38f74e9519af5 (patch)
treecd3b4a77c6602ef4e12b51f13c9a4c0b3ff190dd /tests
parentc23be3111ec279b4e19ca9c37a0d9eddb756f402 (diff)
downloadQt-d4c9a486ba8c3eae1cebc7632be38f74e9519af5.zip
Qt-d4c9a486ba8c3eae1cebc7632be38f74e9519af5.tar.gz
Qt-d4c9a486ba8c3eae1cebc7632be38f74e9519af5.tar.bz2
kill a few QEXPECT_FAILs
It's been fixed (commit c23be3111ec279b4e19ca9c37a0d9eddb756f402)
Diffstat (limited to 'tests')
-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 027ef73..e7b94b1 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]");