From c8e89d30dc9ad7bfcf3584a37f183e5693a890fa Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 6 Dec 2012 16:29:27 +0100 Subject: [PATCH] tests: Avoid warnings about deprecated implicit begin(). --- tests/rygel-item-creator-test.vala | 10 +++++----- 1 file 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", ""); 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"); -- 2.7.4