Home
last modified time | relevance | path

Searched refs:fieldItem2 (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DSourceFieldItemTest.kt81 val fieldItem2 = classItem.assertField("field2") in test field with default value as constant expression() constant
84 assertEquals(91, fieldItem2.initialValue(true)) in test field with default value as constant expression()
85 assertEquals(91, fieldItem2.initialValue(false)) in test field with default value as constant expression()
113 val fieldItem2 = classItem.assertField("field2") in test field with default value as object reference() constant
117 assertEquals(null, fieldItem2.initialValue(true)) in test field with default value as object reference()
118 assertEquals(null, fieldItem2.initialValue(false)) in test field with default value as object reference()
203 val fieldItem2 = classItem.assertField("field2") in test non final field with default value as constant expression() constant
207 assertEquals(null, fieldItem2.initialValue(true)) in test non final field with default value as constant expression()
208 assertEquals(91, fieldItem2.initialValue(false)) in test non final field with default value as constant expression()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt283 val fieldItem2 = classItem1.assertField("var2") in 120 - check modifiers() constant
288 val fieldMod2 = fieldItem2.mutableModifiers() in 120 - check modifiers()
301 assertEquals(fieldItem2, fieldMod2.owner()) in 120 - check modifiers()
1012 val fieldItem2 = classItem.assertField("IntField") in 250 - test enum class and field() constant
1019 assertEquals(false, fieldItem2.isEnumConstant()) in 250 - test enum class and field()