aboutsummaryrefslogtreecommitdiff
path: root/conformance/conformance.proto
Commit message (Collapse)AuthorAgeFilesLines
* Add more JSON tests around underscores (#1963)Thomas Van Lenten2016-08-161-0/+7
| | | | Add more JSON tests around underscores
* Add more types to the zero oneof cases.Thomas Van Lenten2016-08-111-0/+5
| | | | | | Incase the different runtimes have different generation/implementations for for the different primitive field types, cover a larger range of the proto types in the oneof zero tests.
* Down-integrate from internal code base.Feng Xiao2015-12-111-0/+61
|
* Added support for Json and valid input to conformance tests.Josh Haberman2015-07-101-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | This was enabled by the recent open-sourcing of JSON support and MessageDifferencer. MessageDifferencer allows the conformance suite to expand because it allows us to write tests for payloads that parse successfully. To verify the testee's output payload, we need to parse it back into a message and compare the message instances. Comparing output bytes vs. a golden message is *not* valid, because protobufs do not have a canonical encoding (especially in the presence of maps, which have no prescribed serialization order). We only add one small JSON test for now, but with the framework in place we now have the foundation to dramatically expand the coverage of the conformance test suite. Also added the ability for the testee to skip tests that exercise features that are unimplemented. This allows Java (which currently has no JSON support) to skip tests involving JSON. Change-Id: I697b4363da432b61ae3b638b4287c4cda1af4deb
* down-integrate internal changesBo Yang2015-05-211-38/+30
|
* Added conformance test support for Java.Josh Haberman2015-04-161-0/+1
| | | | Change-Id: I4c81808e6ace77d2b5737a43417045321b0b10f0
* Factored conformance tests so they can run in-process.Josh Haberman2015-04-151-17/+13
| | | | | | This is necessary for testing on iOS. Change-Id: I54ec1e3aa2e9fbfff9a6cd6580920a6a62069b63
* Added first version of conformance tests.Josh Haberman2015-04-081-0/+219
Change-Id: Ib75664194491643f8e4f1503a2ed942a2d1e1655