diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-11-13 09:31:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 09:31:28 -0800 |
commit | 188f18044feb1ca82ecc922f3e59e37078473ddf (patch) | |
tree | d47aff9f88bc90df1a88823a291487f90e472d5f /conformance | |
parent | fe2b4af3d1b421bd2354dbe59fab942c01ab2067 (diff) | |
download | protobuf-188f18044feb1ca82ecc922f3e59e37078473ddf.tar.gz protobuf-188f18044feb1ca82ecc922f3e59e37078473ddf.tar.bz2 protobuf-188f18044feb1ca82ecc922f3e59e37078473ddf.zip |
All integer types should accept null in json. (#3869)
Diffstat (limited to 'conformance')
-rw-r--r-- | conformance/conformance_test.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/conformance/conformance_test.cc b/conformance/conformance_test.cc index c54d4ccd..98c2eae4 100644 --- a/conformance/conformance_test.cc +++ b/conformance/conformance_test.cc @@ -1842,6 +1842,14 @@ bool ConformanceTestSuite::RunSuite(ConformanceTestRunner* runner, "optionalInt64": null, "optionalUint32": null, "optionalUint64": null, + "optionalSint32": null, + "optionalSint64": null, + "optionalFixed32": null, + "optionalFixed64": null, + "optionalSfixed32": null, + "optionalSfixed64": null, + "optionalFloat": null, + "optionalDouble": null, "optionalBool": null, "optionalString": null, "optionalBytes": null, @@ -1851,6 +1859,14 @@ bool ConformanceTestSuite::RunSuite(ConformanceTestRunner* runner, "repeatedInt64": null, "repeatedUint32": null, "repeatedUint64": null, + "repeatedSint32": null, + "repeatedSint64": null, + "repeatedFixed32": null, + "repeatedFixed64": null, + "repeatedSfixed32": null, + "repeatedSfixed64": null, + "repeatedFloat": null, + "repeatedDouble": null, "repeatedBool": null, "repeatedString": null, "repeatedBytes": null, |