summaryrefslogtreecommitdiff
path: root/tests/rygel-http-time-seek-test.vala
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2012-12-06 14:02:55 +0100
committerMurray Cumming <murrayc@murrayc.com>2012-12-06 14:03:12 +0100
commitbc740de8db39201df5bb17f26dbb7693c26ee5ed (patch)
tree2f857b987b900c72458f65886a03ae2c165edbd4 /tests/rygel-http-time-seek-test.vala
parenta1b2c8a5c6adaa59960f563c6eddd5afac8778a2 (diff)
downloadrygel-bc740de8db39201df5bb17f26dbb7693c26ee5ed.tar.gz
tests: Avoid unused method warnings.
Diffstat (limited to 'tests/rygel-http-time-seek-test.vala')
-rw-r--r--tests/rygel-http-time-seek-test.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rygel-http-time-seek-test.vala b/tests/rygel-http-time-seek-test.vala
index 4ebaf3d1..d79bf37f 100644
--- a/tests/rygel-http-time-seek-test.vala
+++ b/tests/rygel-http-time-seek-test.vala
@@ -283,5 +283,12 @@ private class Rygel.HTTPTimeSeekTest : GLib.Object {
("TimeSeekRange.dlna.org");
assert (header != null);
assert (this.range_regex.match (header));
+
+ /* TODO: This is just here to avoid a warning about
+ * requested() not being used.
+ * How should this really be tested?
+ * Sometimes the result here is true, and sometimes it is false.
+ */
+ /* bool result = */ HTTPTimeSeek.requested(request);
}
}