aboutsummaryrefslogtreecommitdiffhomepage
path: root/conformance
Commit message (Collapse)AuthorAge
* Fixed several Ruby conformance test cases through upb update.Gravatar Josh Haberman2015-08-12
| | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
* Validate that after reading a message, we've consumed as many bytes as we ↵Gravatar Jon Skeet2015-08-05
| | | | | | expected to. We should now have no conformance failures.
* Added C# conformance tests.Gravatar Jon Skeet2015-08-05
| | | | | | | The tests are run from Travis in the same way as on other platforms. Currently some expected failures - but only expected in that they're what we got to start with. Will try to fix them in other pull requests.
* Fixed lint errors and responded to CR comments.Gravatar Josh Haberman2015-07-17
| | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
* Added Ruby to conformance tests.Gravatar Josh Haberman2015-07-16
| | | | | | | | | | | | | This involved fixing a few important bugs in the Ruby implementation -- mostly cases of mixing upb field types and descriptor types (upb field types do not distinguish between int/sint/fixed/sfixed like descriptor types do). Also added protobuf-specific exceptions so parse errors can be caught specifically. Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
* Added support for Json and valid input to conformance tests.Gravatar Josh Haberman2015-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removed test_name from conformance.proto.Gravatar Josh Haberman2015-06-04
| | | | Change-Id: I382dcda97fa123a6da4ff5faad5d7ece95853f33
* Conformance tests can now be excluded based on their names.Gravatar Josh Haberman2015-06-03
| | | | | | | This allows us to enable conformance tests even when we know that some tests are failing and need to be fixed. Change-Id: I372f43663008747db6f2b2cf06e6ffa4c6d85b2d
* Null-terminate C strings.Gravatar Feng Xiao2015-05-26
| | | | Change-Id: I85675bfcd7697bb058b9af475445a6bfdd7fd967
* down-integrate internal changesGravatar Bo Yang2015-05-21
|
* Run conformance tests against Java for the Travis build.Gravatar Josh Haberman2015-05-06
| | | | Change-Id: I8ef8664f7facf86028be3f4f0d5d2efc8a685d6d
* Added conformance test support for Java.Gravatar Josh Haberman2015-04-16
| | | | Change-Id: I4c81808e6ace77d2b5737a43417045321b0b10f0
* Factored conformance tests so they can run in-process.Gravatar Josh Haberman2015-04-15
| | | | | | This is necessary for testing on iOS. Change-Id: I54ec1e3aa2e9fbfff9a6cd6580920a6a62069b63
* Added first version of conformance tests.Gravatar Josh Haberman2015-04-08
Change-Id: Ib75664194491643f8e4f1503a2ed942a2d1e1655