summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qscriptclass/tst_qscriptclass.cpp2
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp1
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qscriptclass/tst_qscriptclass.cpp b/tests/auto/qscriptclass/tst_qscriptclass.cpp
index 963b221..e587b51 100644
--- a/tests/auto/qscriptclass/tst_qscriptclass.cpp
+++ b/tests/auto/qscriptclass/tst_qscriptclass.cpp
@@ -607,7 +607,9 @@ void tst_QScriptClass::newInstance()
QVERIFY(arr.isArray());
QCOMPARE(arr.scriptClass(), (QScriptClass*)0);
arr.setScriptClass(&cls);
+ QEXPECT_FAIL("", "Changing class of arbitrary script object is not allowed (it's OK)", Continue);
QCOMPARE(arr.scriptClass(), (QScriptClass*)&cls);
+ QEXPECT_FAIL("", "Changing class of arbitrary script object is not allowed (it's OK)", Continue);
QVERIFY(!arr.isArray());
QVERIFY(arr.isObject());
}
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index e29e834..3241312 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -438,6 +438,7 @@ void tst_QScriptEngine::newVariant()
QScriptValue value = object.property("valueOf").call(object);
QVERIFY(value.isObject());
QVERIFY(value.strictlyEquals(object));
+ QEXPECT_FAIL("", "QVariant.prototype.toString is not correctly implemented", Continue);
QCOMPARE(object.toString(), QString::fromLatin1("QVariant(QPoint)"));
}
}
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index 6560cfe..13f9206 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -2213,7 +2213,6 @@ public:
void tst_QScriptValue::getSetScriptClass()
{
- QSKIP("Not implemented", SkipAll);
QScriptEngine eng;
QScriptValue inv;
QCOMPARE(inv.scriptClass(), (QScriptClass*)0);