summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-02 11:04:38 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-02 11:04:38 (GMT)
commitc320a2c42820a5b31f6611463330c46ea644d8dc (patch)
treee3181887058dfc7053a2e7f8a19a78cdff1e36a3 /tests/auto
parentab4eea9aa8d2156d12c85317a78de266cf5f8145 (diff)
downloadQt-c320a2c42820a5b31f6611463330c46ea644d8dc.zip
Qt-c320a2c42820a5b31f6611463330c46ea644d8dc.tar.gz
Qt-c320a2c42820a5b31f6611463330c46ea644d8dc.tar.bz2
implement caching of slot wrapper functions
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qscriptqobject/tst_qscriptqobject.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qscriptqobject/tst_qscriptqobject.cpp b/tests/auto/qscriptqobject/tst_qscriptqobject.cpp
index f1fec9f..89dbd3d 100644
--- a/tests/auto/qscriptqobject/tst_qscriptqobject.cpp
+++ b/tests/auto/qscriptqobject/tst_qscriptqobject.cpp
@@ -859,7 +859,6 @@ void tst_QScriptExtQObject::getSetStaticProperty()
QScriptValue slot = m_engine->evaluate("myObject.mySlot");
QVERIFY(slot.isFunction());
QScriptValue sameSlot = m_engine->evaluate("myObject.mySlot");
- QEXPECT_FAIL("", "Slot wrappers aren't persistent yet", Continue);
QVERIFY(sameSlot.strictlyEquals(slot));
sameSlot = m_engine->evaluate("myObject[mySlot()]");
QEXPECT_FAIL("", "Slot wrappers aren't persistent yet", Continue);
@@ -1673,7 +1672,6 @@ void tst_QScriptExtQObject::connectAndDisconnect()
QVERIFY(m_engine->evaluate("myObject.mySignal.connect(yetAnotherObject, 'func')").isUndefined());
QVERIFY(m_engine->evaluate("myObject.mySignal.connect(myObject, 'mySlot')").isUndefined());
QVERIFY(m_engine->evaluate("myObject.mySignal.disconnect(yetAnotherObject, 'func')").isUndefined());
- QEXPECT_FAIL("", "Slot wrappers aren't persistent yet", Continue);
QVERIFY(m_engine->evaluate("myObject.mySignal.disconnect(myObject, 'mySlot')").isUndefined());
// check that emitting signals from script works
@@ -1683,7 +1681,6 @@ void tst_QScriptExtQObject::connectAndDisconnect()
m_myObject->resetQtFunctionInvoked();
QCOMPARE(m_engine->evaluate("myObject.mySignal()").isUndefined(), true);
QCOMPARE(m_myObject->qtFunctionInvoked(), 20);
- QEXPECT_FAIL("", "Slot wrappers aren't persistent yet", Continue);
QVERIFY(m_engine->evaluate("myObject.mySignal.disconnect(myObject.mySlot)").isUndefined());
// one argument