Home | History | Annotate | Download | only in tests

Lines Matching full:hlink

511     AtkHyperlink* hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph1), 0);
512 g_assert(ATK_HYPERLINK(hLink));
513 AtkObject* hLinkObject = atk_hyperlink_get_object(hLink, 0);
516 g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 8);
517 g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 9);
518 g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
519 g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);
533 hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph2), 0);
534 g_assert(ATK_HYPERLINK(hLink));
535 hLinkObject = atk_hyperlink_get_object(hLink, 0);
538 g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 8);
539 g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 9);
540 g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
541 g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);
555 hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph3), 0);
556 g_assert(ATK_HYPERLINK(hLink));
557 hLinkObject = atk_hyperlink_get_object(hLink, 0);
560 g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 0);
561 g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 1);
562 g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
563 g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);