[libdmapsharing] Fox daap_connection_new_test



commit 0fa30fab6e06efbb826128f81fa1272ae6daa080
Author: W. Michael Petullo <mike flyn org>
Date:   Tue Nov 7 17:04:27 2017 -0500

    Fox daap_connection_new_test
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/daap-connection.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libdmapsharing/daap-connection.c b/libdmapsharing/daap-connection.c
index 2f90472..0096869 100644
--- a/libdmapsharing/daap-connection.c
+++ b/libdmapsharing/daap-connection.c
@@ -226,8 +226,8 @@ START_TEST(daap_connection_new_test)
        DAAPConnection *connection = daap_connection_new("foo",
                                                         "foo.example.com",
                                                          3689,
-                                                         0xdeadbeef,
-                                                         0xfeedface);
+                                                         NULL,
+                                                         NULL);
 
        g_object_get(connection, "name", &str, NULL);
        ck_assert_str_eq("foo", str);
@@ -239,10 +239,10 @@ START_TEST(daap_connection_new_test)
        ck_assert_int_eq(3689, port);
 
        g_object_get(connection, "db", &db, NULL);
-       ck_assert(0xdeadbeef == db);
+       ck_assert(NULL == db);
 
        g_object_get(connection, "factory", &factory, NULL);
-       ck_assert(0xfeedface == factory);
+       ck_assert(NULL == factory);
 
        g_object_unref(connection);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]