Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Record zero for "has" for proto3 if in a oneof. | Thomas Van Lenten | 2016-08-11 | 1 | -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 Lenten | 2016-08-11 | 6 | -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 Skeet | 2016-07-31 | 2 | -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 Haberman | 2016-07-25 | 1 | -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 Skeet | 2016-07-14 | 1 | -1/+1 |
| | | | | | | platform (#1727) This also updates the version number to 3.0.0-beta4 | ||||
* | Comment out lite conformance test. | Feng Xiao | 2016-07-13 | 1 | -44/+44 |
| | | | | The 'lite' generator flag is no longer supported. | ||||
* | Fix spelling in strings and comments | Otto Kekäläinen | 2016-07-03 | 1 | -2/+2 |
| | |||||
* | Updated failure_list_java.txt to remove tests that now pass | Adam Cozzette | 2016-06-30 | 1 | -2/+0 |
| | |||||
* | Added update_failure_list.py. | Josh Haberman | 2016-06-03 | 1 | -0/+73 |
| | |||||
* | Surrogate checking is unpredictable, so always manually check. | Josh Haberman | 2016-06-03 | 1 | -16/+0 |
| | |||||
* | Fixed Python by updating failure lists and fixed a few broken tests. | Josh Haberman | 2016-06-03 | 4 | -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 Haberman | 2016-06-03 | 5 | -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 build | Thomas Van Lenten | 2016-05-06 | 1 | -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 Haberman | 2016-04-14 | 1 | -2/+0 |
| | |||||
* | Merge branch 'master' of github.com:google/protobuf | Jisi Liu | 2016-03-30 | 2 | -144/+16 |
|\ | |||||
| * | Changed Ruby to properly camelCase its JSON by default. | Josh Haberman | 2016-02-18 | 2 | -144/+16 |
| | | |||||
* | | Integrate google internal changes. | Jisi Liu | 2016-03-30 | 3 | -2/+145 |
|/ | |||||
* | Merge pull request #1145 from jskeet/conformance | Jon Skeet | 2016-01-16 | 1 | -73/+0 |
|\ | | | | | JSON Conformance improvements | ||||
| * | Remove now-fixed conformance errors. | Jon Skeet | 2016-01-15 | 1 | -73/+0 |
| | | |||||
* | | Merge pull request #1146 from haberman/pycppfix | Joshua Haberman | 2016-01-15 | 2 | -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 Haberman | 2016-01-15 | 2 | -180/+4 |
| |/ | |||||
* / | Fix tests broken by the Java directory change. | Feng Xiao | 2016-01-14 | 1 | -2/+2 |
|/ | | | | Change-Id: I39c4eadbd28164cfd83aa2d1d8b6dfe8286db803 | ||||
* | Don't generate Objective C WKT for conformance tests to avoid dupliate defs. | Josh Haberman | 2016-01-12 | 1 | -6/+11 |
| | |||||
* | Conformance: Update C# failure list to reflect which tests currently pass. | Josh Haberman | 2016-01-12 | 1 | -89/+2 |
| | |||||
* | Updated C#'s failure list, and added missing file. | Josh Haberman | 2016-01-11 | 3 | -0/+179 |
| | |||||
* | Allow conformance test runner to tolerate crashes, and re-enable conformance ↵ | Josh Haberman | 2016-01-11 | 8 | -44/+752 |
| | | | | tests. | ||||
* | Fix up the conformance tests | Thomas Van Lenten | 2016-01-05 | 3 | -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 Lenten | 2016-01-05 | 1 | -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 Xiao | 2015-12-28 | 1 | -1/+20 |
| | | | | Also delete some unused files. | ||||
* | Exclude failing objc conformance tests. | Feng Xiao | 2015-12-21 | 1 | -1/+107 |
| | | | | [skip ci] | ||||
* | Configure conformance tests to build with C++11 (require GCC 4.8) | Feng Xiao | 2015-12-21 | 1 | -0/+1 |
| | | | | [skip ci] | ||||
* | Make conformance tests build for C++ and Java. | Feng Xiao | 2015-12-16 | 5 | -10/+7276 |
| | | | | Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433 | ||||
* | Down-integrate from internal code base. | Feng Xiao | 2015-12-11 | 8 | -31/+1779 |
| | |||||
* | Fix dist_clean and maintainer-clean to get more generated files. | Thomas Van Lenten | 2015-12-10 | 1 | -0/+1 |
| | |||||
* | Remove all bare strings as exceptions. | Josh Haberman | 2015-12-04 | 1 | -3/+6 |
| | |||||
* | Added Python failure lists, and fixes to make sure failure propagates. | Josh Haberman | 2015-12-03 | 3 | -0/+31 |
| | |||||
* | Added JSON support to Python conformance tests. | Josh Haberman | 2015-12-02 | 1 | -3/+8 |
| | |||||
* | Conformance test implementation for Python. | Josh Haberman | 2015-12-02 | 3 | -5/+137 |
| | |||||
* | Ensure the conformance build of objc code is using the Mac OS X SDK and | Thomas Van Lenten | 2015-12-02 | 1 | -1/+5 |
| | |||||
* | Set the stream limit to the length of the data. | Thomas Van Lenten | 2015-11-23 | 1 | -2/+1 |
| | | | | - Mark all conformance tests as now passing. | ||||
* | Add support for the conformance test for objc when run on OS X | Thomas Van Lenten | 2015-11-18 | 3 | -4/+215 |
| | |||||
* | Cleanups of deps and ignores for conformance | Thomas Van Lenten | 2015-11-16 | 1 | -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 Haberman | 2015-08-12 | 1 | -15/+0 |
| | | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9 | ||||
* | Validate that after reading a message, we've consumed as many bytes as we ↵ | Jon Skeet | 2015-08-05 | 1 | -22/+0 |
| | | | | | | expected to. We should now have no conformance failures. | ||||
* | Added C# conformance tests. | Jon Skeet | 2015-08-05 | 2 | -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 Haberman | 2015-07-17 | 1 | -26/+29 |
| | | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910 | ||||
* | Added Ruby to conformance tests. | Josh Haberman | 2015-07-16 | 5 | -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 Haberman | 2015-07-10 | 6 | -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 Haberman | 2015-06-04 | 4 | -15/+15 |
| | | | | Change-Id: I382dcda97fa123a6da4ff5faad5d7ece95853f33 | ||||
* | Conformance tests can now be excluded based on their names. | Josh Haberman | 2015-06-03 | 6 | -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 |