Searched refs:roboAttributeSet (Results 1 – 2 of 2) sorted by relevance
29 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnTheResourceValue() local33 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_NS, "text", 0)) in getAttributeResourceValue_shouldReturnTheResourceValue()39 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue() local43 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_NS, "text", 0)) in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue()49 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId() local53 …assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.namespace"… in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()59 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId() local63 …assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.other.name… in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()69 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in shouldCopeWithDefiningLocalIds() local73 assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_NS, "id", 0)) in shouldCopeWithDefiningLocalIds()[all …]
250 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() local258 TypedArray a = context.obtainStyledAttributes(roboAttributeSet, R.styleable.CustomView); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()266 …TypedArray typedArray = context.obtainStyledAttributes(roboAttributeSet, new int[]{R.attr.quitKeyC… in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()