From a660a8da46decf8d3fbe9a753f497e7588ca608c Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Thu, 16 Feb 2012 14:15:44 +0200 Subject: [PATCH] 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(+) 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 subtitles = new ArrayList (); } +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 subtitles = new ArrayList (); } +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 } -- 2.7.4