Home | History | Annotate | Download | only in tests

Lines Matching refs:set2

942 static gboolean atkAttributeSetAreEqual(AtkAttributeSet* set1, AtkAttributeSet* set2)
945 return !set2;
948 set2 = g_slist_sort(set2, (GCompareFunc)compAtkAttribute);
951 if (!set2 || compAtkAttribute(set1->data, set2->data))
955 set2 = set2->next;
958 return (!set2);
986 AtkAttributeSet* set2 = atk_text_get_run_attributes(childText, 15, &startOffset, &endOffset);
989 g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_STYLE, "italic"));
1001 atk_attribute_set_free(set2);
1016 set2 = atk_text_get_run_attributes(childText, 43, &startOffset, &endOffset);
1020 g_assert(!atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_FG_COLOR, "120,121,122"));
1021 g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_UNDERLINE, "single"));
1022 g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_BG_COLOR, "80,81,82"));
1024 atk_attribute_set_free(set2);
1031 set2 = atk_text_get_run_attributes(childText, 3, &startOffset, &endOffset);
1032 g_assert(atkAttributeSetAreEqual(set1, set2));
1033 atk_attribute_set_free(set2);
1035 set2 = atk_text_get_run_attributes(childText, 1, &startOffset, &endOffset);
1037 g_assert(atkAttributeSetAreEqual(set2, set3));
1038 g_assert(!atkAttributeSetAreEqual(set1, set2));
1045 g_assert(!atkAttributeSetAreEqual(set2, set3));
1047 atk_attribute_set_free(set2);
1059 set2 = atk_text_get_run_attributes(childText, 25, &startOffset, &endOffset);
1062 g_assert(atkAttributeSetAreEqual(set2, 0));
1067 atk_attribute_set_free(set2);
1371 AtkAttributeSet* set2 = atk_object_get_attributes(table2);
1372 g_assert(set2);
1373 g_assert(atkAttributeSetContainsAttributeName(set2, "layout-guess"));
1374 g_assert(atkAttributeSetAttributeNameHasValue(set2, "layout-guess", "true"));
1375 atk_attribute_set_free(set2);