diff options
author | Jens Georg <mail@jensge.org> | 2014-12-07 16:10:41 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-02-08 13:21:11 +0100 |
commit | 9c6aad4bf0b5d69809a7393f8da18e95c7bbf2d6 (patch) | |
tree | 45eed6538e30da143a62bf3039b3d4dbce1937e6 /tests/rygel-http-item-uri-test.vala | |
parent | 2970c0f22938167a4e6d516205edf19900474158 (diff) | |
download | rygel-9c6aad4bf0b5d69809a7393f8da18e95c7bbf2d6.tar.gz |
tests: Fix for recent modifications
Diffstat (limited to 'tests/rygel-http-item-uri-test.vala')
-rw-r--r-- | tests/rygel-http-item-uri-test.vala | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala index 6028325f..a5ed8ba1 100644 --- a/tests/rygel-http-item-uri-test.vala +++ b/tests/rygel-http-item-uri-test.vala @@ -33,7 +33,7 @@ private errordomain Rygel.TestError { SKIP } -private class Rygel.Transcoder : GLib.Object { +public class Rygel.Transcoder : GLib.Object { public string extension { get; protected set; } public Transcoder (string extension) { @@ -41,7 +41,7 @@ private class Rygel.Transcoder : GLib.Object { } } -private class Rygel.HTTPServer : GLib.Object { +public class Rygel.HTTPServer : GLib.Object { private const string SERVER_PATH = "/Test"; public string path_root { get; private set; } @@ -72,11 +72,19 @@ private class Rygel.HTTPServer : GLib.Object { } } -private class Rygel.MediaObject : GLib.Object { +public class Rygel.MediaResource : GLib.Object { + public string extension; +} + +public class Rygel.MediaObject : GLib.Object { public string id; + + public MediaResource? get_resource_by_name (string name) { + return null; + } } -private class Rygel.MediaFileItem : Rygel.MediaObject { +public class Rygel.MediaFileItem : Rygel.MediaObject { public ArrayList<string> uris = new ArrayList<string> (); public string mime_type; public Gee.ArrayList<string> get_uris () { return this.uris; } |