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

Item {
    property bool test: false

    Component.onCompleted: {
        test = ((FirstAPI.greeting() == "Hello") &&
                (FirstAPI.major == 1) &&
                (FirstAPI.minor == 0) &&
                (SecondAPI.greeting() == "Howdy") &&
                (SecondAPI.major == 1) &&
                (SecondAPI.minor == 5))

    }
}