Home | History | Annotate | Download | only in tests

Lines Matching full:set1

942 static gboolean atkAttributeSetAreEqual(AtkAttributeSet* set1, AtkAttributeSet* set2)
944 if (!set1)
947 set1 = g_slist_sort(set1, (GCompareFunc)compAtkAttribute);
950 while (set1) {
951 if (!set2 || compAtkAttribute(set1->data, set2->data))
954 set1 = set1->next;
981 AtkAttributeSet* set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset);
984 g_assert(atkAttributeSetAreEqual(set1, 0));
1000 atk_attribute_set_free(set1);
1009 set1 = atk_text_get_default_attributes(childText);
1010 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_FAMILY_NAME, "monospace"));
1011 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STYLE, "normal"));
1012 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STRIKETHROUGH, "false"));
1013 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_WEIGHT, "400"));
1014 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_FG_COLOR, "120,121,122"));
1023 atk_attribute_set_free(set1);
1030 set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset);
1032 g_assert(atkAttributeSetAreEqual(set1, set2));
1038 g_assert(!atkAttributeSetAreEqual(set1, set2));
1044 g_assert(!atkAttributeSetAreEqual(set1, set3));
1046 atk_attribute_set_free(set1);
1054 set1 = atk_text_get_run_attributes(childText, 24, &startOffset, &endOffset);
1057 g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STRIKETHROUGH, "true"));
1066 atk_attribute_set_free(set1);
1362 AtkAttributeSet* set1 = atk_object_get_attributes(table1);
1363 g_assert(set1);
1364 g_assert(!atkAttributeSetContainsAttributeName(set1, "layout-guess"));
1365 atk_attribute_set_free(set1);