mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
f63217495d
add test of qml C++ interface Signed-off-by: Jan Iversen <jani@apache.org>
19 lines
317 B
QML
19 lines
317 B
QML
// SPDX-License-Identifier: GPL-2.0
|
|
import QtQuick 2.6
|
|
import QtTest 1.2
|
|
import org.subsurfacedivelog.mobile 1.0
|
|
|
|
TestCase {
|
|
name: "qPrefAnimations"
|
|
|
|
SsrfAnimationsPrefs {
|
|
id: tst
|
|
}
|
|
|
|
function test_variables() {
|
|
var x1 = tst.animation_speed;
|
|
tst.animation_speed = 37
|
|
compare(tst.animation_speed, 37)
|
|
}
|
|
|
|
}
|