[rygel] tests: Fix broken tests after d6f83bbe



commit a660a8da46decf8d3fbe9a753f497e7588ca608c
Author: Jens Georg <mail jensge org>
Date:   Thu Feb 16 14:15:44 2012 +0200

    tests: Fix broken tests after d6f83bbe

 tests/rygel-http-item-uri-test.vala |    4 ++++
 tests/rygel-http-post-test.vala     |    8 ++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala
index e527156..82889a5 100644
--- a/tests/rygel-http-item-uri-test.vala
+++ b/tests/rygel-http-item-uri-test.vala
@@ -94,6 +94,10 @@ private class Rygel.VideoItem : VisualItem {
     public ArrayList<Subtitle> subtitles = new ArrayList<Subtitle> ();
 }
 
+private class Rygel.MusicItem : MediaItem {
+    public Thumbnail album_art;
+}
+
 private class Rygel.HTTPItemURITest : GLib.Object {
     private const int THUMBNAIL_INDEX = 1;
     private const int SUBTITLE_INDEX = 1;
diff --git a/tests/rygel-http-post-test.vala b/tests/rygel-http-post-test.vala
index d8da06b..ffaf299 100644
--- a/tests/rygel-http-post-test.vala
+++ b/tests/rygel-http-post-test.vala
@@ -525,6 +525,14 @@ private class Rygel.VideoItem : Rygel.VisualItem {
     public ArrayList<Subtitle> subtitles = new ArrayList<Subtitle> ();
 }
 
+private class Rygel.MusicItem : MediaItem {
+    public Thumbnail album_art;
+
+    public MusicItem (string id, MediaContainer parent) {
+        base (id, parent);
+    }
+}
+
 public errordomain Rygel.ContentDirectoryError {
     INVALID_ARGS = 402
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]