on xenial help sign in
Fixed whitespaces in scripts... added better explanation to helper-script README.
7d9e700Mirco Müller
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 @@
1#!/bin/sh
1#!/bin/sh
2
2
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 @@
1#!/bin/sh
1#!/bin/sh
2
2
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