diff options
Diffstat (limited to 'conformance/conformance_test.h')
-rw-r--r-- | conformance/conformance_test.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/conformance/conformance_test.h b/conformance/conformance_test.h index d1a822eb..4882412c 100644 --- a/conformance/conformance_test.h +++ b/conformance/conformance_test.h @@ -167,6 +167,13 @@ class ConformanceTestSuite { const string& equivalent_text_format, conformance::WireFormat requested_output, bool isProto3); + void RunValidBinaryInputTest(const string& test_name, + ConformanceLevel level, + const string& input, + conformance::WireFormat input_format, + const string& equivalent_wire_format, + conformance::WireFormat requested_output, + bool isProto3); void RunValidJsonTest(const string& test_name, ConformanceLevel level, const string& input_json, @@ -180,6 +187,10 @@ class ConformanceTestSuite { const string& input_protobuf, const string& equivalent_text_format, bool isProto3); + void RunValidBinaryProtobufTest(const string& test_name, + ConformanceLevel level, + const string& input_protobuf, + bool isProto3); void RunValidProtobufTestWithMessage( const string& test_name, ConformanceLevel level, const Message *input, @@ -212,6 +223,9 @@ class ConformanceTestSuite { template <class MessageType> void TestOneofMessage (MessageType &message, bool isProto3); + template <class MessageType> + void TestUnknownMessage (MessageType &message, + bool isProto3); void TestValidDataForType( google::protobuf::FieldDescriptor::Type, std::vector<std::pair<std::string, std::string>> values); |