diff options
author | Murray Cumming <murrayc@murrayc.com> | 2012-12-06 16:29:27 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2012-12-06 16:29:27 +0100 |
commit | c8e89d30dc9ad7bfcf3584a37f183e5693a890fa (patch) | |
tree | f5776f976ed9219dc2d9553e4e4550103adbaf28 /tests | |
parent | d217069ff79639016196df7818dd9c41850a1ac8 (diff) | |
download | rygel-c8e89d30dc9ad7bfcf3584a37f183e5693a890fa.tar.gz |
tests: Avoid warnings about deprecated implicit begin().
Diffstat (limited to 'tests')
-rw-r--r-- | 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 b5547ca0..63cb8e25 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"); |