on xenial help sign in
Fixed whitespaces in scripts... added better explanation to helper-script README.
commit7d9e700115a448b97b663a8faa742b04c382e29d authorMirco Müller <mirco.mueller@canonical.com> dateWed 8 Jul 2015, 12:12 (11 years ago) parent80bce0f
3 files changed+10−3
tests/scripts/README+8−1 tests/scripts/set-count.sh+1−1 tests/scripts/set-progress.sh+1−1
tests/scripts/README+8−1
@@ -1 +1,8 @@
1−This directory holds a few handy shell-scripts to simplify runtime-testing of DBus-APIs.
1+This directory holds a few handy shell-scripts to simplify runtime-testing of DBus-APIs (requires qdbus-qt5 to be installed).
2+
3+launcher-icon related:
4+ * list-launcher-icons.sh - get all icons of unity8-launcher
5+ * get-progress.sh - get progress-value of a launcher-icon
6+ * set-progress.sh - set progress-value of a launcher-icon
7+ * set-count.sh - set the count of a launcher-icon
8+ * set-count-visible.sh - set the count-visible flag of a launcher-icon
tests/scripts/set-count.sh+1−1
@@ -1,3 +1,3 @@
11#!/bin/sh
22
3−qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item count $2
3+qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item count $2
tests/scripts/set-progress.sh+1−1
@@ -1,3 +1,3 @@
11#!/bin/sh
22
3−qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item progress $2
3+qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 org.freedesktop.DBus.Properties.Set com.canonical.Unity.Launcher.Item progress $2