[rygel] tests: Fix bug in HTTPItemUri test
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Fix bug in HTTPItemUri test
- Date: Thu, 22 Dec 2011 11:31:03 +0000 (UTC)
commit 2c80d54373a943479ac735e9884f909feff5b38b
Author: Marcin Kazmierczak <marcin kazmierczak comarch com>
Date: Thu Dec 22 10:22:05 2011 +0100
tests: Fix bug in HTTPItemUri test
test_construction_with_subtitle: Add default -1 Thumbnail index in
HTTPItemUri constructor call.
Previously test create HTTPItemURI object with Thumbnail index instead of
subtitle index.
tests/rygel-http-item-uri-test.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala
index c739c79..6c86ddb 100644
--- a/tests/rygel-http-item-uri-test.vala
+++ b/tests/rygel-http-item-uri-test.vala
@@ -104,6 +104,7 @@ private class Rygel.HTTPItemURITest : GLib.Object {
private HTTPItemURI test_construction_with_subtitle () {
var uri = new HTTPItemURI (ITEM_ID,
this.server,
+ -1,
SUBTITLE_INDEX);
assert (uri != null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]