Home
last modified time | relevance | path

Searched refs:g_assert_nonnull (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/glib/glib/tests/
Dautoptr.c48 g_assert_nonnull (val); in test_g_async_queue()
55 g_assert_nonnull (val); in test_g_bookmark_file()
62 g_assert_nonnull (val); in test_g_bytes()
69 g_assert_nonnull (val); in test_g_checksum()
76 g_assert_nonnull (val); in test_g_date()
83 g_assert_nonnull (val); in test_g_date_time()
90 g_assert_nonnull (val); in test_g_dir()
97 g_assert_nonnull (val); in test_g_error()
104 g_assert_nonnull (val); in test_g_hash_table()
111 g_assert_nonnull (val); in test_g_hmac()
[all …]
Dtesting.c1080 g_assert_nonnull (strstr (output, "\nok 1 /pass\n")); in test_tap()
1099 g_assert_nonnull (strstr (output, "\nok 1 /skip # SKIP not enough tea\n")); in test_tap()
1118g_assert_nonnull (strstr (output, "\nnot ok 1 /incomplete # TODO mind reading not implemented yet\… in test_tap()
1137 g_assert_nonnull (strstr (output, "\nnot ok 1 /fail\n")); in test_tap()
1188 g_assert_nonnull (strstr (output, "1..10\n")); in test_tap()
1189 g_assert_nonnull (strstr (output, "\nok 1 /a # SKIP\n")); in test_tap()
1190 g_assert_nonnull (strstr (output, "\nok 2 /b # SKIP\n")); in test_tap()
1191 g_assert_nonnull (strstr (output, "\nok 3 /b/a\n")); in test_tap()
1192 g_assert_nonnull (strstr (output, "\nok 4 /b/b\n")); in test_tap()
1193 g_assert_nonnull (strstr (output, "\nok 5 /b/b/a\n")); in test_tap()
[all …]
Drcbox.c33 g_assert_nonnull (a); in test_rcbox_new()
39 g_assert_nonnull (a); in test_rcbox_new()
52 g_assert_nonnull (a); in test_atomic_rcbox_new()
58 g_assert_nonnull (a); in test_atomic_rcbox_new()
68 g_assert_nonnull (p); in point_clear()
86 g_assert_nonnull (p); in test_rcbox_release_full()
95 g_assert_nonnull (global_point); in test_rcbox_release_full()
110 g_assert_nonnull (p); in test_atomic_rcbox_release_full()
119 g_assert_nonnull (global_point); in test_atomic_rcbox_release_full()
179 g_assert_nonnull (global_point_b); in test_rcbox_dup()
[all …]
Dstrfuncs.c220 g_assert_nonnull (str_dup); in test_memdup()
242 g_assert_nonnull (str_dup); in test_memdup2()
271 g_assert_nonnull (str_cpy); in test_stpcpy()
311 g_assert_nonnull (str_cpy); in test_strlcpy()
316 g_assert_nonnull (str_cpy); in test_strlcpy()
321 g_assert_nonnull (str_cpy); in test_strlcpy()
326 g_assert_nonnull (str_cpy); in test_strlcpy()
331 g_assert_nonnull (str_cpy); in test_strlcpy()
414 g_assert_nonnull (str); in test_ascii_strdown()
419 g_assert_nonnull (str); in test_ascii_strdown()
[all …]
Dgdatetime.c39 g_assert_nonnull ((dt)); \
45 g_assert_nonnull ((dt)); \
243 g_assert_nonnull (tz); in test_GDateTime_equal()
260 g_assert_nonnull (tz); in test_GDateTime_equal()
462 g_assert_nonnull (dt); in test_GDateTime_new_from_timeval_overflow()
939 g_assert_nonnull (dt); in test_GDateTime_new_from_iso8601_2()
1224 g_assert_nonnull (tz); in test_GDateTime_new_full()
1995 g_assert_nonnull (tz); in test_GDateTime_dst()
2178 g_assert_nonnull (tz); in test_z()
2201 g_assert_nonnull (tz); in test_z()
[all …]
Dspawn-path-search.c63 g_assert_nonnull (strstr (err, "this is spawn-test-helper from glib/tests")); in test_do_not_search()
116 g_assert_nonnull (strstr (err, "this is spawn-test-helper from path-test-subdir")); in test_search_path()
171 g_assert_nonnull (strstr (err, "this is spawn-test-helper from path-test-subdir")); in test_search_path_from_envp()
227 g_assert_nonnull (strstr (err, "this is spawn-test-helper from path-test-subdir")); in test_search_path_ambiguous()
291 g_assert_nonnull (strstr (err, "this is spawn-test-helper from glib/tests")); in test_search_path_fallback_in_environ()
354 g_assert_nonnull (strstr (err, "this is spawn-test-helper from glib/tests")); in test_search_path_fallback_in_envp()
421 g_assert_nonnull (strstr (err, "this is spawn-test-helper from path-test-subdir")); in test_search_path_heap_allocation()
Dgutils-user-database.c28 g_assert_nonnull (r); in test_get_user_database_entry()
31 g_assert_nonnull (r); in test_get_user_database_entry()
Dthread-pool.c68 g_assert_nonnull (pool); in test_simple()
123 g_assert_nonnull (pool); in test_create_first_pool()
136 g_assert_nonnull (pool); in test_create_first_pool()
Dutils.c542 g_assert_nonnull (name); in test_os_info()
547 g_assert_nonnull (name); in test_os_info()
606 g_assert_nonnull (hash_table); in test_clear_pointer_cast()
631 g_assert_nonnull (my_string_array[1]); in test_clear_pointer_side_effects()
774 g_assert_nonnull (list); in test_clear_list()
783 g_assert_nonnull (list); in test_clear_list()
798 g_assert_nonnull (slist); in test_clear_slist()
807 g_assert_nonnull (slist); in test_clear_slist()
/third_party/glib/gio/tests/
Dlive-g-file.c201 g_assert_nonnull (child); in create_empty_file()
206 g_assert_nonnull (outs); in create_empty_file()
221 g_assert_nonnull (child); in create_empty_dir()
237 g_assert_nonnull (child); in create_symlink()
257 g_assert_nonnull (test_data); in test_create_structure()
262 g_assert_nonnull (root); in test_create_structure()
300 g_assert_nonnull (child); in test_create_structure()
337 g_assert_nonnull (child); in test_create_structure()
343 g_assert_nonnull (outs); in test_create_structure()
345 g_assert_nonnull (outds); in test_create_structure()
[all …]
Dtls-certificate.c49 g_assert_nonnull (pem); in pem_parser()
54 g_assert_nonnull (cert); in pem_parser()
84 g_assert_nonnull (pem); in pem_parser()
88 g_assert_nonnull (cert); in pem_parser()
106 g_assert_nonnull (pem); in pem_parser()
110 g_assert_nonnull (cert); in pem_parser()
127 g_assert_nonnull (pem); in pem_parser()
150 g_assert_nonnull (pem); in pem_parser_handles_chain()
155 g_assert_nonnull (cert); in pem_parser_handles_chain()
170 g_assert_nonnull (issuer); in pem_parser_handles_chain()
[all …]
Dgdbus-proxy-unique-name.c43 g_assert_nonnull (ret); in proxy_new_cb()
67 g_assert_nonnull (c); in test_proxy_unique_name()
105 g_assert_nonnull (property_names); in test_proxy_unique_name()
124 g_assert_nonnull (property_names); in test_proxy_unique_name()
131 g_assert_nonnull (variant); in test_proxy_unique_name()
135 g_assert_nonnull (variant); in test_proxy_unique_name()
150 g_assert_nonnull (result); in test_proxy_unique_name()
155 g_assert_nonnull (variant); in test_proxy_unique_name()
159 g_assert_nonnull (variant); in test_proxy_unique_name()
174 g_assert_nonnull (result); in test_proxy_unique_name()
Dgdbus-proxy.c52 g_assert_nonnull (result); in test_methods()
107 g_assert_nonnull (result); in test_methods()
226 g_assert_nonnull (variant); in test_properties()
230 g_assert_nonnull (variant); in test_properties()
249 g_assert_nonnull (result); in test_properties()
254 g_assert_nonnull (variant); in test_properties()
260 g_assert_nonnull (variant); in test_properties()
273 g_assert_nonnull (variant); in test_properties()
295 g_assert_nonnull (result); in test_properties()
317 g_assert_nonnull (name_owner); in test_properties()
[all …]
Dtls-database.c34 g_assert_nonnull (backend); in set_default_database()
37 g_assert_nonnull (default_db); in set_default_database()
42 g_assert_nonnull (file_db); in set_default_database()
47 g_assert_nonnull (test_db); in set_default_database()
54 g_assert_nonnull (test_db); in set_default_database()
Dg-file-info.c87 g_assert_nonnull (attr_list); in test_g_file_info()
98 g_assert_nonnull (attr_list); in test_g_file_info()
99 g_assert_nonnull (*attr_list); in test_g_file_info()
106 g_assert_nonnull (info_dup); in test_g_file_info()
111 g_assert_nonnull (info_copy); in test_g_file_info()
167 g_assert_nonnull (dt); in test_g_file_info_modification_time()
178 g_assert_nonnull (dt_usecs); in test_g_file_info_modification_time()
272 g_assert_nonnull (programdata); in test_internal_enhanced_stdio()
275 g_assert_nonnull (users_dir); in test_internal_enhanced_stdio()
417 g_assert_nonnull (tmp_dir); in test_internal_enhanced_stdio()
[all …]
Dtls-bindings.c22 g_assert_nonnull (backend); in get_tls_channel_binding()
27 g_assert_nonnull (tls); in get_tls_channel_binding()
57 g_assert_nonnull (backend); in get_dtls_channel_binding()
62 g_assert_nonnull (dtls); in get_dtls_channel_binding()
Dgdbus-connection.c133 g_assert_nonnull (error); in test_connection_bus_failure()
163 g_assert_nonnull (c); in test_connection_life_cycle()
172 g_assert_nonnull (c2); in test_connection_life_cycle()
181 g_assert_nonnull (c2); in test_connection_life_cycle()
187 g_assert_nonnull (c2); in test_connection_life_cycle()
209 g_assert_nonnull (c2); in test_connection_life_cycle()
349 g_assert_nonnull (result); in msg_cb_expect_success()
413 g_assert_nonnull (c); in test_connection_send()
571 g_assert_nonnull (c1); in test_connection_signals()
576 g_assert_nonnull (c1); in test_connection_signals()
[all …]
Dtrash.c137 g_assert_nonnull (target_mount); in test_trash_symlinks()
142 g_assert_nonnull (tmp); in test_trash_symlinks()
158 g_assert_nonnull (tmp_mount); in test_trash_symlinks()
178 g_assert_nonnull (symlink_mount); in test_trash_symlinks()
187 g_assert_nonnull (symlink_mount); in test_trash_symlinks()
Ddesktop-app-info.c65 g_assert_nonnull (id); in test_delete()
86 g_assert_nonnull (info); in test_delete()
116 g_assert_nonnull (info); in test_default()
126 g_assert_nonnull (info); in test_default()
136 g_assert_nonnull (info); in test_default()
184 g_assert_nonnull (recomm); in test_fallback()
191 g_assert_nonnull (app); in test_fallback()
196 g_assert_nonnull (fallback); in test_fallback()
293 g_assert_nonnull (appinfo); in test_extra_getters()
359 g_assert_nonnull (appinfo); in test_actions()
[all …]
Dwin32-appinfo.c346 g_assert_nonnull (argument); in test_win32_rundll32_fixup()
347 g_assert_nonnull (expected); in test_win32_rundll32_fixup()
376 g_assert_nonnull (dll_function); in test_win32_extract_executable()
390 g_assert_nonnull (executable_folded); in test_win32_extract_executable()
401 g_assert_nonnull (executable_folded); in test_win32_extract_executable()
Dfile.c109 g_assert_nonnull (file); in test_empty_path()
160 g_assert_nonnull (name); in test_parse_name()
476 g_assert_nonnull (data->file); in test_create_delete()
668 g_assert_nonnull (data->file); in test_replace_load()
741 g_assert_nonnull (info); in test_replace_cancel()
745 g_assert_nonnull (info); in test_replace_cancel()
890 g_assert_nonnull (info); in test_replace_symlink()
1735 g_assert_nonnull (io_stream); in test_replace()
1737 g_assert_nonnull (output_stream); in test_replace()
2197 g_assert_nonnull (bytes); in test_load_bytes()
[all …]
Dappinfo.c130 g_assert_nonnull (appinfo); in test_launch_no_app_id()
202 g_assert_nonnull (appinfo); in test_basic()
205 g_assert_nonnull (strstr (g_app_info_get_executable (appinfo), "true")); in test_basic()
267 g_assert_nonnull (appinfo); in test_commandline()
284 g_assert_nonnull (appinfo); in test_commandline()
417 g_assert_nonnull (appinfo2); in test_associations()
428 g_assert_nonnull (appinfo2); in test_associations()
552 g_assert_nonnull (info); in test_from_keyfile()
Dgdbus-server-auth.c221 g_assert_nonnull (result); in store_result_cb()
359 g_assert_nonnull (server); in do_test_server_auth()
375 g_assert_nonnull (client); in do_test_server_auth()
388 g_assert_nonnull (tuple); in do_test_server_auth()
420 g_assert_nonnull (libdbus_call.conn); in do_test_server_auth()
440 g_assert_nonnull (libdbus_call.reply); in do_test_server_auth()
/third_party/glib/gobject/tests/
Dautoptr.c80 g_assert_nonnull (tac); in test_autoptr()
100 g_assert_nonnull (tac_ptr); in test_autoptr_steal()
139 g_assert_nonnull (tac3); in test_autolist()
172 g_assert_nonnull (tac3); in test_autoslist()
205 g_assert_nonnull (tac3); in test_autoqueue()
220 g_assert_nonnull (base_class_ptr); in test_autoclass()
221 g_assert_nonnull (class_ptr); in test_autoclass()
/third_party/libsoup/tests/
Dhsts-test.c446 g_assert_nonnull (old); in on_idna_test_enforcer_changed()
481 g_assert_nonnull (policy); in do_hsts_get_domains_test()
486 g_assert_nonnull (policy); in do_hsts_get_domains_test()
491 g_assert_nonnull (domains); in do_hsts_get_domains_test()
496 g_assert_nonnull (domains); in do_hsts_get_domains_test()
523 g_assert_nonnull (policy); in do_hsts_get_policies_test()
528 g_assert_nonnull (policy); in do_hsts_get_policies_test()
533 g_assert_nonnull (policies); in do_hsts_get_policies_test()
538 g_assert_nonnull (policies); in do_hsts_get_policies_test()

1234