[rygel] tests: Update test cases as per latest changes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Update test cases as per latest changes
- Date: Mon, 8 Nov 2010 21:01:43 +0000 (UTC)
commit 487f0b20e445628a6e7a311e247ce85db7f4b88c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Nov 8 22:55:01 2010 +0200
tests: Update test cases as per latest changes
tests/rygel-http-post-test.vala | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/tests/rygel-http-post-test.vala b/tests/rygel-http-post-test.vala
index c453340..469bcbd 100644
--- a/tests/rygel-http-post-test.vala
+++ b/tests/rygel-http-post-test.vala
@@ -260,6 +260,8 @@ public class Rygel.MediaItem : Rygel.MediaObject {
public long size = 1024;
public long duration = 1024;
+ public bool place_holder = true;
+
public File file;
public MediaItem (string id) {
@@ -326,4 +328,24 @@ internal class Rygel.HTTPResponse : Rygel.StateMachine, GLib.Object {
}
}
+public class Rygel.ItemRemovalQueue: GLib.Object {
+ public static ItemRemovalQueue get_default () {
+ return new ItemRemovalQueue ();
+ }
+
+ public bool dequeue (MediaItem item) {
+ return true;
+ }
+
+ public async void remove_now (MediaItem item, Cancellable? cancellable) {
+ Idle.add (remove_now.callback);
+
+ yield;
+ }
+}
+
public class Rygel.MediaObject {}
+
+public errordomain Rygel.ContentDirectoryError {
+ INVALID_ARGS = 402
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]