Index: third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m |
diff --git a/third_party/protobuf/python/google/protobuf/internal/factory_test1.proto b/third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m |
similarity index 50% |
copy from third_party/protobuf/python/google/protobuf/internal/factory_test1.proto |
copy to third_party/protobuf/objectivec/Tests/GPBUnittestProtos.m |
index 9f55e037f6e69ff8e76a3f260eff006af1bcce65..50c4dfa9886edb7996406e24196bad971f3f9fd5 100644 |
--- a/third_party/protobuf/python/google/protobuf/internal/factory_test1.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,28 +28,32 @@ |
// (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: matthewtoia@google.com (Matt Toia) |
+// Collects all the compiled protos into one file and compiles them to make sure |
+// the compiler is generating valid code. |
- |
-package google.protobuf.python.internal; |
- |
- |
-enum Factory1Enum { |
- FACTORY_1_VALUE_0 = 0; |
- FACTORY_1_VALUE_1 = 1; |
-} |
- |
-message Factory1Message { |
- optional Factory1Enum factory_1_enum = 1; |
- enum NestedFactory1Enum { |
- NESTED_FACTORY_1_VALUE_0 = 0; |
- NESTED_FACTORY_1_VALUE_1 = 1; |
- } |
- optional NestedFactory1Enum nested_factory_1_enum = 2; |
- message NestedFactory1Message { |
- optional string value = 1; |
- } |
- optional NestedFactory1Message nested_factory_1_message = 3; |
- optional int32 scalar_value = 4; |
- repeated string list_value = 5; |
-} |
+#import "google/protobuf/MapProto2Unittest.pbobjc.m" |
+#import "google/protobuf/MapUnittest.pbobjc.m" |
+#import "google/protobuf/Unittest.pbobjc.m" |
+#import "google/protobuf/UnittestArena.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/UnittestMsetWireFormat.pbobjc.m" |
+#import "google/protobuf/UnittestNoArena.pbobjc.m" |
+#import "google/protobuf/UnittestNoArenaImport.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" |