Searched refs:fixture (Results 1 - 23 of 23) sorted by relevance

/external/webkit/Source/WebKit/gtk/tests/
H A Dtestatkroles.c57 static gboolean finish_loading(AtkRolesFixture* fixture) argument
59 if (g_main_loop_is_running(fixture->loop))
60 g_main_loop_quit(fixture->loop);
62 fixture->documentFrame = gtk_widget_get_accessible(fixture->webView);
63 g_assert(fixture->documentFrame);
68 static void atk_roles_fixture_setup(AtkRolesFixture* fixture, gconstpointer data) argument
70 fixture->loop = g_main_loop_new(NULL, TRUE);
71 fixture->alloc = (GtkAllocation) { 0, 0, 800, 600 };
72 fixture
84 atk_roles_fixture_teardown(AtkRolesFixture* fixture, gconstpointer data) argument
103 test_webkit_atk_get_role_document_frame(AtkRolesFixture* fixture, gconstpointer data) argument
109 test_webkit_atk_get_role_heading(AtkRolesFixture* fixture, gconstpointer data) argument
119 test_webkit_atk_get_role_image(AtkRolesFixture* fixture, gconstpointer data) argument
130 test_webkit_atk_get_role_link(AtkRolesFixture* fixture, gconstpointer data) argument
141 test_webkit_atk_get_role_list_and_item(AtkRolesFixture* fixture, gconstpointer data) argument
164 test_webkit_atk_get_role_paragraph(AtkRolesFixture* fixture, gconstpointer data) argument
169 test_webkit_atk_get_role_section(AtkRolesFixture* fixture, gconstpointer data) argument
175 test_webkit_atk_get_role_table(AtkRolesFixture* fixture, gconstpointer data) argument
180 test_webkit_atk_get_role_separator(AtkRolesFixture *fixture, gconstpointer data) argument
185 test_webkit_atk_get_role_combobox(AtkRolesFixture *fixture, gconstpointer data) argument
212 test_webkit_atk_get_role_form(AtkRolesFixture *fixture, gconstpointer data) argument
217 test_webkit_atk_get_role_check_box(AtkRolesFixture* fixture, gconstpointer data) argument
228 test_webkit_atk_get_role_entry(AtkRolesFixture* fixture, gconstpointer data) argument
239 test_webkit_atk_get_role_label(AtkRolesFixture* fixture, gconstpointer data) argument
250 test_webkit_atk_get_role_listbox(AtkRolesFixture* fixture, gconstpointer data) argument
270 test_webkit_atk_get_role_password_text(AtkRolesFixture* fixture, gconstpointer data) argument
281 test_webkit_atk_get_role_push_button(AtkRolesFixture* fixture, gconstpointer data) argument
292 test_webkit_atk_get_role_radio_button(AtkRolesFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestloading.c72 static void web_loading_fixture_setup(WebLoadingFixture* fixture, gconstpointer data) argument
74 fixture->webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
75 fixture->loop = g_main_loop_new(NULL, TRUE);
76 g_object_ref_sink(fixture->webView);
77 fixture->has_been_provisional = FALSE;
78 fixture->has_been_committed = FALSE;
79 fixture->has_been_first_visually_non_empty_layout = FALSE;
80 fixture->has_been_finished = FALSE;
81 fixture->has_been_failed = FALSE;
82 fixture
85 web_loading_fixture_teardown(WebLoadingFixture* fixture, gconstpointer data) argument
103 load_finished_cb(WebKitWebView* web_view, WebKitWebFrame* web_frame, WebLoadingFixture* fixture) argument
113 status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture) argument
146 test_loading_status(WebLoadingFixture* fixture, gconstpointer data) argument
153 "signal::notify::load-status", G_CALLBACK(status_changed_cb), fixture, local
154 "signal::load-finished", G_CALLBACK(load_finished_cb), fixture, local
168 load_error_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture) argument
198 load_error_cb(WebKitWebView* webView, WebKitWebFrame* frame, const char* uri, GError *error, WebLoadingFixture* fixture) argument
207 test_loading_error(WebLoadingFixture* fixture, gconstpointer data) argument
231 load_cancelled_cb(WebKitWebView* webView, WebKitWebFrame* frame, const char* uri, GError *error, WebLoadingFixture* fixture) argument
248 load_cancelled_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture) argument
276 test_loading_cancelled(WebLoadingFixture* fixture, gconstpointer data) argument
292 load_goback_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture) argument
319 load_wentback_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture) argument
355 test_loading_goback(WebLoadingFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestdomdomwindow.c42 static gboolean finish_loading(DomDomviewFixture* fixture) argument
44 if (g_main_loop_is_running(fixture->loop))
45 g_main_loop_quit(fixture->loop);
50 static void dom_domview_fixture_setup(DomDomviewFixture* fixture, gconstpointer data) argument
52 fixture->loop = g_main_loop_new(NULL, TRUE);
53 fixture->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
54 fixture->webView = webkit_web_view_new();
55 fixture->data = data;
57 gtk_container_add(GTK_CONTAINER(fixture->window), GTK_WIDGET(fixture
60 dom_domview_fixture_teardown(DomDomviewFixture* fixture, gconstpointer data) argument
66 loadedCallback(WebKitDOMDOMWindow* view, WebKitDOMEvent* event, DomDomviewFixture* fixture) argument
74 clickedCallback(WebKitDOMDOMWindow* view, WebKitDOMEvent* event, DomDomviewFixture* fixture) argument
97 map_event_cb(GtkWidget *widget, GdkEvent* event, DomDomviewFixture* fixture) argument
104 load_event_callback(WebKitWebView* webView, GParamSpec* spec, DomDomviewFixture* fixture) argument
108 webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(fixture->domWindow), "click", G_CALLBACK(clickedCallback), false, fixture); local
116 test_dom_domview_signals(DomDomviewFixture* fixture, gconstpointer data) argument
128 webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(fixture->domWindow), "load", G_CALLBACK(loadedCallback), false, fixture); local
142 clicked_cb(WebKitDOMEventTarget* target, WebKitDOMEvent* event, DomDomviewFixture* fixture) argument
150 load_status_callback(WebKitWebView* webView, GParamSpec* spec, DomDomviewFixture* fixture) argument
179 webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(element), "click", G_CALLBACK(clicked_cb), false, fixture); local
186 test_dom_domview_dispatch_event(DomDomviewFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestwebhistoryitem.c30 static void web_history_item_fixture_setup(WebHistoryItemFixture* fixture, argument
33 fixture->item = webkit_web_history_item_new_with_data("http://example.com/", "Example1");
34 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, == , 1);
35 g_assert(fixture->item != NULL);
38 static void web_history_item_fixture_teardown(WebHistoryItemFixture* fixture, argument
41 g_assert(fixture->item != NULL);
42 g_assert_cmpint(G_OBJECT(fixture->item)->ref_count, ==, 1);
45 static void test_webkit_web_history_item_get_data(WebHistoryItemFixture* fixture, argument
48 g_assert_cmpstr(webkit_web_history_item_get_title(fixture->item), ==, "Example1");
49 g_assert_cmpstr(webkit_web_history_item_get_uri(fixture
52 test_webkit_web_history_item_alternate_title(WebHistoryItemFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestkeyevents.c65 static void key_event_fixture_setup(KeyEventFixture* fixture, gconstpointer data) argument
67 fixture->loop = g_main_loop_new(NULL, TRUE);
69 fixture->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
70 fixture->webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
72 gtk_container_add(GTK_CONTAINER(fixture->window), GTK_WIDGET(fixture->webView));
75 static void key_event_fixture_teardown(KeyEventFixture* fixture, gconstpointer data) argument
77 gtk_widget_destroy(fixture->window);
78 g_main_loop_unref(fixture->loop);
79 test_info_destroy(fixture
84 KeyEventFixture* fixture = (KeyEventFixture*)data; local
94 KeyEventFixture* fixture = (KeyEventFixture*)data; local
105 KeyEventFixture* fixture = (KeyEventFixture*)data; local
122 KeyEventFixture* fixture = (KeyEventFixture*)data; local
128 setup_keyevent_test(KeyEventFixture* fixture, gconstpointer data, GCallback load_event_callback) argument
144 test_keypress_events(KeyEventFixture* fixture, gconstpointer data) argument
181 KeyEventFixture* fixture = (KeyEventFixture*)data; local
209 test_ime(KeyEventFixture* fixture, gconstpointer data) argument
216 KeyEventFixture* fixture = (KeyEventFixture*)data; local
228 KeyEventFixture* fixture = (KeyEventFixture*)data; local
248 test_blocking(KeyEventFixture* fixture, gconstpointer data) argument
256 KeyEventFixture* fixture = (KeyEventFixture*)data; local
298 test_xim(KeyEventFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestcopyandpaste.c61 static void copy_and_paste_fixture_setup(CopyAndPasteFixture* fixture, gconstpointer data) argument
63 fixture->loop = g_main_loop_new(NULL, TRUE);
65 fixture->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
66 fixture->webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
68 gtk_container_add(GTK_CONTAINER(fixture->window), GTK_WIDGET(fixture->webView));
71 static void copy_and_paste_fixture_teardown(CopyAndPasteFixture* fixture, gconstpointer data) argument
73 gtk_widget_destroy(fixture->window);
74 g_main_loop_unref(fixture->loop);
75 test_info_destroy(fixture
80 CopyAndPasteFixture* fixture = (CopyAndPasteFixture*)data; local
115 CopyAndPasteFixture* fixture = (CopyAndPasteFixture*)data; local
121 test_copy_and_paste(CopyAndPasteFixture* fixture, gconstpointer data) argument
198 test_pasting_markup(CopyAndPasteFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestdomdocument.c41 static gboolean finish_loading(DomDocumentFixture* fixture) argument
43 if (g_main_loop_is_running(fixture->loop))
44 g_main_loop_quit(fixture->loop);
49 static void dom_document_fixture_setup(DomDocumentFixture* fixture, gconstpointer data) argument
51 fixture->loop = g_main_loop_new(NULL, TRUE);
52 fixture->webView = webkit_web_view_new();
53 g_object_ref_sink(fixture->webView);
56 webkit_web_view_load_string(WEBKIT_WEB_VIEW (fixture->webView), (const char*) data, NULL, NULL, NULL);
58 g_idle_add((GSourceFunc)finish_loading, fixture);
59 g_main_loop_run(fixture
62 dom_document_fixture_teardown(DomDocumentFixture* fixture, gconstpointer data) argument
69 test_dom_document_title(DomDocumentFixture* fixture, gconstpointer data) argument
87 test_dom_document_get_elements_by_tag_name(DomDocumentFixture* fixture, gconstpointer data) argument
116 test_dom_document_get_elements_by_class_name(DomDocumentFixture* fixture, gconstpointer data) argument
141 test_dom_document_get_element_by_id(DomDocumentFixture* fixture, gconstpointer data) argument
161 test_dom_document_get_links(DomDocumentFixture* fixture, gconstpointer data) argument
196 test_dom_document_garbage_collection(DomDocumentFixture* fixture, gconstpointer data) argument
[all...]
H A Dtestwebresource.c83 static void web_resource_fixture_setup(WebResourceFixture* fixture, gconstpointer data) argument
85 fixture->webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
86 g_object_ref_sink(fixture->webView);
88 fixture->webResource = webkit_web_resource_new(webData, strlen(webData), "http://example.com/", "text/html", "utf8", "Example.com");
89 g_assert(fixture->webResource);
92 static void web_resource_fixture_teardown(WebResourceFixture* fixture, gconstpointer data) argument
94 g_assert(fixture->webResource);
95 g_object_unref(fixture->webResource);
96 g_object_unref(fixture->webView);
99 static void test_webkit_web_resource_get_url(WebResourceFixture* fixture, gconstpointe argument
108 test_webkit_web_resource_get_data(WebResourceFixture* fixture, gconstpointer data) argument
114 test_webkit_web_resource_get_mime_type(WebResourceFixture* fixture, gconstpointer data) argument
123 test_webkit_web_resource_get_encoding(WebResourceFixture* fixture, gconstpointer data) argument
132 test_webkit_web_resource_get_frame_name(WebResourceFixture* fixture, gconstpointer data) argument
[all...]
H A Dtesthittestresult.c58 static void hit_test_result_fixture_setup(HitTestResultFixture* fixture, gconstpointer data) argument
60 fixture->webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
61 g_object_ref_sink(fixture->webView);
63 fixture->info = (TestInfo*)data;
66 static void hit_test_result_fixture_teardown(HitTestResultFixture* fixture, gconstpointer data) argument
68 g_object_unref(fixture->webView);
70 test_info_destroy(fixture->info);
122 test_webkit_hit_test_result(HitTestResultFixture* fixture, gconstpointer data) argument
127 webkit_web_view_load_string(fixture->webView,
132 gtk_widget_size_allocate(GTK_WIDGET(fixture
[all...]
H A Dtestdomnode.c37 static gboolean finish_loading(DomNodeFixture* fixture) argument
39 if (g_main_loop_is_running(fixture->loop))
40 g_main_loop_quit(fixture->loop);
45 static void dom_node_fixture_setup(DomNodeFixture* fixture, gconstpointer data) argument
47 fixture->loop = g_main_loop_new(NULL, TRUE);
48 fixture->webView = webkit_web_view_new();
49 g_object_ref_sink(fixture->webView);
52 webkit_web_view_load_string(WEBKIT_WEB_VIEW(fixture->webView), (const char*)data, NULL, NULL, NULL);
54 g_idle_add((GSourceFunc)finish_loading, fixture);
55 g_main_loop_run(fixture
58 dom_node_fixture_teardown(DomNodeFixture* fixture, gconstpointer data) argument
64 test_dom_node_hierarchy_navigation(DomNodeFixture* fixture, gconstpointer data) argument
125 test_dom_node_insertion(DomNodeFixture* fixture, gconstpointer data) argument
[all...]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DStringCharacterIteratorTest.java121 StringCharacterIterator sci0 = new StringCharacterIterator("fixture");
124 assertFalse(sci0.equals("fixture"));
126 StringCharacterIterator sci1 = new StringCharacterIterator("fixture");
149 StringCharacterIterator sci0 = new StringCharacterIterator("fixture");
165 StringCharacterIterator fixture = new StringCharacterIterator("fixture");
166 assertEquals('f', fixture.current());
167 fixture.next();
168 assertEquals('i', fixture.current());
179 StringCharacterIterator fixture
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-blob.c98 free_up (fixture_t *fixture) argument
100 g_assert_cmpint (fixture->freed, ==, 0);
101 fixture->freed++;
105 free_up_free (fixture_t *fixture) argument
107 free_up (fixture);
108 free (fixture->data);
132 free_up_munmap (fixture_t *fixture) argument
134 free_up (fixture);
135 munmap (fixture->data, get_pagesize ());
141 fixture_init (fixture_t *fixture, gconstpointe argument
195 fixture_finish(fixture_t *fixture, gconstpointer user_data) argument
203 test_blob(fixture_t *fixture, gconstpointer user_data) argument
262 test_blob_subblob(fixture_t *fixture, gconstpointer user_data) argument
[all...]
H A Dtest-buffer.c60 fixture_init (fixture_t *fixture, gconstpointer user_data) argument
65 b = fixture->buffer = hb_buffer_create ();
95 fixture_finish (fixture_t *fixture, gconstpointer user_data) argument
97 hb_buffer_destroy (fixture->buffer);
102 test_buffer_properties (fixture_t *fixture, gconstpointer user_data) argument
104 hb_buffer_t *b = fixture->buffer;
171 test_buffer_contents (fixture_t *fixture, gconstpointer user_data) argument
173 hb_buffer_t *b = fixture->buffer;
288 test_buffer_positions (fixture_t *fixture, gconstpointer user_data) argument
290 hb_buffer_t *b = fixture
313 test_buffer_allocation(fixture_t *fixture, gconstpointer user_data) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
H A DTestDriver.cs47 //ITreeFixture fixture = new ITreeFixture();
48 ANTLRxxxxStreamFixture fixture = new ANTLRxxxxStreamFixture();
49 fixture.TestConsumeAllCharactersInAnANTLRInputStream();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DStringBuilderTest.java62 StringBuilder sb = new StringBuilder((CharSequence) "fixture");
63 assertEquals("fixture", sb.toString());
64 assertEquals("fixture".length() + 16, sb.capacity());
66 sb = new StringBuilder((CharSequence) new StringBuffer("fixture"));
67 assertEquals("fixture", sb.toString());
68 assertEquals("fixture".length() + 16, sb.capacity());
82 StringBuilder sb = new StringBuilder("fixture");
83 assertEquals("fixture", sb.toString());
84 assertEquals("fixture".length() + 16, sb.capacity());
376 sb.append("fixture");
[all...]
H A DStringBufferTest.java201 final String fixture = "0000";
202 StringBuffer sb = new StringBuffer(fixture);
207 sb = new StringBuffer(fixture);
212 sb = new StringBuffer(fixture);
217 sb = new StringBuffer(fixture);
223 sb = new StringBuffer(fixture);
231 sb = new StringBuffer(fixture);
244 final String fixture = "0000";
245 StringBuffer sb = new StringBuffer(fixture);
250 sb = new StringBuffer(fixture);
[all...]
H A DByteTest.java110 Byte fixture = new Byte((byte) 25);
111 assertEquals(fixture, fixture);
112 assertFalse(fixture.equals(null));
113 assertFalse(fixture.equals("Not a Byte"));
H A DShortTest.java426 Short fixture = new Short((short)25);
427 assertEquals(fixture, fixture);
428 assertFalse(fixture.equals(null));
429 assertFalse(fixture.equals("Not a Short"));
H A DIntegerTest.java757 Integer fixture = new Integer(25);
758 assertEquals(fixture, fixture);
759 assertFalse(fixture.equals(null));
760 assertFalse(fixture.equals("Not a Integer"));
H A DLongTest.java591 Long fixture = new Long(25);
592 assertEquals(fixture, fixture);
593 assertFalse(fixture.equals(null));
594 assertFalse(fixture.equals("Not a Long"));
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DArrays2Test.java282 assertEquals("[fixture]", Arrays.toString(new Object[] {"fixture"}));
283 assertEquals("[fixture, null]", Arrays.toString(new Object[] {"fixture", null}));
284 assertEquals("[fixture, null, fixture]", Arrays.toString(new Object[] {"fixture", null, "fixture"}));
293 assertEquals("[fixture]", Arrays.deepToString(new Object[] {"fixture"}));
[all...]
/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/
H A Dproxy_form_controller_test.js26 var fixture = document.getElementById('fixture'); variable
27 var baselineHTML = fixture.innerHTML;
54 fixture.innerHTML = baselineHTML;
78 fixture.removeChild(fixture.childNodes[0]);
148 fixture.innerHTML = baselineHTML;
166 fixture.innerHTML = baselineHTML;
184 fixture.innerHTML = baselineHTML;
202 fixture
[all...]
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DEventBusTest.java106 assertEquals("String fixture must be first object delivered.",
108 assertEquals("Object fixture must be second object delivered.",
110 assertEquals("Comparable fixture must be thirdobject delivered.",
116 assertEquals("String fixture must be first comparable delivered.",
118 assertEquals("Comparable fixture must be second comparable delivered.",
149 HierarchyFixture fixture = new HierarchyFixture();
150 Set<Class<?>> hierarchy = bus.flattenHierarchy(fixture.getClass());

Completed in 419 milliseconds