Class: Conformance::TestCategory

Inherits:
Object
  • Object
show all
Extended by:
Protobug::Enum
Defined in:
lib/conformance/conformance_pb.rb

Constant Summary collapse

UNSPECIFIED_TEST =
new("UNSPECIFIED_TEST", 0).freeze
BINARY_TEST =

Test binary wire format.

new("BINARY_TEST", 1).freeze
JSON_TEST =

Test json wire format.

new("JSON_TEST", 2).freeze
JSON_IGNORE_UNKNOWN_PARSING_TEST =

Similar to JSON_TEST. However, during parsing json, testee should ignore unknown fields. This feature is optional. Each implementation can decide whether to support it. See developers.google.com/protocol-buffers/docs/proto3#json_options for more detail.

new(
  "JSON_IGNORE_UNKNOWN_PARSING_TEST",
  3
).freeze
JSPB_TEST =

Test jspb wire format. Only used inside Google. Opensource testees just skip it.

new("JSPB_TEST", 4).freeze
TEXT_FORMAT_TEST =

Test text format. For cpp, java and python, testees can already deal with this type. Testees of other languages can simply skip it.

new("TEXT_FORMAT_TEST", 5).freeze