aboutsummaryrefslogtreecommitdiff
path: root/conformance
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1145 from jskeet/conformanceJon Skeet2016-01-161-73/+0
|\ | | | | JSON Conformance improvements
| * Remove now-fixed conformance errors.Jon Skeet2016-01-151-73/+0
| |
* | Merge pull request #1146 from haberman/pycppfixJoshua Haberman2016-01-152-180/+4
|\ \ | | | | | | Fixed Python 3.x C++ build, and updated conformance failure lists.
| * | Fixed Python 3.x C++ build, and updated conformance failure lists.Josh Haberman2016-01-152-180/+4
| |/
* / Fix tests broken by the Java directory change.Feng Xiao2016-01-141-2/+2
|/ | | | Change-Id: I39c4eadbd28164cfd83aa2d1d8b6dfe8286db803
* Don't generate Objective C WKT for conformance tests to avoid dupliate defs.Josh Haberman2016-01-121-6/+11
|
* Conformance: Update C# failure list to reflect which tests currently pass.Josh Haberman2016-01-121-89/+2
|
* Updated C#'s failure list, and added missing file.Josh Haberman2016-01-113-0/+179
|
* Allow conformance test runner to tolerate crashes, and re-enable conformance ↵Josh Haberman2016-01-118-44/+752
| | | | tests.
* Fix up the conformance testsThomas Van Lenten2016-01-053-108/+16
| | | | | - Update all the new runner cases to handle a skip result as a skip and not a failure. - Make ObjC use the new serialize_error result if it fails to generate the data.
* Fix conformance test to only report skips in verbose mode.Thomas Van Lenten2016-01-051-3/+0
| | | | | | | commit e841bac4fcf47f809e089a70d5f84ac37b3883df seems to have mis-merged the change to reporting skipped tests. I didn't check if there were other merge issues.
* Add missing files to EXTRA_DIST.Feng Xiao2015-12-281-1/+20
| | | | Also delete some unused files.
* Exclude failing objc conformance tests.Feng Xiao2015-12-211-1/+107
| | | | [skip ci]
* Configure conformance tests to build with C++11 (require GCC 4.8)Feng Xiao2015-12-211-0/+1
| | | | [skip ci]
* Make conformance tests build for C++ and Java.Feng Xiao2015-12-165-10/+7276
| | | | Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
* Down-integrate from internal code base.Feng Xiao2015-12-118-31/+1779
|
* Fix dist_clean and maintainer-clean to get more generated files.Thomas Van Lenten2015-12-101-0/+1
|
* Remove all bare strings as exceptions.Josh Haberman2015-12-041-3/+6
|
* Added Python failure lists, and fixes to make sure failure propagates.Josh Haberman2015-12-033-0/+31
|
* Added JSON support to Python conformance tests.Josh Haberman2015-12-021-3/+8
|
* Conformance test implementation for Python.Josh Haberman2015-12-023-5/+137
|
* Ensure the conformance build of objc code is using the Mac OS X SDK andThomas Van Lenten2015-12-021-1/+5
|
* Set the stream limit to the length of the data.Thomas Van Lenten2015-11-231-2/+1
| | | | - Mark all conformance tests as now passing.
* Add support for the conformance test for objc when run on OS XThomas Van Lenten2015-11-183-4/+215
|
* Cleanups of deps and ignores for conformanceThomas Van Lenten2015-11-161-4/+10
| | | | | | - Hopefully complete the deps for other languages for the generated conformance proto sources. - List the generated sources for cleanup by make's clean rules. - Make the toplevel nuke the pyc files that can get created in the ObjC dir.
* Fixed several Ruby conformance test cases through upb update.Josh Haberman2015-08-121-15/+0
| | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
* Validate that after reading a message, we've consumed as many bytes as we ↵Jon Skeet2015-08-051-22/+0
| | | | | | expected to. We should now have no conformance failures.
* Added C# conformance tests.Jon Skeet2015-08-052-1/+35
| | | | | | | 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.Josh Haberman2015-07-171-26/+29
| | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
* Added Ruby to conformance tests.Josh Haberman2015-07-165-5/+140
| | | | | | | | | | | | | 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.Josh Haberman2015-07-106-52/+263
| | | | | | | | | | | | | | | | | | | | | | | | | 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.Josh Haberman2015-06-044-15/+15
| | | | Change-Id: I382dcda97fa123a6da4ff5faad5d7ece95853f33
* Conformance tests can now be excluded based on their names.Josh Haberman2015-06-036-59/+234
| | | | | | | 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.Feng Xiao2015-05-261-1/+2
| | | | Change-Id: I85675bfcd7697bb058b9af475445a6bfdd7fd967
* down-integrate internal changesBo Yang2015-05-212-38/+31
|
* Run conformance tests against Java for the Travis build.Josh Haberman2015-05-061-2/+2
| | | | Change-Id: I8ef8664f7facf86028be3f4f0d5d2efc8a685d6d
* Added conformance test support for Java.Josh Haberman2015-04-164-11/+145
| | | | Change-Id: I4c81808e6ace77d2b5737a43417045321b0b10f0
* Factored conformance tests so they can run in-process.Josh Haberman2015-04-155-199/+415
| | | | | | This is necessary for testing on iOS. Change-Id: I54ec1e3aa2e9fbfff9a6cd6580920a6a62069b63
* Added first version of conformance tests.Josh Haberman2015-04-085-0/+865
Change-Id: Ib75664194491643f8e4f1503a2ed942a2d1e1655