hpb: test protos proto3 cleanup

PiperOrigin-RevId: 695407312
pull/19185/head
Hong Shin 4 months ago committed by Copybara-Service
parent 8200479958
commit 24de58860f
  1. 17
      csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs
  2. 6
      hpb_generator/tests/child_model.proto
  3. 2
      hpb_generator/tests/legacy-name.proto
  4. 2
      hpb_generator/tests/no_package_enum_user.proto

@ -1,17 +0,0 @@
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#endregion
namespace Google.Protobuf.Reflection;
internal sealed partial class FeatureSetDescriptor
{
// Canonical serialized form of the edition defaults, generated by embed_edition_defaults.
private const string DefaultsBase64 =
"ChMYhAciACoMCAEQAhgCIAMoATACChMY5wciACoMCAIQARgBIAIoATABChMY6AciDAgBEAEYASACKAEwASoAIOYHKOgH";
}

@ -17,11 +17,11 @@ message ChildModel1 {
}
message ChildModel3 {
string sub_key = 1 [features.field_presence = IMPLICIT];
string sub_key = 1;
bool bool1 = 2 [features.field_presence = IMPLICIT];
bool bool1 = 2;
int32 i32 = 3 [features.field_presence = IMPLICIT];
int32 i32 = 3;
string opt_str = 4;
bool opt_bool = 5;

@ -9,8 +9,6 @@ edition = "2023";
package hpb_unittest;
// option java_multiple_files = true;
enum LegacyEnum {
PHASE_DEFAULT = 0;
PHASE_BUSY = 1;

@ -11,8 +11,6 @@ package hpb_unittest;
import "google/protobuf/compiler/hpb/tests/no_package.proto";
// option java_multiple_files = true;
message MyMessage {
MessageWithEnumUpbTest my_type = 1;
}

Loading…
Cancel
Save