[rygel] tests: Catch another exception
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Catch another exception
- Date: Thu, 6 Dec 2012 13:53:33 +0000 (UTC)
commit 22c826e56c1d2fe82235bc0d9071799e644a3213
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 6 14:53:06 2012 +0100
tests: Catch another exception
tests/rygel-http-response-test.vala | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala
index c87fc2c..b2bed07 100644
--- a/tests/rygel-http-response-test.vala
+++ b/tests/rygel-http-response-test.vala
@@ -377,7 +377,12 @@ internal class Rygel.TestDataSource : Rygel.DataSource, Object {
}
this.frozen = false;
- this.start (null);
+
+ try {
+ this.start (null);
+ } catch (GLib.Error error) {
+ assert_not_reached ();
+ }
}
public void stop () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]