Przeglądaj źródła

Remove stale comment (#6552)

Proto2 has been tested for invalid cases. Check implementation of
ExpectParseFailureForProto (https://github.com/protocolbuffers/protobuf/blob/master/conformance/binary_json_conformance_suite.cc#L322)
Paul Yang 6 lat temu
rodzic
commit
d79d368ff1
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      conformance/binary_json_conformance_suite.cc

+ 0 - 2
conformance/binary_json_conformance_suite.cc

@@ -524,7 +524,6 @@ void BinaryAndJsonConformanceSuite::ExpectSerializeFailureForJson(
   }
   }
 }
 }
 
 
-//TODO: proto2?
 void BinaryAndJsonConformanceSuite::TestPrematureEOFForType(
 void BinaryAndJsonConformanceSuite::TestPrematureEOFForType(
     FieldDescriptor::Type type) {
     FieldDescriptor::Type type) {
   // Incomplete values for each wire type.
   // Incomplete values for each wire type.
@@ -827,7 +826,6 @@ void BinaryAndJsonConformanceSuite::TestValidDataForRepeatedScalarMessage() {
   }
   }
 }
 }
 
 
-// TODO: proto2?
 void BinaryAndJsonConformanceSuite::TestIllegalTags() {
 void BinaryAndJsonConformanceSuite::TestIllegalTags() {
   // field num 0 is illegal
   // field num 0 is illegal
   string nullfield[] = {
   string nullfield[] = {