summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine/script/com/trolltech/__init__.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptengine/script/com/trolltech/__init__.js')
-rw-r--r--tests/auto/qscriptengine/script/com/trolltech/__init__.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/script/com/trolltech/__init__.js b/tests/auto/qscriptengine/script/com/trolltech/__init__.js
index f12b17d..a55b132 100644
--- a/tests/auto/qscriptengine/script/com/trolltech/__init__.js
+++ b/tests/auto/qscriptengine/script/com/trolltech/__init__.js
@@ -3,3 +3,7 @@ __setupPackage__("com.trolltech");
com.trolltech.wasDefinedAlready = wasDefinedAlready;
com.trolltech.name = __extension__;
com.trolltech.level = com.level + 1;
+
+com.trolltech.postInitCallCount = 0;
+com.trolltech.originalPostInit = __postInit__;
+__postInit__ = function() { ++com.trolltech.postInitCallCount; };