Searched refs:assertAttribute (Results 1 – 4 of 4) sorted by relevance
68 assertEquals("from", annotation.assertAttribute("from").name) in testIntRange()69 assertEquals("20", annotation.assertAttribute("from").legacyValue.toString()) in testIntRange()70 assertEquals("to", annotation.assertAttribute("to").name) in testIntRange()71 assertEquals("40", annotation.assertAttribute("to").legacyValue.toString()) in testIntRange()86 val attribute = annotation.assertAttribute("value") in testIntDef()
19 import com.android.tools.metalava.model.Assertions.Companion.assertAttribute35 val annotationAttribute = annotation.assertAttribute(ATTRIBUTE_NAME) in <lambda>()
454 val custAnno1Attr1 = customAnno1.assertAttribute("children") in 140 - test annotations()455 val custAnno1Attr2 = customAnno1.assertAttribute("val") in 140 - test annotations()456 val custAnno1Attr3 = customAnno1.assertAttribute("cls") in 140 - test annotations()460 val tarAnnoAttr1 = tarAnno.assertAttribute("value") in 140 - test annotations()464 val custAnno2Attr1 = customAnno2.assertAttribute("value") in 140 - test annotations()
205 fun AnnotationItem.assertAttribute(name: String): AnnotationAttribute { in AnnotationItem() method