[rygel] tests: Avoid warnings about deprecated implicit begin().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Avoid warnings about deprecated implicit begin().
- Date: Thu, 6 Dec 2012 15:30:31 +0000 (UTC)
commit c8e89d30dc9ad7bfcf3584a37f183e5693a890fa
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 6 16:29:27 2012 +0100
tests: Avoid warnings about deprecated implicit begin().
tests/rygel-item-creator-test.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/rygel-item-creator-test.vala b/tests/rygel-item-creator-test.vala
index b5547ca..63cb8e2 100644
--- a/tests/rygel-item-creator-test.vala
+++ b/tests/rygel-item-creator-test.vala
@@ -346,19 +346,19 @@ public class Rygel.HTTPItemCreatorTest : GLib.Object {
var action = new ServiceAction (null, "");
var creator = new ItemCreator (content_directory, action);
- creator.run ();
+ creator.run.begin ();
assert (action.error_code == no_such_object.code);
// check elements containing a comment
action = new ServiceAction ("0", "<!-- This is an XML comment -->");
creator = new ItemCreator (content_directory, action);
- creator.run ();
+ creator.run.begin ();
assert (action.error_code == bad_metadata.code);
// check null elements
action = new ServiceAction ("0", null);
creator = new ItemCreator (content_directory, action);
- creator.run ();
+ creator.run.begin ();
assert (action.error_code == bad_metadata.code);
}
@@ -369,7 +369,7 @@ public class Rygel.HTTPItemCreatorTest : GLib.Object {
var action = new ServiceAction ("0", xml);
var content_directory = new ContentDirectory ();
var creator = new ItemCreator (content_directory, action);
- creator.run ();
+ creator.run.begin ();
assert (action.error_code == expected_code);
}
@@ -387,7 +387,7 @@ public class Rygel.HTTPItemCreatorTest : GLib.Object {
// test no DIDL
var action = new ServiceAction ("0", "");
var creator = new ItemCreator (content_directory, action);
- creator.run ();
+ creator.run.begin ();
assert (action.error_code == bad_metadata.code);
assert (action.error_message == "Bad metadata");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]