Home | History | Annotate | Download | only in tests

Lines Matching full:response

33     WebKitNetworkResponse* response;
37 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "uri", "http://debian.org/", NULL));
38 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
39 message = webkit_network_response_get_message(response);
41 g_object_unref(response);
45 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, NULL));
46 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
48 g_object_unref(response);
54 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, "uri", "http://gnome.org/", NULL));
55 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
57 g_assert_cmpstr(webkit_network_response_get_uri(response), ==, "http://gnome.org/");
58 g_object_unref(response);
65 WebKitNetworkResponse* response;
70 response = webkit_network_response_new("http://debian.org/");
71 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
72 g_assert_cmpstr(webkit_network_response_get_uri(response), ==, "http://debian.org/");
73 g_object_unref(response);
77 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, NULL));
78 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
81 message = webkit_network_response_get_message(response);
86 g_assert_cmpstr(webkit_network_response_get_uri(response), ==, "http://debian.org/");
87 g_object_unref(response);