Changeset 57973 in webkit


Ignore:
Timestamp:
Apr 21, 2010 6:17:56 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-21 Diego Escalante Urrelo <descalante@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Evaluate and create tests for all the AtkRole's implemented by
WebKitGtk
https://bugs.webkit.org/show_bug.cgi?id=34449

Expand testatkroles to test ATK_ROLE_FORM.

  • tests/testatkroles.c: (test_webkit_atk_get_role_form): (main):
Location:
trunk/WebKit/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r57927 r57973  
     12010-04-21  Diego Escalante Urrelo  <descalante@igalia.com>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [Gtk] Evaluate and create tests for all the AtkRole's implemented by
     6        WebKitGtk
     7        https://bugs.webkit.org/show_bug.cgi?id=34449
     8
     9        Expand testatkroles to test ATK_ROLE_FORM.
     10
     11        * tests/testatkroles.c:
     12        (test_webkit_atk_get_role_form):
     13        (main):
     14
    1152010-04-20  Adam Barth  <abarth@webkit.org>
    216
  • trunk/WebKit/gtk/tests/testatkroles.c

    r57874 r57973  
    3636#define HTML_TABLE "<html><body><table border='1'><tr><td>This is</td><td>a test.</td></tr></table></body></html>"
    3737/* Form roles */
     38#define HTML_FORM "<html><body><form>This is a test.</form></body></html>"
    3839#define HTML_CHECK_BOX "<html><body><input type='checkbox' />This is a test.</body></html>"
    3940#define HTML_LABELED_ENTRY "<html><body><label for='foo'>Name:</label><input type='text' id='foo' /></body></html>"
     
    176177
    177178/* Form roles */
     179static void test_webkit_atk_get_role_form(AtkRolesFixture *fixture, gconstpointer data)
     180{
     181    get_child_and_test_role(fixture->documentFrame, 0, ATK_ROLE_FORM);
     182}
     183
    178184static void test_webkit_atk_get_role_check_box(AtkRolesFixture* fixture, gconstpointer data)
    179185{
     
    318324
    319325    /* Form roles */
     326    g_test_add("/webkit/atk/test_webkit_atk_get_role_form",
     327               AtkRolesFixture, HTML_FORM,
     328               atk_roles_fixture_setup,
     329               test_webkit_atk_get_role_form,
     330               atk_roles_fixture_teardown);
    320331    g_test_add("/webkit/atk/test_webkit_atk_get_role_check_box",
    321332               AtkRolesFixture, HTML_CHECK_BOX,
Note: See TracChangeset for help on using the changeset viewer.