summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2012-02-16 14:15:44 +0200
committerJens Georg <mail@jensge.org>2012-02-16 14:15:44 +0200
commita660a8da46decf8d3fbe9a753f497e7588ca608c (patch)
treefc39020c92ca9fcaf8102bc48747adfe0dda01d2
parentd6f83bbe41ecb625aacbb3246b0de60123432612 (diff)
downloadrygel-a660a8da46decf8d3fbe9a753f497e7588ca608c.tar.gz
tests: Fix broken tests after d6f83bbe
-rw-r--r--tests/rygel-http-item-uri-test.vala4
-rw-r--r--tests/rygel-http-post-test.vala8
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 e5271562..82889a5b 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 d8da06b7..ffaf2993 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
}