summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:57:40 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:57:40 (GMT)
commit380922ee0b36d6c8c948f149d3653265306fad41 (patch)
tree18e7420610a8ba378109cd9e0906043017a98849 /tests
parent4e4fb93e1735ec0cb869a258babcd802dbab84dc (diff)
downloadQt-380922ee0b36d6c8c948f149d3653265306fad41.zip
Qt-380922ee0b36d6c8c948f149d3653265306fad41.tar.gz
Qt-380922ee0b36d6c8c948f149d3653265306fad41.tar.bz2
Remove usage of Script where not actually testing the obsolete construct.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativevaluetypes/data/deletedObject.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/auto/declarative/qdeclarativevaluetypes/data/deletedObject.qml b/tests/auto/declarative/qdeclarativevaluetypes/data/deletedObject.qml
index 05459f4..785c250 100644
--- a/tests/auto/declarative/qdeclarativevaluetypes/data/deletedObject.qml
+++ b/tests/auto/declarative/qdeclarativevaluetypes/data/deletedObject.qml
@@ -1,12 +1,11 @@
import Test 1.0
import Qt 4.6
+import "deletedObject.js" as JS
MyTypeObject {
property var object
- Script { source: "deletedObject.js" }
-
object: MyTypeObject {}
- Component.onCompleted: startup()
- onRunScript: afterDelete()
+ Component.onCompleted: JS.startup()
+ onRunScript: JS.afterDelete()
}