[rygel] tests: Fix bug in HTTPItemUri test



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]