Lines Matching refs:test_valid
125 test_valid (void) in test_valid() function
136 g_assert_true (g_simple_async_result_is_valid (result, NULL, test_valid)); in test_valid()
139 g_assert_false (g_simple_async_result_is_valid (result, a, test_valid)); in test_valid()
144 result = (GAsyncResult *) g_simple_async_result_new (NULL, NULL, NULL, test_valid); in test_valid()
146 g_assert_true (g_simple_async_result_is_valid (result, NULL, test_valid)); in test_valid()
149 g_assert_false (g_simple_async_result_is_valid (result, a, test_valid)); in test_valid()
156 g_assert_true (g_simple_async_result_is_valid (result, a, test_valid)); in test_valid()
159 g_assert_false (g_simple_async_result_is_valid (result, NULL, test_valid)); in test_valid()
162 g_assert_false (g_simple_async_result_is_valid (result, b, test_valid)); in test_valid()
167 result = (GAsyncResult *) g_simple_async_result_new (a, NULL, NULL, test_valid); in test_valid()
168 g_assert_true (g_simple_async_result_is_valid (result, a, test_valid)); in test_valid()
172 g_assert_false (g_simple_async_result_is_valid (result, NULL, test_valid)); in test_valid()
175 g_assert_false (g_simple_async_result_is_valid (result, b, test_valid)); in test_valid()
194 g_test_add_func ("/gio/simple-async-result/valid", test_valid); in main()