mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
b05e4c7b5f
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>
17 lines
269 B
QML
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)
|
|
}
|
|
}
|