diff options
author | Jon Skeet <jonskeet@google.com> | 2017-11-13 09:05:05 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2017-11-14 07:31:59 +0000 |
commit | 91ff83c024be36e2f2728c30cd7eedcec9220d1a (patch) | |
tree | 78a53ac5cce838cc4bb0b4087addabc7d00dfa70 /csharp/protos/unittest_proto3.proto | |
parent | d3537c24ffde7c28bd8a8abe576747613b8e3afc (diff) | |
download | protobuf-91ff83c024be36e2f2728c30cd7eedcec9220d1a.tar.gz protobuf-91ff83c024be36e2f2728c30cd7eedcec9220d1a.tar.bz2 protobuf-91ff83c024be36e2f2728c30cd7eedcec9220d1a.zip |
Remove non-C# options from C#-only test protos
Diffstat (limited to 'csharp/protos/unittest_proto3.proto')
-rw-r--r-- | csharp/protos/unittest_proto3.proto | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/csharp/protos/unittest_proto3.proto b/csharp/protos/unittest_proto3.proto index 2277bb50..d22265cc 100644 --- a/csharp/protos/unittest_proto3.proto +++ b/csharp/protos/unittest_proto3.proto @@ -36,28 +36,16 @@ syntax = "proto3"; -// Some generic_services option(s) added automatically. -// See: http://go/proto2-generic-services-default -option cc_generic_services = true; // auto-added -option java_generic_services = true; // auto-added -option py_generic_services = true; // auto-added -option cc_enable_arenas = true; option csharp_namespace = "Google.Protobuf.TestProtos"; +// Only present so we can test that we can read it (as an example +// of a non-C# option) +option java_outer_classname = "UnittestProto"; + import "unittest_import_proto3.proto"; -// We don't put this in a package within proto2 because we need to make sure -// that the generated code doesn't depend on being in the proto2 namespace. -// In test_util.h we do "using namespace unittest = protobuf_unittest". package protobuf_unittest3; -// Protos optimized for SPEED use a strict superset of the generated code -// of equivalent ones optimized for CODE_SIZE, so we should optimize all our -// tests for speed unless explicitly testing code size optimization. -option optimize_for = SPEED; - -option java_outer_classname = "UnittestProto"; - // This proto includes every type of field in both singular and repeated // forms. message TestAllTypes { |