aboutsummaryrefslogtreecommitdiff
path: root/conformance
Commit message (Collapse)AuthorAgeFilesLines
...
* Regenerate conformance files to include extra oneof fields.Jon Skeet2016-08-151-20/+0
| | | | | | This should fix the failures in the conformance tests - although it highlights the problem that we need to do this when changing the conformance.proto file...
* Add more types to the zero oneof cases.Thomas Van Lenten2016-08-114-0/+61
| | | | | | 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.
* Record zero for "has" for proto3 if in a oneof.Thomas Van Lenten2016-08-111-5/+3
| | | | | | | If a message is proto3, then the zero values still count as being set one the field is in a oneof. Add tests to confirm oneofs work as expected in both syntaxes.
* Add conformance test for zero fields in oneofs. (#1939)Thomas Van Lenten2016-08-116-2/+57
| | | | * Add conformance test for zero fields in oneofs. * Add failures to the "expected" files.
* Amend the conformance tests to only use Int64/Uint64 non-wrapped values ↵Jon Skeet2016-07-312-8/+12
| | | | | | | | | | which (#1164) can reasonably be expected to be interoperable. (The fact that not all Int64/Uint64 values *can* be exactly represented in IEEE-754 and thus interoperably amongst JSON implementations is precisely the reason for wrapping them when we serialize... it shouldn't be a surprise that we can't round-trip in unwrapped form for all values.)
* Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.Josh Haberman2016-07-251-1/+1
| | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
* Move to dotnet cli for building, and .NET Core (netstandard1.0) as target ↵Jon Skeet2016-07-141-1/+1
| | | | | | platform (#1727) This also updates the version number to 3.0.0-beta4
* Comment out lite conformance test.Feng Xiao2016-07-131-44/+44
| | | | The 'lite' generator flag is no longer supported.
* Fix spelling in strings and commentsOtto Kekäläinen2016-07-031-2/+2
|
* Updated failure_list_java.txt to remove tests that now passAdam Cozzette2016-06-301-2/+0
|
* Added update_failure_list.py.Josh Haberman2016-06-031-0/+73
|
* Surrogate checking is unpredictable, so always manually check.Josh Haberman2016-06-031-16/+0
|
* Fixed Python by updating failure lists and fixed a few broken tests.Josh Haberman2016-06-034-83/+18
| | | | | Python 2.x doesn't detect unpaired surrogates so we have to do that manually.
* Make conformance tests more strict about the failure list.Josh Haberman2016-06-035-80/+51
| | | | | | The failure lists were falling out of date because the tests would pass even if people forgot to remove failures from the list.
* Properly express all outputs for the conformance buildThomas Van Lenten2016-05-061-3/+105
| | | | | - Fixes up `make distclean` and `make maintainer-clean` - Fixes the build so make is more likely to notice if one of those files is stale/missing.
* Bugfix for JSON error case.Josh Haberman2016-04-141-2/+0
|
* Merge branch 'master' of github.com:google/protobufJisi Liu2016-03-302-144/+16
|\
| * Changed Ruby to properly camelCase its JSON by default.Josh Haberman2016-02-182-144/+16
| |
* | Integrate google internal changes.Jisi Liu2016-03-303-2/+145
|/
* 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