[rygel] tests: Adapt to latest changes
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Adapt to latest changes
- Date: Mon, 17 Jun 2013 13:58:10 +0000 (UTC)
commit 5fec59547076b00f169efab2ce09722a30825c4a
Author: Jens Georg <jensg openismus com>
Date: Mon Jun 17 15:16:49 2013 +0200
tests: Adapt to latest changes
tests/Makefile.am | 3 ++-
tests/rygel-http-get-test.vala | 4 +++-
tests/rygel-m3u-playlist_object-creator.vala | 1 +
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a790084..217b67f 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 9ebba61..82c4d18 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 0000000..7b257a3
--- /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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]