@@ -935,7 +935,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForType(
935935 MessageType test_message;
936936 ABSL_CHECK (test_message.MergeFromString (expected_proto));
937937 std::string text;
938- TextFormat::PrintToString (test_message, &text);
938+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
939939
940940 RunValidProtobufTest (
941941 absl::StrCat (" ValidDataScalar" , type_name, " [" , i, " ]" ), REQUIRED,
@@ -958,7 +958,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForType(
958958 MessageType test_message;
959959 ABSL_CHECK (test_message.MergeFromString (expected_proto));
960960 std::string text;
961- TextFormat::PrintToString (test_message, &text);
961+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
962962
963963 RunValidProtobufTest (absl::StrCat (" RepeatedScalarSelectsLast" , type_name),
964964 REQUIRED, proto, text);
@@ -1019,7 +1019,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForType(
10191019 MessageType test_message;
10201020 ABSL_CHECK (test_message.MergeFromString (default_proto_packed_expected));
10211021 std::string text;
1022- TextFormat::PrintToString (test_message, &text);
1022+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
10231023
10241024 // Ensures both packed and unpacked data can be parsed.
10251025 RunValidProtobufTest (
@@ -1070,7 +1070,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForType(
10701070 MessageType test_message;
10711071 ABSL_CHECK (test_message.MergeFromString (expected_proto));
10721072 std::string text;
1073- TextFormat::PrintToString (test_message, &text);
1073+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
10741074
10751075 RunValidProtobufTest (absl::StrCat (" ValidDataRepeated" , type_name), REQUIRED,
10761076 proto, text);
@@ -1150,7 +1150,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
11501150 MessageType test_message;
11511151 ABSL_CHECK (test_message.MergeFromString (proto));
11521152 std::string text;
1153- TextFormat::PrintToString (test_message, &text);
1153+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
11541154 RunValidProtobufTest (absl::StrCat (" ValidDataMap" , key_type_name,
11551155 value_type_name, " .Default" ),
11561156 REQUIRED, proto, text);
@@ -1164,7 +1164,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
11641164 MessageType test_message;
11651165 ABSL_CHECK (test_message.MergeFromString (proto));
11661166 std::string text;
1167- TextFormat::PrintToString (test_message, &text);
1167+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
11681168 RunValidProtobufTest (absl::StrCat (" ValidDataMap" , key_type_name,
11691169 value_type_name, " .MissingDefault" ),
11701170 REQUIRED, proto, text);
@@ -1178,7 +1178,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
11781178 MessageType test_message;
11791179 ABSL_CHECK (test_message.MergeFromString (proto));
11801180 std::string text;
1181- TextFormat::PrintToString (test_message, &text);
1181+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
11821182 RunValidProtobufTest (absl::StrCat (" ValidDataMap" , key_type_name,
11831183 value_type_name, " .NonDefault" ),
11841184 REQUIRED, proto, text);
@@ -1192,7 +1192,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
11921192 MessageType test_message;
11931193 ABSL_CHECK (test_message.MergeFromString (proto));
11941194 std::string text;
1195- TextFormat::PrintToString (test_message, &text);
1195+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
11961196 RunValidProtobufTest (absl::StrCat (" ValidDataMap" , key_type_name,
11971197 value_type_name, " .Unordered" ),
11981198 REQUIRED, proto, text);
@@ -1210,7 +1210,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
12101210 MessageType test_message;
12111211 ABSL_CHECK (test_message.MergeFromString (proto2));
12121212 std::string text;
1213- TextFormat::PrintToString (test_message, &text);
1213+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
12141214 RunValidProtobufTest (absl::StrCat (" ValidDataMap" , key_type_name,
12151215 value_type_name, " .DuplicateKey" ),
12161216 REQUIRED, proto, text);
@@ -1224,7 +1224,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
12241224 MessageType test_message;
12251225 ABSL_CHECK (test_message.MergeFromString (proto));
12261226 std::string text;
1227- TextFormat::PrintToString (test_message, &text);
1227+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
12281228 RunValidProtobufTest (
12291229 absl::StrCat (" ValidDataMap" , key_type_name, value_type_name,
12301230 " .DuplicateKeyInMapEntry" ),
@@ -1239,7 +1239,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForMapType(
12391239 MessageType test_message;
12401240 ABSL_CHECK (test_message.MergeFromString (proto));
12411241 std::string text;
1242- TextFormat::PrintToString (test_message, &text);
1242+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
12431243 RunValidProtobufTest (
12441244 absl::StrCat (" ValidDataMap" , key_type_name, value_type_name,
12451245 " .DuplicateValueInMapEntry" ),
@@ -1282,7 +1282,7 @@ void BinaryAndJsonConformanceSuiteImpl<
12821282 MessageType test_message;
12831283 ABSL_CHECK (test_message.MergeFromString (proto2));
12841284 std::string text;
1285- TextFormat::PrintToString (test_message, &text);
1285+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
12861286 RunValidProtobufTest (" ValidDataMap.STRING.MESSAGE.MergeValue" , REQUIRED,
12871287 proto, text);
12881288}
@@ -1307,7 +1307,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForOneofType(
13071307 MessageType test_message;
13081308 ABSL_CHECK (test_message.MergeFromString (proto));
13091309 std::string text;
1310- TextFormat::PrintToString (test_message, &text);
1310+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
13111311
13121312 RunValidProtobufTest (
13131313 absl::StrCat (" ValidDataOneof" , type_name, " .DefaultValue" ), REQUIRED,
@@ -1323,7 +1323,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForOneofType(
13231323 MessageType test_message;
13241324 ABSL_CHECK (test_message.MergeFromString (proto));
13251325 std::string text;
1326- TextFormat::PrintToString (test_message, &text);
1326+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
13271327
13281328 RunValidProtobufTest (
13291329 absl::StrCat (" ValidDataOneof" , type_name, " .NonDefaultValue" ), REQUIRED,
@@ -1340,7 +1340,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForOneofType(
13401340 MessageType test_message;
13411341 ABSL_CHECK (test_message.MergeFromString (expected_proto));
13421342 std::string text;
1343- TextFormat::PrintToString (test_message, &text);
1343+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
13441344
13451345 RunValidProtobufTest (absl::StrCat (" ValidDataOneof" , type_name,
13461346 " .MultipleValuesForSameField" ),
@@ -1366,7 +1366,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestValidDataForOneofType(
13661366 MessageType test_message;
13671367 ABSL_CHECK (test_message.MergeFromString (expected_proto));
13681368 std::string text;
1369- TextFormat::PrintToString (test_message, &text);
1369+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
13701370
13711371 RunValidProtobufTest (absl::StrCat (" ValidDataOneof" , type_name,
13721372 " .MultipleValuesForDifferentField" ),
@@ -1415,7 +1415,7 @@ void BinaryAndJsonConformanceSuiteImpl<MessageType>::TestMergeOneofMessage() {
14151415 MessageType test_message;
14161416 ABSL_CHECK (test_message.MergeFromString (expected_proto));
14171417 std::string text;
1418- TextFormat::PrintToString (test_message, &text);
1418+ ABSL_CHECK ( TextFormat::PrintToString (test_message, &text) );
14191419 RunValidProtobufTest (" ValidDataOneof.MESSAGE.Merge" , REQUIRED, proto, text);
14201420 RunValidBinaryProtobufTest (" ValidDataOneofBinary.MESSAGE.Merge" , RECOMMENDED,
14211421 proto, expected_proto);
0 commit comments