aboutsummaryrefslogtreecommitdiffhomepage
path: root/conformance/conformance_test.h
Commit message (Collapse)AuthorAge
* Added conformance testing for binary primitive types. (#2491)Gravatar Joshua Haberman2016-12-13
| | | This is basic and more tests will be added over time.
* Factored Conformance and Benchmark test messages into shared test schema. ↵Gravatar Joshua Haberman2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
* Fix bugs for internal integration.Gravatar Bo Yang2016-10-10
|
* Integrate internal changesGravatar Bo Yang2016-10-10
|
* Add conformance test for zero fields in oneofs. (#1939)Gravatar Thomas Van Lenten2016-08-11
| | | | * Add conformance test for zero fields in oneofs. * Add failures to the "expected" files.
* Make conformance tests more strict about the failure list.Gravatar Josh Haberman2016-06-03
| | | | | | The failure lists were falling out of date because the tests would pass even if people forgot to remove failures from the list.
* Make conformance tests build for C++ and Java.Gravatar Feng Xiao2015-12-16
| | | | Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
* Down-integrate from internal code base.Gravatar Feng Xiao2015-12-11
|
* 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
* Factored conformance tests so they can run in-process.Gravatar Josh Haberman2015-04-15
This is necessary for testing on iOS. Change-Id: I54ec1e3aa2e9fbfff9a6cd6580920a6a62069b63