1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2008 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 // Author: tgs@google.com (Tom Szymanski) 9 // 10 // Test reflection methods for aggregate access to Repeated[Ptr]Fields. 11 // This test proto2 methods on a proto2 layout. 12 13 #include "google/protobuf/unittest.pb.h" // IWYU pragma: keep, used in UNITTEST 14 15 #define REFLECTION_TEST RepeatedFieldReflectionTest 16 #define UNITTEST_PACKAGE_NAME "protobuf_unittest" 17 #define UNITTEST ::protobuf_unittest 18 #define UNITTEST_IMPORT ::protobuf_unittest_import 19 20 // Must include after the above macros. 21 // clang-format off 22 #include "google/protobuf/test_util.inc" 23 #include "google/protobuf/repeated_field_reflection_unittest.inc" 24 // clang-format on 25