aboutsummaryrefslogtreecommitdiff
path: root/conformance/conformance.proto
Commit message (Collapse)AuthorAgeFilesLines
* Down-integrate from google3.Feng Xiao2018-08-081-1/+16
|
* Enable ignoring unknown in json parsing in php (#4839)Paul Yang2018-07-091-0/+2
| | | | | | | | | | * Enable ignoring unknown in json parsing in php * Update generated descriptor files * Update failure list for other languages. * Remove unnecessary php files
* Update the comment on the message_type to cover what it should be.Thomas Van Lenten2017-07-261-1/+3
|
* add message set test caseYilun Chong2017-06-281-0/+1
|
* add support for proto2Yilun Chong2017-06-261-0/+2
|
* Factored Conformance and Benchmark test messages into shared test schema. ↵Joshua Haberman2016-12-031-178/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1971) * Factored Conformance test messages into shared test schema. * Updated benchmarks to use new proto3 message locations. * Fixed include path. * Conformance: fixed include of Python test messages. * Make maven in Rakefile use --batch-mode. * Revert changes to benchmarks. On second thought I think a separate schema for CPU benchmarking makes sense. * Try regenerating C# protos for new test protos. * Removed benchmark messages from test proto. * Added Jon Skeet's fixes for C#. * Removed duplicate/old test messages C# file. * C# fixes for test schema move. * Fixed C# to use the correct TestAllTypes message. * Fixes for Objective C test schema move. * Added missing EXTRA_DIST file.
* 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