Lines Matching refs:message2
1992 unittest::TestMap message1, message2; in TEST() local
1995 message2.CopyFrom(message1); in TEST()
1996 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
1999 message2.CopyFrom(message2); in TEST()
2000 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2004 unittest::TestMessageMap message1, message2; in TEST() local
2007 (*message2.mutable_map_int32_message())[0].add_repeated_int32(101); in TEST()
2009 message1.CopyFrom(message2); in TEST()
2017 unittest::TestMap message1, message2; in TEST() local
2021 MapTestUtil::ExpectClear(message2); in TEST()
2023 message1.Swap(&message2); in TEST()
2024 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2039 unittest::TestMap message1, message2; in TEST() local
2042 MapTestUtil::SetMapFields(&message2); in TEST()
2043 MapTestUtil::ModifyMapFields(&message2); in TEST()
2045 message1.Swap(&message2); in TEST()
2047 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2054 unittest::TestMap message2(message1); in TEST() local
2055 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2062 unittest::TestMap message2; in TEST() local
2063 message2 = message1; in TEST()
2064 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2067 message2.operator=(message2); in TEST()
2068 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2075 unittest::TestMap message1, message2; in TEST() local
2080 message2.CopyFrom(*source); in TEST()
2082 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2091 unittest::TestMap message2; in TEST() local
2101 message2.CopyFrom(*message1); in TEST()
2102 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2106 unittest::TestMap message2; in TEST() local
2116 message2.CopyFrom(*message1); in TEST()
2117 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2129 std::unique_ptr<Message> message2; in TEST() local
2130 message2.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
2131 reflection_tester.SetMapFieldsViaMapReflection(message2.get()); in TEST()
2139 message2->MergeFrom(*message1); in TEST()
2146 TextFormat::PrintToString(*message2, &output2); in TEST()
2154 unittest::TestMap message2; in TEST() local
2155 MapTestUtil::SetMapFields(&message2); in TEST()
2163 message1->MergeFrom(message2); in TEST()
2170 unittest::TestMap message2; in TEST() local
2171 reflection_tester.SetMapFieldsViaMapReflection(&message2); in TEST()
2178 message1->MergeFrom(message2); in TEST()
2197 unittest::TestMap message1, message2; in TEST() local
2202 (*message2.mutable_map_int32_int32())[1] = 1; in TEST()
2206 (*message2.mutable_map_int32_double())[1] = 1; in TEST()
2209 message1.MergeFrom(message2); in TEST()
2215 MapTestUtil::SetMapFields(&message2); in TEST()
2217 message2.MergeFrom(message1); in TEST()
2221 TextFormat::PrintToString(message2, &output2); in TEST()
2226 unittest::TestMessageMap message1, message2; in TEST() local
2229 (*message2.mutable_map_int32_message())[0].add_repeated_int32(101); in TEST()
2231 message1.MergeFrom(message2); in TEST()
2240 unittest::TestMap message1, message2; in TEST() local
2248 EXPECT_TRUE(message2.ParseFromString(data)); in TEST()
2249 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2254 unittest::TestMap message1, message2; in TEST() local
2267 EXPECT_TRUE(message2.ParseFromString(data)); in TEST()
2268 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2604 unittest::TestMap message2; in TEST() local
2609 reflection->Swap(&message1, &message2); in TEST()
2612 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2617 unittest::TestMap message2; in TEST() local
2620 MapTestUtil::SetMapFields(&message2); in TEST()
2621 MapTestUtil::ModifyMapFields(&message2); in TEST()
2624 reflection->Swap(&message1, &message2); in TEST()
2627 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2632 unittest::TestMap message2; in TEST() local
2634 MapTestUtil::SetMapFields(&message2); in TEST()
2638 reflection->ListFields(message2, &fields); in TEST()
2639 reflection->SwapFields(&message1, &message2, fields); in TEST()
2642 MapTestUtil::ExpectClear(message2); in TEST()
2967 unittest::TestMap message, message2; in TEST() local
2971 ReflectionOps::Copy(message, &message2); in TEST()
2973 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2976 ReflectionOps::Copy(message2, &message2); in TEST()
2977 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()
2984 unittest::TestMap message, message2; in TEST() local
2988 ReflectionOps::Merge(message2, &message); in TEST()
3131 std::unique_ptr<Message> message2; in TEST() local
3132 message2.reset(factory.GetPrototype(unittest::TestMap::descriptor())->New()); in TEST()
3133 reflection_tester.SetMapFieldsViaMapReflection(message2.get()); in TEST()
3141 dynamic_message->MergeFrom(*message2); in TEST()
3142 dynamic_message->MergeFrom(*message2); in TEST()
3390 unittest::TestMap message2; in TEST() local
3391 tester.SetMapFieldsViaReflection(&message2); in TEST()
3392 tester.SwapMapsViaReflection(&message2); in TEST()
3393 EXPECT_EQ(message2.DebugString(), expected_text); in TEST()
3560 unittest::TestMap message2; in TEST() local
3569 message2.CopyFrom(*message1); in TEST()
3570 MapTestUtil::ExpectMapFieldsSet(message2); in TEST()