aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-14 13:40:32 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-14 13:40:32 +0000
commite213a80ef5ad8fd0d5b83c4def9e3360dd4e1057 (patch)
tree38a93a33d839cf25d6c193de1750a2f804e9d784 /tests
parent2a28f458808556af4cda58a36997ab465cb360fb (diff)
parent3c78427b294d9c52ec265ab2e7533bf535a0c89d (diff)
downloadayatana-indicator-datetime-e213a80ef5ad8fd0d5b83c4def9e3360dd4e1057.tar.gz
ayatana-indicator-datetime-e213a80ef5ad8fd0d5b83c4def9e3360dd4e1057.tar.bz2
ayatana-indicator-datetime-e213a80ef5ad8fd0d5b83c4def9e3360dd4e1057.zip
Use GStreamer's API directly to play sound instead of using libcanberra. Fixes: 1283065, 1337348
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'tests')
-rw-r--r--tests/manual10
-rw-r--r--tests/test-locations.cpp1
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/manual b/tests/manual
index ecbcebb..c5c52bc 100644
--- a/tests/manual
+++ b/tests/manual
@@ -40,6 +40,16 @@ Test-case indicator-datetime/edited-alarm-wakeup
device actually suspended or whether the suspend was aborted)</dd>
</dl>
+Test-case indicator-datetime/tell-snap-decision-to-dismiss
+<dl>
+ <dt>Set an alarm and wait for it to arrive.</td>
+ <dd>Alarm should go off at the specified time</dd>
+ <dt>Press the 'Dismiss' button in the alarm's snap decision popup before the sound stops.</dt>
+ <dd>Popup should disappear</dd>
+ <dd>Sound should stop at the same time, rather than playing til the end of the file.</dd>
+</dl>
+
+
<strong>
If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result</strong>.
diff --git a/tests/test-locations.cpp b/tests/test-locations.cpp
index 65adbc7..48e845a 100644
--- a/tests/test-locations.cpp
+++ b/tests/test-locations.cpp
@@ -139,7 +139,6 @@ TEST_F(LocationsFixture, ChangeLocationStrings)
EXPECT_EQ("Europe/London", l[3].zone());
EXPECT_EQ("Berlin", l[4].name());
EXPECT_EQ("Europe/Berlin", l[4].zone());
- locations_changed = false;
}
TEST_F(LocationsFixture, ChangeLocationVisibility)