subsurface/tests/tst_qPref.qml
jan Iversen b05e4c7b5f tests: make qml test harness
build a qml test runner that includes ssrf interface

The qml test runner allows having qml test files.

Signed-off-by: Jan Iversen <jani@apache.org>
2018-07-12 17:12:56 +02:00

17 lines
269 B
QML

// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.6
import QtTest 1.2
import org.subsurfacedivelog.mobile 1.0
TestCase {
name: "qPref"
SsrfPrefs {
id: prefs
}
function test_register() {
var x = prefs.mobile_version
compare(x, prefs.mobile_version)
}
}