|
|
|
@ -38,13 +38,6 @@ |
|
|
|
|
|
|
|
|
|
syntax = "proto2"; |
|
|
|
|
|
|
|
|
|
// 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; |
|
|
|
|
|
|
|
|
|
import "unittest_import.proto"; |
|
|
|
|
|
|
|
|
|
// We don't put this in a package within proto2 because we need to make sure |
|
|
|
@ -52,13 +45,6 @@ import "unittest_import.proto"; |
|
|
|
|
// In test_util.h we do "using namespace unittest = objc.protobuf.tests". |
|
|
|
|
package objc.protobuf.tests; |
|
|
|
|
|
|
|
|
|
// 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 { |
|
|
|
|