Home
last modified time | relevance | path

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

/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java3074 Extensions.ExtendableMessage extendableMessage = new Extensions.ExtendableMessage(); in testExtensionsMutation() local
3075 extendableMessage.setExtension(SingularExtensions.someMessage, in testExtensionsMutation()
3078 extendableMessage.getExtension(SingularExtensions.someMessage).string = "not empty"; in testExtensionsMutation()
3081 extendableMessage.getExtension(SingularExtensions.someMessage).string); in testExtensionsMutation()
3085 Extensions.ExtendableMessage extendableMessage = new Extensions.ExtendableMessage(); in testExtensionsMutation_Equals() local
3086 extendableMessage.field = 5; in testExtensionsMutation_Equals()
3115 extendableMessage.setExtension(SingularExtensions.someInt32, int32); in testExtensionsMutation_Equals()
3116 extendableMessage.setExtension(RepeatedExtensions.repeatedUint32, uint32s); in testExtensionsMutation_Equals()
3117 extendableMessage.setExtension(RepeatedExtensions.repeatedSint32, sint32s); in testExtensionsMutation_Equals()
3118 extendableMessage.setExtension(RepeatedExtensions.repeatedInt64, int64s); in testExtensionsMutation_Equals()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteTest.java1378 TestAllExtensionsLite extendableMessage = extendableMessageBuilder.build(); in testSanityCopyOnWrite() local
1381 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
1383 extendableMessage = extendableMessageBuilder.build(); in testSanityCopyOnWrite()
1388 1, (int) extendableMessage.getExtension( in testSanityCopyOnWrite()
1396 1, (int) extendableMessage.getExtension( in testSanityCopyOnWrite()
1398 extendableMessage = extendableMessageBuilder.build(); in testSanityCopyOnWrite()
1403 3, (int) extendableMessage.getExtension( in testSanityCopyOnWrite()
1407 extendableMessage = in testSanityCopyOnWrite()
1408 TestAllExtensionsLite.parseFrom(extendableMessage.toByteArray()); in testSanityCopyOnWrite()
1409 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
[all …]