Commit 0fa30fab authored by W. Michael Petullo's avatar W. Michael Petullo

Fox daap_connection_new_test

Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent f9fa1301
...@@ -226,8 +226,8 @@ START_TEST(daap_connection_new_test) ...@@ -226,8 +226,8 @@ START_TEST(daap_connection_new_test)
DAAPConnection *connection = daap_connection_new("foo", DAAPConnection *connection = daap_connection_new("foo",
"foo.example.com", "foo.example.com",
3689, 3689,
0xdeadbeef, NULL,
0xfeedface); NULL);
g_object_get(connection, "name", &str, NULL); g_object_get(connection, "name", &str, NULL);
ck_assert_str_eq("foo", str); ck_assert_str_eq("foo", str);
...@@ -239,10 +239,10 @@ START_TEST(daap_connection_new_test) ...@@ -239,10 +239,10 @@ START_TEST(daap_connection_new_test)
ck_assert_int_eq(3689, port); ck_assert_int_eq(3689, port);
g_object_get(connection, "db", &db, NULL); g_object_get(connection, "db", &db, NULL);
ck_assert(0xdeadbeef == db); ck_assert(NULL == db);
g_object_get(connection, "factory", &factory, NULL); g_object_get(connection, "factory", &factory, NULL);
ck_assert(0xfeedface == factory); ck_assert(NULL == factory);
g_object_unref(connection); g_object_unref(connection);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment