aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tst_qPrefUpdateManager.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-19 12:00:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-25 11:49:47 -0700
commit1bc361b2ea1bb22a72fb8bd8ca7f58f735697a13 (patch)
tree89bd53cabb21af4603ef0a58a6b4ee5024edb28b /tests/tst_qPrefUpdateManager.qml
parentbe9c47954cbed040c15d6f3d9441e463dc5433a5 (diff)
downloadsubsurface-1bc361b2ea1bb22a72fb8bd8ca7f58f735697a13.tar.gz
core/tests: add uuidString to qPrefUpdateManager
add static class variable uuidString to qPrefUpdateManager correct test cases Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/tst_qPrefUpdateManager.qml')
-rw-r--r--tests/tst_qPrefUpdateManager.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tst_qPrefUpdateManager.qml b/tests/tst_qPrefUpdateManager.qml
index 3554f88c8..7b3ee07a0 100644
--- a/tests/tst_qPrefUpdateManager.qml
+++ b/tests/tst_qPrefUpdateManager.qml
@@ -31,5 +31,9 @@ TestCase {
var x4_date = Date.fromLocaleString(Qt.locale(), "01-01-2001", "dd-MM-yyyy")
tst.next_check = x4_date
compare(tst.next_check, x4_date)
+
+ var x5 = tst.uuidString
+ tst.uuidString = "jan again"
+ compare(tst.uuidString, "jan again")
}
}