/external/webkit/Source/WebKit/gtk/tests/ |
testloading.c | 105 g_assert(fixture->has_been_provisional); 106 g_assert(fixture->has_been_committed); 107 g_assert(fixture->has_been_first_visually_non_empty_layout); 119 g_assert(!fixture->has_been_provisional); 120 g_assert(!fixture->has_been_committed); 121 g_assert(!fixture->has_been_first_visually_non_empty_layout); 125 g_assert(fixture->has_been_provisional); 126 g_assert(!fixture->has_been_committed); 127 g_assert(!fixture->has_been_first_visually_non_empty_layout); 131 g_assert(fixture->has_been_provisional) [all...] |
testdomdomwindow.c | 68 g_assert(fixture->loaded == FALSE); 79 g_assert(event); 80 g_assert(WEBKIT_DOM_IS_EVENT(event)); 87 g_assert(target == WEBKIT_DOM_EVENT_TARGET(view)); 89 g_assert(fixture->clicked == FALSE); 110 g_assert(fixture->clicked == FALSE); 118 g_assert(fixture); 120 g_assert(view); 122 g_assert(document); 124 g_assert(domWindow) [all...] |
testglobals.c | 35 g_assert(soup_session_get_feature(session, SOUP_TYPE_CONTENT_DECODER) != NULL); 44 g_assert(soup_session_get_feature(session, SOUP_TYPE_CONTENT_DECODER) != NULL); 45 g_assert(soup_session_get_feature(session, WEBKIT_TYPE_SOUP_AUTH_DIALOG) == NULL);
|
testatkroles.c | 63 g_assert(fixture->documentFrame); 96 g_assert(child); 98 g_assert(child_role == role); 106 g_assert(fixture->role == ATK_ROLE_DOCUMENT_FRAME); 123 g_assert(fixture->obj); 134 g_assert(fixture->obj); 146 g_assert(listObj); 148 g_assert(fixture->role == ATK_ROLE_LIST); 155 g_assert(listObj); 157 g_assert(fixture->role == ATK_ROLE_LIST) [all...] |
testnetworkrequest.c | 37 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 39 g_assert(!message); 45 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 54 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 70 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 77 g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
|
testnetworkresponse.c | 38 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 40 g_assert(!message); 46 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 55 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 71 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 78 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
|
test_utils.c | 38 g_assert(!g_str_equal((path_name = g_get_current_dir()), "/"));
|
testwebplugindatabase.c | 54 g_assert(found); 55 g_assert(enabled); 67 g_assert(!enabled);
|
testhittestresult.c | 93 g_assert(result); 96 g_assert(context & info->flag); 99 g_assert(node); 100 g_assert(WEBKIT_DOM_IS_NODE(node)); 106 g_assert(WEBKIT_DOM_IS_HTML_HTML_ELEMENT(node)); 108 g_assert(WEBKIT_DOM_IS_HTML_IMAGE_ELEMENT(node)); 113 g_assert(WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT(parent));
|
testwebresource.c | 89 g_assert(fixture->webResource); 94 g_assert(fixture->webResource); 147 g_assert(!main_resource); 153 g_assert(!response); 206 g_assert(main_resource); 207 g_assert(webkit_web_data_source_get_main_resource(data_source) == main_resource); 267 g_assert(main_resource && sub_resource); 268 g_assert(main_resource != sub_resource); 273 g_assert(webkit_web_data_source_get_main_resource(data_source) == main_resource); 278 g_assert(sub_resources) [all...] |
/external/bluetooth/glib/tests/ |
testglib.c | 269 g_assert (g_node_depth (root) == 1 && g_node_max_height (root) == 1); 273 g_assert (root->children == node_B); 281 g_assert (root->children->next == node_F); 291 g_assert (g_node_depth (root) == 1); 292 g_assert (g_node_max_height (root) == 4); 293 g_assert (g_node_depth (node_G->children->next) == 4); 294 g_assert (g_node_n_nodes (root, G_TRAVERSE_LEAFS) == 7); 295 g_assert (g_node_n_nodes (root, G_TRAVERSE_NON_LEAFS) == 4); 296 g_assert (g_node_n_nodes (root, G_TRAVERSE_ALL) == 11); 297 g_assert (g_node_max_height (node_F) == 3) [all...] |
thread-test.c | 16 g_assert (GPOINTER_TO_INT (data) == 42); 17 g_assert (g_mutex_trylock (test_g_mutex_mutex) == FALSE); 18 g_assert (G_TRYLOCK (test_g_mutex) == FALSE); 21 g_assert (test_g_mutex_int == 42); 33 g_assert (g_mutex_trylock (test_g_mutex_mutex)); 34 g_assert (G_TRYLOCK (test_g_mutex)); 45 g_assert (GPOINTER_TO_INT (g_thread_join (thread)) == 41); 58 g_assert (GPOINTER_TO_INT (data) == 42); 59 g_assert (g_static_rec_mutex_trylock (&test_g_static_rec_mutex_mutex) 64 g_assert (test_g_static_rec_mutex_int == 42) [all...] |
sequence-test.c | 45 g_assert (node->parent != node); 47 g_assert (node->parent->left == node || node->parent->right == node); 48 g_assert (node->n_nodes == 1 + (node->left ? node->left->n_nodes : 0) + (node->right ? node->right->n_nodes : 0)); 50 g_assert (get_priority (node) >= get_priority (node->left)); 52 g_assert (get_priority (node) >= get_priority (node->right)); 71 g_assert (seq->end_node == node); 72 g_assert (node->data == seq); 136 g_assert (info->n_items == g_queue_get_length (info->queue)); 137 g_assert (g_sequence_get_length (info->sequence) == info->n_items); 145 g_assert (list->data == iter) [all...] |
bookmarkfile-test.c | 111 g_assert (g_bookmark_file_has_application (bookmark, TEST_URI_0, TEST_APP_NAME, NULL) == TRUE); 118 g_assert (count == 1); 119 g_assert (stamp == g_bookmark_file_get_modified (bookmark, TEST_URI_0, NULL)); 133 g_assert (g_bookmark_file_has_group (bookmark, TEST_URI_1, "Test", NULL) == TRUE); 134 g_assert (g_bookmark_file_has_group (bookmark, TEST_URI_1, "Fail", NULL) == FALSE); 138 g_assert (g_bookmark_file_remove_item (bookmark, TEST_URI_1, &error) == TRUE); 140 g_assert (g_bookmark_file_remove_item (bookmark, TEST_URI_1, &error) == FALSE); 159 g_assert (bookmark_file != NULL);
|
mapping-test.c | 129 g_assert (g_mapped_file_get_length (map) == 3); 133 g_assert (g_mapped_file_get_length (map) == 3); 161 g_assert (len == 3); 162 g_assert (strcmp (buffer, "ABC") == 0); 179 g_assert (!g_file_test ("STOP", G_FILE_TEST_EXISTS)); 222 g_assert (len == 3); 223 g_assert (strcmp (buffer, "ABC") == 0);
|
threadpool-test.c | 56 g_assert (g_thread_pool_get_max_unused_threads() == max_unused_threads); 60 g_assert (g_thread_pool_get_num_unused_threads () == 0); 73 g_assert (g_thread_pool_get_max_idle_time () == max_idle_time); 80 g_assert (g_thread_pool_get_max_idle_time () == 0); 136 g_assert (g_thread_pool_get_num_unused_threads () == test_count_threads ()); 137 g_assert (g_thread_pool_get_num_unused_threads () == 0); 199 g_assert (runs * 3 == abs_thread_counter + leftover_task_counter); 200 g_assert (running_thread_counter == 0); 234 g_assert (last_thread_id <= thread_id); 306 g_assert (g_thread_pool_get_max_threads (pool) == max_threads) [all...] |
list-test.c | 52 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); 78 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); 103 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); 131 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); 156 g_assert (*((gint*) st->data) == (9 - i)); 178 g_assert (*((gint*) st->data) == i);
|
/external/bluetooth/glib/gio/tests/ |
simple-async-result.c | 26 g_assert (obj == NULL); 44 g_assert (a == got_source); 45 g_assert (b == got_result); 46 g_assert (c == got_user_data); 75 g_assert (g_simple_async_result_is_valid (got_result, a, test_simple_async)); 76 g_assert (!g_simple_async_result_is_valid (got_result, b, test_simple_async)); 77 g_assert (!g_simple_async_result_is_valid (got_result, c, test_simple_async)); 78 g_assert (!g_simple_async_result_is_valid (got_result, b, callback_func)); 79 g_assert (!g_simple_async_result_is_valid ((gpointer) a, NULL, NULL));
|
g-icon.c | 56 g_assert (g_icon_equal (icon, icon2)); 69 g_assert (g_icon_equal (icon, icon2)); 82 g_assert (g_icon_equal (icon, icon2)); 96 g_assert (g_icon_equal (icon, icon2)); 108 g_assert (g_icon_equal (icon, icon2)); 117 g_assert (g_icon_equal (icon, icon2)); 125 g_assert (g_icon_equal (icon, icon2)); 137 g_assert (g_icon_equal (icon, icon2)); 142 g_assert (!g_icon_equal (icon, icon2)); 154 g_assert (g_icon_equal (icon, icon2)) [all...] |
g-file.c | 65 g_assert (file != NULL); 73 g_assert (file != NULL); 98 g_assert (file1 != NULL); 99 g_assert (file2 != NULL); 182 g_assert (file1 != NULL); 186 g_assert (file2 != NULL); 212 g_assert (equal == TRUE); 232 g_assert (file1 != NULL); 236 g_assert (parsed_name != NULL); 240 g_assert (is_utf8_valid == TRUE) [all...] |
live-g-file.c | 131 g_assert (child != NULL); 136 g_assert (outs != NULL); 151 g_assert (child != NULL); 167 g_assert (child != NULL); 187 g_assert (test_data != NULL); 192 g_assert (root != NULL); 226 g_assert (child != NULL); 246 g_assert (child != NULL); 253 g_assert (outs != NULL); 255 g_assert (outds != NULL) [all...] |
/external/bluetooth/glib/tests/gobject/ |
ifaceinit.c | 147 g_assert (!called); \ 154 g_assert (n_calls <= 2); \ 155 g_assert (G_TYPE_IS_INTERFACE (((GTypeInterface*) iface)->g_type)); \ 157 g_assert (((GTypeInterface*) iface)->g_instance_type == 0); \ 159 g_assert (G_TYPE_IS_OBJECT (((GTypeInterface*) iface)->g_instance_type)); \ 190 g_assert (iface->default_val == 0x111111); 254 g_assert (iface->base_iface.g_type == TEST_TYPE_IFACE1); 255 g_assert (iface->base_iface.g_instance_type == 0); 256 g_assert (iface->base_val == 0x110011); 257 g_assert (iface->val == 0) [all...] |
singleton.c | 58 g_assert (the_one_and_only == NULL); 77 g_assert (singleton != NULL); 80 g_assert (singleton == obj);
|
/external/bluetooth/glib/gobject/ |
testgobject.c | 96 g_assert (iface_data == GUINT_TO_POINTER (42)); 98 g_assert (G_TYPE_FROM_INTERFACE (iface) == TEST_TYPE_IFACE); 101 g_assert (iface_base_init_count > 0); 210 g_assert (priv); 211 g_assert ((gchar *)priv >= (gchar *)tobject + sizeof (TestObject)); 226 g_assert (priv->dummy1 == 54321); 279 g_assert (g_type_interface_peek_parent (parent_iface) == NULL); 288 g_assert (iface_data == GUINT_TO_POINTER (87)); 290 g_assert (G_TYPE_FROM_INTERFACE (iface) == TEST_TYPE_IFACE); 293 g_assert (iface->print_string == print_foo) [all...] |
/external/bluetooth/glib/gio/fen/ |
fen-node.c | 71 g_assert (op); 75 g_assert (d->op); 85 g_assert (d); 151 g_assert (node); 159 g_assert (node); 193 g_assert (filename && filename[0] == '/'); 194 g_assert (node); 215 g_assert (parent == _head); 249 g_assert (_head); 250 g_assert (filename && filename[0] == '/') [all...] |