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: kenton@google.com (Kenton Varda) 9 // Based on original Protocol Buffers design by 10 // Sanjay Ghemawat, Jeff Dean, and others. 11 12 #include "google/protobuf/wire_format.h" 13 14 #include <cstddef> 15 #include <cstdint> 16 #include <string> 17 18 #include "google/protobuf/unittest.pb.h" 19 #include "google/protobuf/unittest_mset.pb.h" 20 #include "google/protobuf/unittest_mset_wire_format.pb.h" 21 #include "google/protobuf/unittest_proto3_arena.pb.h" 22 #include "google/protobuf/wire_format_lite.h" 23 #include <gtest/gtest.h> 24 25 #define UNITTEST ::protobuf_unittest 26 #define UNITTEST_IMPORT ::protobuf_unittest_import 27 #define UNITTEST_PACKAGE_NAME "protobuf_unittest" 28 #define PROTO2_WIREFORMAT_UNITTEST ::proto2_wireformat_unittest 29 #define PROTO3_ARENA_UNITTEST ::proto3_arena_unittest 30 31 // Must include after defining UNITTEST, etc. 32 // clang-format off 33 #include "google/protobuf/test_util.inc" 34 #include "google/protobuf/wire_format_unittest.inc" 35 // clang-format on 36 37 // Must be included last. 38 #include "google/protobuf/port_def.inc" 39 40 namespace google { 41 namespace protobuf { 42 namespace internal { 43 namespace { 44 45 46 } // namespace 47 } // namespace internal 48 } // namespace protobuf 49 } // namespace google 50 51 #include "google/protobuf/port_undef.inc" 52