diff options
-rw-r--r-- | tests/rygel-http-get-test.vala | 2 | ||||
-rw-r--r-- | tests/rygel-http-item-uri-test.vala | 1 | ||||
-rw-r--r-- | tests/rygel-http-post-test.vala | 1 | ||||
-rw-r--r-- | tests/rygel-object-creator-test.vala | 4 |
4 files changed, 8 insertions, 0 deletions
diff --git a/tests/rygel-http-get-test.vala b/tests/rygel-http-get-test.vala index 3893e08e..bd5e2bb3 100644 --- a/tests/rygel-http-get-test.vala +++ b/tests/rygel-http-get-test.vala @@ -392,6 +392,8 @@ public abstract class Rygel.MediaItem : Rygel.MediaObject { public long size = 1024; public ArrayList<string> uris = new ArrayList<string> (); + public Gee.ArrayList<string> get_uris () { return this.uris; } + public bool place_holder = false; public bool is_live_stream () { diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala index 6a4ed7a3..1a15353b 100644 --- a/tests/rygel-http-item-uri-test.vala +++ b/tests/rygel-http-item-uri-test.vala @@ -79,6 +79,7 @@ private class Rygel.MediaObject : GLib.Object { private class Rygel.MediaItem : Rygel.MediaObject { public ArrayList<string> uris = new ArrayList<string> (); public string mime_type; + public Gee.ArrayList<string> get_uris () { return this.uris; } } private class Rygel.Thumbnail { diff --git a/tests/rygel-http-post-test.vala b/tests/rygel-http-post-test.vala index e92a92c0..34d35a26 100644 --- a/tests/rygel-http-post-test.vala +++ b/tests/rygel-http-post-test.vala @@ -422,6 +422,7 @@ public class Rygel.MediaItem : Rygel.MediaObject { public long size = 1024; public long duration = 1024; public ArrayList<string> uris = new ArrayList<string> (); + public Gee.ArrayList<string> get_uris () { return this.uris; } public bool place_holder = true; diff --git a/tests/rygel-object-creator-test.vala b/tests/rygel-object-creator-test.vala index da5be728..99af3c84 100644 --- a/tests/rygel-object-creator-test.vala +++ b/tests/rygel-object-creator-test.vala @@ -127,6 +127,10 @@ public class Rygel.MediaObject : GLib.Object { this.uris.add (uri); } + public Gee.ArrayList<string> get_uris () { return this.uris; } + + public string get_primary_uri () { return this.uris[0]; } + internal void serialize (Rygel.Serializer serializer, HTTPServer server) { } |