/external/bluetooth/glib/gio/tests/ |
buffered-input-stream.c | 39 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NULL, NULL), ==, 'a'); 40 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NULL, NULL), ==, 'b'); 41 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NULL, NULL), ==, 'c'); 43 g_assert_cmpint (g_input_stream_skip (in, 3, NULL, NULL), ==, 3); 45 g_assert_cmpint (g_buffered_input_stream_read_byte (G_BUFFERED_INPUT_STREAM (in), NULL, NULL), ==, 'g');
|
memory-output-stream.c | 69 g_assert_cmpint (pos, ==, 1); 73 g_assert_cmpint (pos, ==, 1); 79 g_assert_cmpint (pos, ==, 0); 82 g_assert_cmpint (pos, ==, 1);
|
memory-input-stream.c | 55 g_assert_cmpint (bytes_read, ==, MIN (chunk_size, len - pos)); 61 g_assert_cmpint (pos, ==, len); 63 g_assert_cmpint (res, ==, TRUE);
|
data-input-stream.c | 36 g_assert_cmpint (res, ==, TRUE); 63 g_assert_cmpint (g_data_input_stream_get_byte_order (G_DATA_INPUT_STREAM (stream)), ==, G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN); 65 g_assert_cmpint (g_data_input_stream_get_byte_order (G_DATA_INPUT_STREAM (stream)), ==, G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN); 69 g_assert_cmpint (g_data_input_stream_get_newline_type (G_DATA_INPUT_STREAM (stream)), ==, newline_type); 95 g_assert_cmpint (line, ==, MAX_LINES); 153 g_assert_cmpint (strlen (data), ==, DATA_PART_LEN); 159 g_assert_cmpint (line, ==, DATA_PARTS_NUM); 265 g_assert_cmpint (data, ==, TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)buffer + pos))); 271 g_assert_cmpint (pos - data_size, ==, len);
|
live-g-file.c | 154 g_assert_cmpint (res, ==, TRUE); 170 g_assert_cmpint (res, ==, TRUE); 236 g_assert_cmpint (res, ==, TRUE); 304 g_assert_cmpint (has_attr, ==, TRUE); 306 g_assert_cmpint (ftype, !=, G_FILE_TYPE_UNKNOWN); 307 g_assert_cmpint (ftype, ==, item.file_type); 315 g_assert_cmpint (mode, ==, item.mode); 324 g_assert_cmpint (can_read, ==, TRUE); 333 g_assert_cmpint (can_write, ==, TRUE); 344 g_assert_cmpint (utf8_valid, ==, TRUE) [all...] |
g-file-info.c | 56 g_assert_cmpint (size, ==, TEST_SIZE); 59 g_assert_cmpint (size, ==, g_file_info_get_size (info) ); 60 g_assert_cmpint (type, ==, G_FILE_TYPE_DIRECTORY);
|
data-output-stream.c | 69 g_assert_cmpint (g_data_output_stream_get_byte_order (G_DATA_OUTPUT_STREAM (stream)), ==, G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN); 71 g_assert_cmpint (g_data_output_stream_get_byte_order (G_DATA_OUTPUT_STREAM (stream)), ==, G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN); 75 g_assert_cmpint (size, <, MAX_LINES_BUFF); 209 g_assert_cmpint (res, ==, TRUE); 240 g_assert_cmpint (data, ==, TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)buffer + pos)));
|
desktop-app-info.c | 210 g_assert_cmpint (res, ==, TRUE); 220 g_assert_cmpint (res, ==, TRUE);
|
g-file.c | 135 g_assert_cmpint (equal, ==, cmp_paths[i].equal); 164 g_assert_cmpint (equal, ==, cmp_uris[i].equal);
|
sleepy-stream.c | 51 g_assert_cmpint (index, <=, sizeof buffer);
|
/external/webkit/Source/WebKit/gtk/tests/ |
testwebbackforwardlist.c | 45 g_assert_cmpint(G_OBJECT(backForwardList)->ref_count, ==, 1); 67 g_assert_cmpint(G_OBJECT(backItem)->ref_count, ==, 2); 69 g_assert_cmpint(G_OBJECT(backItem)->ref_count, ==, 1); 73 g_assert_cmpint(G_OBJECT(currentItem)->ref_count, ==, 2); 75 g_assert_cmpint(G_OBJECT(currentItem)->ref_count, ==, 1); 80 g_assert_cmpint(G_OBJECT(forwardItem)->ref_count, ==, 2); 82 g_assert_cmpint(G_OBJECT(forwardItem)->ref_count, ==, 1); 86 g_assert_cmpint(G_OBJECT(nthItem)->ref_count, ==, 2); 88 g_assert_cmpint(G_OBJECT(nthItem)->ref_count, ==, 1); 92 g_assert_cmpint(G_OBJECT(backList->data)->ref_count, ==, 1) [all...] |
testatk.c | 87 g_assert_cmpint(startOffset, ==, startOffsetResult); 88 g_assert_cmpint(endOffset, ==, endOffsetResult); 256 g_assert_cmpint(result, ==, TRUE); 258 g_assert_cmpint(offset, ==, 5); 268 g_assert_cmpint(result, ==, TRUE); 270 g_assert_cmpint(offset, ==, 5); 273 g_assert_cmpint(result, ==, TRUE); 275 g_assert_cmpint(offset, ==, 20); 278 g_assert_cmpint(result, ==, TRUE); 280 g_assert_cmpint(offset, ==, 30) [all...] |
testwebframe.c | 39 g_assert_cmpint(numberOfFramesCreated, ==, 2); 82 g_assert_cmpint(G_OBJECT(webView)->ref_count, ==, 1); 103 g_assert_cmpint(G_OBJECT(webView)->ref_count, ==, 1); 105 g_assert_cmpint(G_OBJECT(webFrame)->ref_count, ==, 1); 109 g_assert_cmpint(G_OBJECT(webFrame)->ref_count, ==, 2); 117 g_assert_cmpint(G_OBJECT(webFrame)->ref_count, ==, 1); 140 g_assert_cmpint(G_OBJECT(webView)->ref_count, ==, 1); 164 g_assert_cmpint(GPOINTER_TO_INT(g_object_get_data(G_OBJECT(webView), "signal-handled")), ==, TRUE); 192 g_assert_cmpint(result, ==, GTK_PRINT_OPERATION_RESULT_APPLY); 193 g_assert_cmpint(g_file_test(temporaryFilename, G_FILE_TEST_IS_REGULAR), ==, TRUE) [all...] |
testnetworkrequest.c | 46 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 48 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1); 55 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 58 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1);
|
testnetworkresponse.c | 47 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 49 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1); 56 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 59 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1);
|
testwebhistoryitem.c | 34 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, == , 1); 42 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, ==, 1);
|
testhttpbackend.c | 46 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1);
|
testdomnode.c | 83 g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1); 108 g_assert_cmpint(length, ==, 3); 121 g_assert_cmpint(i, ==, 3); 149 g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1); 160 g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1); 169 g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 0);
|
testwebdatasource.c | 177 g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_FINISHED); 181 g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_PROVISIONAL); 185 g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_FAILED); 188 g_assert_cmpint(numberOfResources, ==, g_list_length(subResources));
|
testdownload.c | 181 g_assert_cmpint(beenThere, ==, TRUE); 183 g_assert_cmpint(g_file_test(temporaryFilename, G_FILE_TEST_IS_REGULAR), ==, TRUE); 245 g_assert_cmpint(beenThere, ==, TRUE);
|
testdomdocument.c | 97 g_assert_cmpint(length, ==, 3); 126 g_assert_cmpint(length, ==, 2); 171 g_assert_cmpint(length, ==, 3);
|
testwebresource.c | 210 g_assert_cmpint(been_to_resource_request_starting, ==, 2); 211 g_assert_cmpint(been_to_load_finished, ==, TRUE);
|
/external/bluetooth/glib/tests/ |
scannerapi.c | 69 g_assert_cmpint (fix->scanner->parse_errors, ==, pe + 1); 81 g_assert_cmpint (GPOINTER_TO_INT (value), ==, g_ascii_strtoull (key, NULL, 0)); 100 g_assert_cmpint (GPOINTER_TO_INT (g_scanner_scope_lookup_symbol (fix->scanner, 1, "4")), ==, 4); 101 g_assert_cmpint (GPOINTER_TO_INT (g_scanner_scope_lookup_symbol (fix->scanner, 1, "5")), ==, 0); 116 g_assert_cmpint (g_scanner_cur_token (fix->scanner), ==, G_TOKEN_NONE); 118 g_assert_cmpint (g_scanner_cur_token (fix->scanner), ==, tokbuf[0]); 119 g_assert_cmpint (g_scanner_cur_line (fix->scanner), ==, 1); 122 g_assert_cmpint (g_scanner_get_next_token (fix->scanner), ==, tokbuf[i]); 123 g_assert_cmpint (g_scanner_get_next_token (fix->scanner), ==, G_TOKEN_EOF);
|
testingbase64.c | 182 g_assert_cmpint (len, ==, p->length); 185 g_assert_cmpint (memcmp_decode, ==, 0);
|
testglib.c | 429 g_assert_cmpint (g_tree_nnodes (tree), ==, 10 + 26 + 26); 430 g_assert_cmpint (g_tree_height (tree), ==, 6); 442 g_assert_cmpint (g_tree_nnodes (tree), ==, 26 + 26); 443 g_assert_cmpint (g_tree_height (tree), ==, 6); 657 g_assert_cmpint (sizeof (gint8), ==, 1); 658 g_assert_cmpint (sizeof (gint16), ==, 2); 659 g_assert_cmpint (sizeof (gint32), ==, 4); 660 g_assert_cmpint (sizeof (gint64), ==, 8); [all...] |