Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
6b4b9869
Unverified
Commit
6b4b9869
authored
Apr 24, 2019
by
Hao Nguyen
Committed by
GitHub
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a new conformance test for top level JSON null (#5966)
* Add a new conformance test for top level JSON null
parent
64a483aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
binary_json_conformance_suite.cc
conformance/binary_json_conformance_suite.cc
+2
-0
failure_list_php_c.txt
conformance/failure_list_php_c.txt
+1
-0
failure_list_ruby.txt
conformance/failure_list_ruby.txt
+1
-0
failure_list_ruby_mac.txt
conformance/failure_list_ruby_mac.txt
+1
-0
No files found.
conformance/binary_json_conformance_suite.cc
View file @
6b4b9869
...
...
@@ -2452,6 +2452,8 @@ void BinaryAndJsonConformanceSuite::RunSuiteImpl() {
"unknown": {"a": 1}
})"
,
""
);
ExpectParseFailureForJson
(
"RejectTopLevelNull"
,
REQUIRED
,
"null"
);
}
}
// namespace protobuf
...
...
conformance/failure_list_php_c.txt
View file @
6b4b9869
...
...
@@ -43,3 +43,4 @@ Required.Proto3.ProtobufInput.DoubleFieldNormalizeSignalingNan.JsonOutput
Required.Proto3.ProtobufInput.FloatFieldNormalizeQuietNan.JsonOutput
Required.Proto3.ProtobufInput.FloatFieldNormalizeSignalingNan.JsonOutput
Required.Proto3.ProtobufInput.ValidDataRepeated.FLOAT.JsonOutput
Required.Proto3.JsonInput.RejectTopLevelNull
conformance/failure_list_ruby.txt
View file @
6b4b9869
...
...
@@ -65,3 +65,4 @@ Required.Proto3.JsonInput.IgnoreUnknownJsonNumber.ProtobufOutput
Required.Proto3.JsonInput.IgnoreUnknownJsonObject.ProtobufOutput
Required.Proto3.JsonInput.IgnoreUnknownJsonString.ProtobufOutput
Required.Proto3.JsonInput.IgnoreUnknownJsonTrue.ProtobufOutput
Required.Proto3.JsonInput.RejectTopLevelNull
conformance/failure_list_ruby_mac.txt
View file @
6b4b9869
...
...
@@ -70,3 +70,4 @@ Required.Proto3.JsonInput.IgnoreUnknownJsonObject.ProtobufOutput
Required.Proto3.JsonInput.IgnoreUnknownJsonString.ProtobufOutput
Required.Proto3.JsonInput.IgnoreUnknownJsonTrue.ProtobufOutput
Recommended.Proto3.JsonInput.FieldMaskInvalidCharacter
Required.Proto3.JsonInput.RejectTopLevelNull
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment