Searched refs:extendableMessage (Results 1 – 2 of 2) sorted by relevance
3074 Extensions.ExtendableMessage extendableMessage = new Extensions.ExtendableMessage(); in testExtensionsMutation() local3075 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() local3086 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 …]
1378 TestAllExtensionsLite extendableMessage = extendableMessageBuilder.build(); in testSanityCopyOnWrite() local1381 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 …]