HomeSort by relevance Sort by last modified time
    Searched full:g_assert (Results 26 - 50 of 156) sorted by null

12 3 4 5 6 7

  /external/webkit/Source/WebKit/gtk/tests/
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...]
testwindow.c 72 g_assert(horizontalPolicy == GTK_POLICY_AUTOMATIC);
73 g_assert(verticalPolicy == GTK_POLICY_AUTOMATIC);
75 g_assert(GTK_POLICY_NEVER == webkit_web_frame_get_horizontal_scrollbar_policy(mainFrame));
76 g_assert(GTK_POLICY_NEVER == webkit_web_frame_get_vertical_scrollbar_policy(mainFrame));
88 g_assert(horizontalPolicy == GTK_POLICY_ALWAYS);
89 g_assert(verticalPolicy == GTK_POLICY_ALWAYS);
91 g_assert(horizontalPolicy == webkit_web_frame_get_horizontal_scrollbar_policy(mainFrame));
92 g_assert(verticalPolicy == webkit_web_frame_get_vertical_scrollbar_policy(mainFrame));
104 g_assert(horizontalPolicy == GTK_POLICY_AUTOMATIC);
105 g_assert(verticalPolicy == GTK_POLICY_AUTOMATIC)
    [all...]
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...]
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...]
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));
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);
testmimehandling.c 56 g_assert(!error);
65 g_assert(!error);
76 g_assert(!error);
85 g_assert(!error);
108 g_assert(!webkit_web_view_can_show_mime_type(view, mime_type));
111 g_assert(webkit_web_view_can_show_mime_type(view, mime_type));
117 g_assert(message);
126 g_assert(webkit_web_view_can_show_mime_type(view, mime_type));
129 g_assert(webkit_web_view_can_show_mime_type(view, mime_type));
  /external/bluetooth/glib/tests/gobject/
defaultiface.c 69 g_assert (static_iface == NULL);
73 g_assert (static_iface && static_iface->val == 42);
77 g_assert (static_iface && static_iface->val == 42);
84 g_assert (static_iface && static_iface->val == 42);
149 g_assert (dynamic_iface == NULL);
153 g_assert (dynamic_iface_init);
154 g_assert (dynamic_iface && dynamic_iface->val == 42);
158 g_assert (dynamic_iface && dynamic_iface->val == 42);
162 g_assert (!dynamic_iface_init);
166 g_assert (dynamic_iface == NULL)
    [all...]
ifaceproperties.c 167 g_assert (n_construct_properties == 1);
173 g_assert (G_IS_PARAM_SPEC_OVERRIDE (pspec));
174 g_assert (pspec->param_id == BASE_PROP1);
175 g_assert (strcmp (g_param_spec_get_name (pspec), "prop1") == 0);
176 g_assert (g_param_spec_get_redirect_target (pspec) == iface_spec1);
180 g_assert (strcmp (g_param_spec_get_nick (pspec), "Prop1") == 0);
181 g_assert (strcmp (g_param_spec_get_blurb (pspec), "Property 1") == 0);
189 g_assert (g_value_get_int (&value1) == 42);
193 g_assert (g_param_value_validate (pspec, &value1));
194 g_assert (g_value_get_int (&value1) == 0xFFFF)
    [all...]
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);
override.c 104 g_assert (g_signal_get_invocation_hint (self)->signal_id == foo_signal_id);
123 g_assert (object == G_OBJECT (self));
124 g_assert (GPOINTER_TO_INT (pointer) == 23);
189 g_assert (g_signal_get_invocation_hint (self)->signal_id == foo_signal_id);
205 g_assert (g_signal_get_invocation_hint (self)->signal_id == bar_signal_id);
220 g_assert (object == G_OBJECT (self));
221 g_assert (GPOINTER_TO_INT (pointer) == 23);
277 g_assert (g_signal_get_invocation_hint (self)->signal_id == foo_signal_id);
293 g_assert (g_signal_get_invocation_hint (self)->signal_id == bar_signal_id);
308 g_assert (object == G_OBJECT (self))
    [all...]
  /external/bluetooth/glib/tests/
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...]
file-test.c 74 g_assert (fd != -1 && "g_mkstemp didn't work for template fooXXXXXX");
76 g_assert (i != -1 && "write() failed");
77 g_assert (i == hellolen && "write() has written too few bytes");
81 g_assert (i != -1 && "read() failed: %s");
82 g_assert (i == hellolen && "read() has got wrong number of bytes");
85 g_assert (strcmp (chars, hello) == 0 && "read() didn't get same string back");
92 g_assert (fd != -1 && "g_mkstemp didn't work for template fooXXXXXX.pdf");
112 g_assert (file != NULL && "fopen() failed");
116 g_assert (result == 0 && "symlink() failed");
118 g_assert (result == 0 && "symlink() failed")
    [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);
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);
slist-test.c 52 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2));
76 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2));
99 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2));
125 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2));
148 g_assert (*((gint*) st->data) == (9 - i));
170 g_assert (*((gint*) st->data) == i);
qsort-test.c 27 g_assert (array[i] <= array[i+1]);
  /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/tests/
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...]
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...]
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...]
  /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...]
  /external/bluetooth/glib/tests/refcount/
closures.c 213 g_assert (data == TEST_POINTER2);
214 g_assert (test->test_pointer1 == TEST_POINTER1);
225 g_assert (closure->ref_count == 0);
283 g_assert (seen_thread1 != FALSE);
284 g_assert (seen_thread2 != FALSE);
285 g_assert (seen_test_int1 != FALSE);
286 g_assert (seen_test_int2 != FALSE);
287 g_assert (seen_signal_handler != FALSE);
288 g_assert (seen_cleanup != FALSE);

Completed in 1174 milliseconds

12 3 4 5 6 7