summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.org>2012-09-12 14:25:24 +0200
committerJens Georg <jensg@openismus.com>2012-10-05 17:33:28 +0200
commit21af74d799944290f9faaef744f71a1450b40320 (patch)
tree5a6924525d55cff7831b98b99ca97331d291991c /tests
parent3c11305e5bed40b3e6edff7229bec471fe22a3ae (diff)
downloadrygel-21af74d799944290f9faaef744f71a1450b40320.tar.gz
server,engine: Move MediaEngine into .so
Diffstat (limited to 'tests')
-rw-r--r--tests/rygel-item-creator-test.vala10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/rygel-item-creator-test.vala b/tests/rygel-item-creator-test.vala
index e0fda397..53971c03 100644
--- a/tests/rygel-item-creator-test.vala
+++ b/tests/rygel-item-creator-test.vala
@@ -245,7 +245,7 @@ public errordomain Rygel.ContentDirectoryError {
public class Rygel.Transcoder {
}
-public class Rygel.GstMediaEngine : Rygel.MediaEngine {
+public class Rygel.TestMediaEngine : Rygel.MediaEngine {
public override unowned GLib.List<DLNAProfile> get_dlna_profiles () {
return null;
}
@@ -259,6 +259,14 @@ public class Rygel.GstMediaEngine : Rygel.MediaEngine {
}
}
+public class Rygel.EngineLoader {
+ public EngineLoader () { }
+
+ public MediaEngine load_engine () {
+ return new TestMediaEngine ();
+ }
+}
+
public class Rygel.HTTPItemCreatorTest : GLib.Object {
public static int main (string[] args) {