mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-24 07:08:07 +00:00
29 lines
718 B
QML
29 lines
718 B
QML
import QtTest 1.1
|
|
|
|
import Linphone 1.0
|
|
import Utils 1.0
|
|
|
|
// =============================================================================
|
|
|
|
// Check defined properties/methods used in `Notifier.cpp`.
|
|
TestCase {
|
|
Notification {
|
|
id: notification
|
|
}
|
|
|
|
function test_notificationHeightProperty () {
|
|
compare(Utils.isInteger(notification.notificationHeight), true)
|
|
}
|
|
|
|
function test_notificationOffsetProperty () {
|
|
compare(Utils.isInteger(notification.notificationOffset), true)
|
|
}
|
|
|
|
function test_notificationShowMethod () {
|
|
compare(Utils.isFunction(notification.show), true)
|
|
}
|
|
|
|
function test_childWindow () {
|
|
compare(Utils.qmlTypeof(notification.data[0], 'QQuickWindowQmlImpl'), true)
|
|
}
|
|
}
|