on xenial help sign in
Add a small test to confirm that unlocked properties are correct
98f62c7Michael Terry
tests/qmltests/tst_Shell.qml+11
@@ -431,5 +431,16 @@ Item {
431
431
432 touchRelease(shell);
432 touchRelease(shell);
433 }
433 }
434+
435+ function test_unlockedProperties() {
436+ // Confirm that various properties have the correct values when unlocked
437+ tryCompare(shell, "locked", false)
438+
439+ var launcher = findChild(shell, "launcher")
440+ tryCompare(launcher, "available", true)
441+
442+ var indicators = findChild(shell, "indicators")
443+ tryCompare(indicators, "available", true)
444+ }
434 }
445 }
435}
446}