QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativelanguage / data / importJs.3.qml
1 import com.nokia.PureJsModule 1.0
2 import QtQuick 2.0
3
4 Item {
5     property bool test: false
6
7     Component.onCompleted: {
8         test = ((FirstAPI.greeting() == "Hello") &&
9                 (FirstAPI.major == 1) &&
10                 (FirstAPI.minor == 0) &&
11                 (SecondAPI.greeting() == "Howdy") &&
12                 (SecondAPI.major == 1) &&
13                 (SecondAPI.minor == 5))
14
15     }
16 }