diff options
Diffstat (limited to 'tests/auto/qml/v4/data/moduleApi.qml')
-rw-r--r-- | tests/auto/qml/v4/data/moduleApi.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/v4/data/moduleApi.qml b/tests/auto/qml/v4/data/moduleApi.qml new file mode 100644 index 0000000000..9f3bf0ca8c --- /dev/null +++ b/tests/auto/qml/v4/data/moduleApi.qml @@ -0,0 +1,12 @@ +import Qt.test 1.0 as ModApi +import QtQuick 2.0 + +Item { + property int testProp: ModApi.ip + property int testProp2: 2 + + function getRandom() { + testProp2 = ModApi.random(); + // testProp should also have changed. + } +} |