aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-09 13:35:42 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-10-09 13:35:42 +0000
commit878c36febc46de3bb54041cd80440a102db20eed (patch)
tree180fb7182743399f66c26ef7c8a0c1b95d7d7127
parent3a93504e7767dcbfb76882350705cfacb3938355 (diff)
parentc1277f9e0a84a11452225d6492a65c4c5b24fd40 (diff)
downloadayatana-indicator-datetime-878c36febc46de3bb54041cd80440a102db20eed.tar.gz
ayatana-indicator-datetime-878c36febc46de3bb54041cd80440a102db20eed.tar.bz2
ayatana-indicator-datetime-878c36febc46de3bb54041cd80440a102db20eed.zip
Fix appointment comparison function to include the audio_url field in its test. Fixes: 1364949
Approved by: Antti Kaijanmäki
-rw-r--r--src/appointment.cpp1
-rw-r--r--tests/manual13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/appointment.cpp b/src/appointment.cpp
index 98cc062..f98e155 100644
--- a/src/appointment.cpp
+++ b/src/appointment.cpp
@@ -32,6 +32,7 @@ bool Appointment::operator==(const Appointment& that) const
return (color==that.color)
&& (summary==that.summary)
&& (url==that.url)
+ && (audio_url==that.audio_url)
&& (uid==that.uid)
&& (has_alarms==that.has_alarms)
&& (begin==that.begin)
diff --git a/tests/manual b/tests/manual
index ae7f080..0171213 100644
--- a/tests/manual
+++ b/tests/manual
@@ -79,6 +79,19 @@ Test-case indicator-datetime/tell-snap-decision-to-dismiss
<dd>Sound should stop at the same time, rather than playing til the end of the file.</dd>
</dl>
+Test-case indicator-datetime/change-alarm-sound
+<dl>
+ <dt>Open the clock app</dt>
+ <dt>Swipe up from the bottom</dt>
+ <dt>Click on the + symbol</dt>
+ <dt>Save an alarm for a few minutes time leave everything on default settings</dt>
+ <dt>Click on save</dt>
+ <dt>Click on the alarm</dt>
+ <dt>Change the sound of the alarm</dt>
+ <dt>Click on save</dt>
+ <dt>Let the alarm go off</dt>
+ <dd>The newly-selected sound should play, rather than the previous sound.</dd>
+</dl>
<strong>
If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.