summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2013-06-17 15:16:49 +0200
committerJens Georg <jensg@openismus.com>2013-06-17 15:16:49 +0200
commit5fec59547076b00f169efab2ce09722a30825c4a (patch)
treef31f4b7587e040809d9e8cf074b8721b11a8b690 /tests
parentc38fe86e5c6110564c5a20aa990a4d0f32bcee80 (diff)
downloadrygel-5fec59547076b00f169efab2ce09722a30825c4a.tar.gz
tests: Adapt to latest changes
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/rygel-http-get-test.vala4
l---------tests/rygel-m3u-playlist_object-creator.vala1
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a7900842..217b67fa 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -144,7 +144,8 @@ rygel_object_creator_test_SOURCES = rygel-object-creator-test.vala \
rygel-relational-expression.vala \
rygel-search-expression.vala \
rygel-media-engine.vala \
- rygel-serializer_object-creator.vala
+ rygel-serializer_object-creator.vala \
+ rygel-m3u-playlist_object-creator.vala
rygel_object_creator_test_VALAFLAGS = \
$(test_valaflags) \
--pkg uuid
diff --git a/tests/rygel-http-get-test.vala b/tests/rygel-http-get-test.vala
index 9ebba618..82c4d186 100644
--- a/tests/rygel-http-get-test.vala
+++ b/tests/rygel-http-get-test.vala
@@ -383,7 +383,9 @@ internal class Rygel.HTTPIdentityHandler : Rygel.HTTPGetHandler {
}
internal class Rygel.HTTPPlaylistHandler : Rygel.HTTPGetHandler {
- public HTTPPlaylistHandler (Cancellable cancellable) {}
+ public HTTPPlaylistHandler (string? arg, Cancellable cancellable) {}
+
+ public static bool is_supported (string? arg) { return true; }
}
public abstract class Rygel.MediaItem : Rygel.MediaObject {
diff --git a/tests/rygel-m3u-playlist_object-creator.vala b/tests/rygel-m3u-playlist_object-creator.vala
new file mode 120000
index 00000000..7b257a37
--- /dev/null
+++ b/tests/rygel-m3u-playlist_object-creator.vala
@@ -0,0 +1 @@
+../src/librygel-server/rygel-m3u-playlist.vala \ No newline at end of file