diff options
Diffstat (limited to 'tests/rygel-item-creator-test.vala')
-rw-r--r-- | tests/rygel-item-creator-test.vala | 10 |
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) { |