aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data/importJs.4.qml
blob: e7b74bac0ab835269607f84089ed2841340da99f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import com.nokia.PureJsModule 1.6
import QtQuick 2.0

Item {
    property bool test: false

    Component.onCompleted: {
        test = ((FirstAPI.greeting() == "Good news, everybody!") &&
                (FirstAPI.major == 1) &&
                (FirstAPI.minor == 6) &&
                (SecondAPI.greeting() == "Howdy") &&
                (SecondAPI.major == 1) &&
                (SecondAPI.minor == 5))
    }
}