Index: third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.m |
diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto b/third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.m |
similarity index 79% |
copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto |
copy to third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.m |
index 18c59cbb96308c72f0a1d432a2ef79d81fccbdb6..08735a0068284682ca0f4d565a433d95bf9cacef 100644 |
--- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto |
+++ b/third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.m |
@@ -1,5 +1,5 @@ |
// Protocol Buffers - Google's data interchange format |
-// Copyright 2008 Google Inc. All rights reserved. |
+// Copyright 2016 Google Inc. All rights reserved. |
// https://developers.google.com/protocol-buffers/ |
// |
// Redistribution and use in source and binary forms, with or without |
@@ -28,26 +28,21 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Proto to test Proto3 Any serialization. |
-syntax = "proto3"; |
+#import "AppDelegate.h" |
-package google.protobuf.testing.anys; |
-option java_package = "com.google.protobuf.testing.anys"; |
+@interface AppDelegate () |
-import "google/protobuf/any.proto"; |
+@property (weak) IBOutlet NSWindow *window; |
+@end |
-message AnyIn { |
- string something = 1; |
-} |
+@implementation AppDelegate |
-message AnyOut { |
- google.protobuf.Any any = 1; |
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { |
+ // Insert code here to initialize your application |
} |
-message AnyM { |
- string foo = 1; |
+- (void)applicationWillTerminate:(NSNotification *)aNotification { |
+ // Insert code here to tear down your application |
} |
-service TestService { |
- rpc Call(AnyIn) returns (AnyOut); |
-} |
+@end |