Home
last modified time | relevance | path

Searched refs:buildAttributeSet (Results 1 – 13 of 13) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java29 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnTheResourceValue()
39 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue()
49 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()
59 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()
69 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in shouldCopeWithDefiningLocalIds()
79 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue()
89 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull()
99 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet()
108 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes()
119 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeBooleanValue_withNamespace_shouldGetBooleanValuesFromAttributes()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypedArrayTest.java45 Robolectric.buildAttributeSet() in getInt_withFlags_shouldReturnValue()
60 Robolectric.buildAttributeSet() in getResourceId_shouldReturnActualValue()
76 Robolectric.buildAttributeSet() in getFraction_shouldReturnGivenValue()
92 Robolectric.buildAttributeSet() in getDimension_shouldReturnGivenValue()
102 Robolectric.buildAttributeSet() in getDrawable_withExplicitColorValue_shouldReturnColorDrawable()
113 Robolectric.buildAttributeSet() in getTextArray_whenNoSuchAttribute_shouldReturnNull()
127 Robolectric.buildAttributeSet() in getTextArray_shouldReturnValues()
136 Robolectric.buildAttributeSet() in hasValue_withValue()
152 Robolectric.buildAttributeSet() in hasValue_withNullValue()
161 Robolectric.buildAttributeSet() in shouldEnumeratePresentValues()
DShadowAssetManagerTest.java135 Robolectric.buildAttributeSet().addAttribute(R.attr.multiformat, "16").build(); in multiFormatAttributes_integerDecimalValue()
147 Robolectric.buildAttributeSet().addAttribute(R.attr.multiformat, "0x10").build(); in multiFormatAttributes_integerHexValue()
159 Robolectric.buildAttributeSet().addAttribute(R.attr.multiformat, "Hello World").build(); in multiFormatAttributes_stringValue()
171 Robolectric.buildAttributeSet().addAttribute(R.attr.multiformat, "true").build(); in multiFormatAttributes_booleanValue()
207 Robolectric.buildAttributeSet() in whenStyleAttrResolutionFails_attrsToTypedArray_returnsNiceErrorMessage()
DShadowResourcesTest.java112 AttributeSet attributeSet = Robolectric.buildAttributeSet() in obtainAttributes_shouldUseReferencedIdFromAttributeSet()
121 TypedArray typedArray = resources.obtainAttributes(Robolectric.buildAttributeSet() in obtainAttributes()
131 AttributeSet attributes = Robolectric.buildAttributeSet() in obtainAttributes_shouldReturnValuesFromAttributeSet()
170 AttributeSet attributes = Robolectric.buildAttributeSet() in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
199 AttributeSet attributes = Robolectric.buildAttributeSet() in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
DShadowEditTextTest.java25 AttributeSet attributeSet = Robolectric.buildAttributeSet() in setup()
48 AttributeSet attrs = Robolectric.buildAttributeSet() in givenInitializingWithAttributeSet_whenMaxLengthDefined_thenRestrictTextLengthToMaxLength()
62 AttributeSet attrs = Robolectric.buildAttributeSet().build(); in givenInitializingWithAttributeSet_whenMaxLengthNotDefined_thenTextLengthShouldHaveNoRestrictions()
DShadowThemeTest.java192 Robolectric.buildAttributeSet().setStyleAttribute("?attr/styleReference").build(), in whenStyleSpecifiesAttr_obtainStyledAttribute_findsCorrectValue()
197 Robolectric.buildAttributeSet().setStyleAttribute("?styleReference").build(), in whenStyleSpecifiesAttr_obtainStyledAttribute_findsCorrectValue()
224 Robolectric.buildAttributeSet().addAttribute(R.attr.string2, "?attr/string1").build(), in whenAttrSetAttrSpecifiesAttr_obtainStyledAttribute_returnsItsValue()
238 AttributeSet attributeSet = Robolectric.buildAttributeSet() in dimenRef()
248 AttributeSet attributeSet = Robolectric.buildAttributeSet() in dimenRefRef()
DViewStubTest.java57 Robolectric.buildAttributeSet() in shouldApplyAttributes()
DShadowProgressBarTest.java25 AttributeSet attrs = Robolectric.buildAttributeSet() in setUp()
DShadowPreferenceGroupTest.java31 attrs = Robolectric.buildAttributeSet().build(); in setUp()
DXmlPullParserTest.java100 XmlResourceParser parser = (XmlResourceParser) Robolectric.buildAttributeSet() in buildAttrSet()
DShadowViewTest.java354 AttributeSet attrs = Robolectric.buildAttributeSet() in shouldAddOnClickListenerFromAttribute()
367 AttributeSet attrs = Robolectric.buildAttributeSet() in shouldCallOnClickWithAttribute()
380 AttributeSet attrs = Robolectric.buildAttributeSet() in shouldThrowExceptionWithBadMethodName()
DShadowContextTest.java250 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectric.java135 public static org.robolectric.android.AttributeSetBuilder buildAttributeSet() { in buildAttributeSet() method in Robolectric