Searched refs:foreignMessageBuilder (Results 1 – 1 of 1) sorted by relevance
307 ForeignMessageLite.Builder foreignMessageBuilder = in testSanityCopyOnWrite() local310 builder.setOptionalForeignMessage(foreignMessageBuilder); in testSanityCopyOnWrite()314 assertEquals(foreignMessageBuilder.build(), builder.getOptionalForeignMessage()); in testSanityCopyOnWrite()316 assertEquals(foreignMessageBuilder.build(), messageAfterBuild.getOptionalForeignMessage()); in testSanityCopyOnWrite()324 assertEquals(foreignMessageBuilder.build(), messageAfterBuild.getOptionalForeignMessage()); in testSanityCopyOnWrite()1102 builder.addRepeatedForeignMessage(foreignMessageBuilder); in testSanityCopyOnWrite()1107 assertEquals(foreignMessageBuilder.build(), messageAfterBuild.getRepeatedForeignMessage(0)); in testSanityCopyOnWrite()1117 builder.setRepeatedForeignMessage(0, foreignMessageBuilder); in testSanityCopyOnWrite()1120 assertEquals(foreignMessageBuilder.build(), builder.getRepeatedForeignMessage(0)); in testSanityCopyOnWrite()