Home
last modified time | relevance | path

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

/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleDataClassTest.java57 private SampleDataClass mSpecimen = newBuilder().build(); field in SampleDataClassTest
76 SampleDataClass copy = parcelAndUnparcel(mSpecimen, SampleDataClass.CREATOR); in testParcelling_producesEqualInstance()
77 assertEquals(mSpecimen, copy); in testParcelling_producesEqualInstance()
78 assertEquals(mSpecimen.hashCode(), copy.hashCode()); in testParcelling_producesEqualInstance()
83 SampleDataClass copy = parcelAndUnparcel(mSpecimen, SampleDataClass.CREATOR); in testParcelling_producesInstanceWithEqualFields()
85 mSpecimen.forEachField((self2, specimenFieldName, specimenFieldValue) -> { in testParcelling_producesInstanceWithEqualFields()
99 parcelAndUnparcel(mSpecimen, SampleDataClass.CREATOR); in testCustomParcelling_instanceIsCached()
100 parcelAndUnparcel(mSpecimen, SampleDataClass.CREATOR); in testCustomParcelling_instanceIsCached()
106 assertEquals(new Date(42 * 42), mSpecimen.getDate()); in testDefaultFieldValue_isPropagated()
112 mSpecimen.forEachField( in testForEachField_avoidsBoxing()
[all …]