| Index: third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m
|
| diff --git a/third_party/protobuf/python/google/protobuf/internal/more_extensions.proto b/third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m
|
| similarity index 54%
|
| copy from third_party/protobuf/python/google/protobuf/internal/more_extensions.proto
|
| copy to third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m
|
| index e2d97010450d32f2d1dd7b3ec0d2d05bf93435cb..0a3fc583290585800830a8e2f5c4065b0b0b2af2 100644
|
| --- a/third_party/protobuf/python/google/protobuf/internal/more_extensions.proto
|
| +++ b/third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m
|
| @@ -1,6 +1,6 @@
|
| // Protocol Buffers - Google's data interchange format
|
| // Copyright 2008 Google Inc. All rights reserved.
|
| -// http://code.google.com/p/protobuf/
|
| +// https://developers.google.com/protocol-buffers/
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -28,31 +28,28 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Author: robinson@google.com (Will Robinson)
|
| -
|
| -
|
| -package google.protobuf.internal;
|
| -
|
| -
|
| -message TopLevelMessage {
|
| - optional ExtendedMessage submessage = 1;
|
| -}
|
| -
|
| -
|
| -message ExtendedMessage {
|
| - extensions 1 to max;
|
| -}
|
| -
|
| -
|
| -message ForeignMessage {
|
| - optional int32 foreign_message_int = 1;
|
| -}
|
| -
|
| -
|
| -extend ExtendedMessage {
|
| - optional int32 optional_int_extension = 1;
|
| - optional ForeignMessage optional_message_extension = 2;
|
| -
|
| - repeated int32 repeated_int_extension = 3;
|
| - repeated ForeignMessage repeated_message_extension = 4;
|
| -}
|
| +// Collects all the compiled protos into one file and compiles them to make sure
|
| +// the compiler is generating valid code.
|
| +
|
| +#import "google/protobuf/MapProto2Unittest.pbobjc.m"
|
| +#import "google/protobuf/MapUnittest.pbobjc.m"
|
| +#import "google/protobuf/Unittest.pbobjc.m"
|
| +#import "google/protobuf/UnittestCustomOptions.pbobjc.m"
|
| +#import "google/protobuf/UnittestCycle.pbobjc.m"
|
| +#import "google/protobuf/UnittestDropUnknownFields.pbobjc.m"
|
| +#import "google/protobuf/UnittestEmbedOptimizeFor.pbobjc.m"
|
| +#import "google/protobuf/UnittestEmpty.pbobjc.m"
|
| +#import "google/protobuf/UnittestEnormousDescriptor.pbobjc.m"
|
| +#import "google/protobuf/UnittestImport.pbobjc.m"
|
| +#import "google/protobuf/UnittestImportLite.pbobjc.m"
|
| +#import "google/protobuf/UnittestImportPublic.pbobjc.m"
|
| +#import "google/protobuf/UnittestImportPublicLite.pbobjc.m"
|
| +#import "google/protobuf/UnittestLite.pbobjc.m"
|
| +#import "google/protobuf/UnittestMset.pbobjc.m"
|
| +#import "google/protobuf/UnittestNoGenericServices.pbobjc.m"
|
| +#import "google/protobuf/UnittestObjc.pbobjc.m"
|
| +#import "google/protobuf/UnittestObjcStartup.pbobjc.m"
|
| +#import "google/protobuf/UnittestOptimizeFor.pbobjc.m"
|
| +#import "google/protobuf/UnittestPreserveUnknownEnum.pbobjc.m"
|
| +#import "google/protobuf/UnittestRuntimeProto2.pbobjc.m"
|
| +#import "google/protobuf/UnittestRuntimeProto3.pbobjc.m"
|
|
|