Changeset 58083 in webkit


Ignore:
Timestamp:
Apr 22, 2010 3:31:34 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-22 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_SEPARATOR.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r58072 r58083  
     12010-04-22  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_SEPARATOR.
     10
     11        * tests/testatkroles.c:
     12        (test_webkit_atk_get_role_separator):
     13        (main):
     14
    1152010-04-22  Adam Barth  <abarth@webkit.org>
    216
  • trunk/WebKit/gtk/tests/testatkroles.c

    r57973 r58083  
    3535#define HTML_SECTION "<html><body><div>This is a test.</div></body></html>"
    3636#define HTML_TABLE "<html><body><table border='1'><tr><td>This is</td><td>a test.</td></tr></table></body></html>"
     37#define HTML_SEPARATOR "<html><body><hr/></body></html>"
    3738/* Form roles */
    3839#define HTML_FORM "<html><body><form>This is a test.</form></body></html>"
     
    176177}
    177178
     179static void test_webkit_atk_get_role_separator(AtkRolesFixture *fixture, gconstpointer data)
     180{
     181    get_child_and_test_role(fixture->documentFrame, 0, ATK_ROLE_SEPARATOR);
     182}
     183
    178184/* Form roles */
    179185static void test_webkit_atk_get_role_form(AtkRolesFixture *fixture, gconstpointer data)
     
    323329               atk_roles_fixture_teardown);
    324330
     331    g_test_add("/webkit/atk/test_webkit_atk_get_role_separator",
     332               AtkRolesFixture, HTML_SEPARATOR,
     333               atk_roles_fixture_setup,
     334               test_webkit_atk_get_role_separator,
     335               atk_roles_fixture_teardown);
     336
    325337    /* Form roles */
    326338    g_test_add("/webkit/atk/test_webkit_atk_get_role_form",
Note: See TracChangeset for help on using the changeset viewer.