aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Conformance/Conformance.cs
Commit message (Collapse)AuthorAgeFilesLines
* C# Proto2 feature : Field presence and default values (#4642)Sydney Acksman2018-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Compiler changes * Generated code changes * Library changes * Compiler style changes * Generated style changes * Fix Windows build errors * Implement changes from review * Reintroduce proto2 check * Compiler changes (required handling review) * Generated code changes (required handling review) * Library changes (required handling review * Field presence rewrite (compiler changes) * Field presence rewrite (generated code changes) * Compiler comment * IFieldAccessor.HasValue library implementation * Remove Clear methods and default values from proto3 code (Compiler) * Remove Clear methods and default values from proto3 code (Generated) * Remove Clear methods and default values from proto3 code (Library) * Fix distcheck error * Rewrite default string values to use base64 and convert * Library changes (IMessage2) * Compiler changes (IMessage2) * Generated changes (IMessage2) * Rebased and regenerated * Compiler changes (initialized extension) * Generated changes (initialized extension) * Library changes (initialized extension) * Refactor MessageExtensions.IsRequired * Move string default value creator and bytes default value creator back to seperate methods * Dead code cleanup * Fixed segmentation fault Removed unused header method declarations
* Update generated descriptors.integrationFeng Xiao2018-08-081-10/+12
|
* Give a specific category to each test. (#4965)Paul Yang2018-07-271-27/+53
| | | | | | | | | | | | | | | | | | | | * Give a unique category to each test. This change introduce a TestCategory enum to ConformanceRequest. Existing tests are divided into three categories: binary format test, json format test and json format (ignore unknown when parsing) test. For the previous two categories, there is no change to existing testee programs. For tests with the last category, testee programs should either enable ignoring unknown field during json parsing or skip the test. * Fix python test * Fix java * Fix csharp * Update document * Update csharp generated code
* Enable ignoring unknown in json parsing in php (#4839)Paul Yang2018-07-091-9/+38
| | | | | | | | | | * Enable ignoring unknown in json parsing in php * Update generated descriptor files * Update failure list for other languages. * Remove unnecessary php files
* Add auto-generated header to C# generated files (#4038)Jan Tattermusch2017-12-131-2/+4
| | | | | | * Add auto-generated header to C# generated files * regenerate C# protos
* Add unknown field support for csharp (#3936)Jie Luo2017-12-131-4/+28
| | | Add unknown field support for csharp
* Update the comment on the message_type to cover what it should be.Thomas Van Lenten2017-07-261-1/+3
|
* add csharp supportYilun Chong2017-06-281-10/+41
|
* remove leading whitespace in C# xml commentsJan Tattermusch2016-12-121-22/+22
|
* Factored Conformance and Benchmark test messages into shared test schema. ↵Joshua Haberman2016-12-031-3638/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
* Add more JSON tests around underscores (#1963)Thomas Van Lenten2016-08-161-37/+210
| | | | Add more JSON tests around underscores
* Regenerate conformance files to include extra oneof fields.Jon Skeet2016-08-151-83/+242
| | | | | | 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...
* Changes to generated code from previous commitJon Skeet2016-07-041-7/+197
|
* Regenerate all C# code and make it compileJon Skeet2016-04-201-25/+25
| | | | JSON tests fail, as we're not using OriginalNameAttribute yet.
* Generated code changes from previous commitJon Skeet2016-02-041-14/+14
|
* Generated code for GeneratedCodeInfo changeJon Skeet2016-02-041-5/+5
|
* Fix C# source generation shell script and remove out of date notesJon Skeet2016-01-041-114/+1300
| | | | | The conformance tests now use types which are part of src/google/protobuf, so we need to include src in the proto path. The notes around "fix-ups" have been out of date for some time now.
* Generated code changes from previous commit.Jon Skeet2015-12-151-5/+5
|
* Generated code changes for previous commit (basically ↵Jon Skeet2015-11-221-1/+1
| | | | InternalBuildGeneratedFileFrom => FromGeneratedCode)
* Generated code from previous commit.Jon Skeet2015-11-191-4/+4
|
* Generated code changes and manual changes for previous commit.Jon Skeet2015-11-091-6/+6
|
* Generated code for previous commit.Jon Skeet2015-11-061-0/+2
|
* Generated code for previous commit (oneof case contributing to hash code and ↵Jon Skeet2015-10-241-0/+6
| | | | equality).
* Generated code from previous commit.Jon Skeet2015-10-011-0/+128
|
* Fix typo in oneof case enum commentJon Skeet2015-09-301-3/+3
|
* Generated code changes for previous commit.Jon Skeet2015-09-291-2/+2
|
* Generated code for previous commitJon Skeet2015-09-291-0/+6
|
* Regenerated code. Most changes are whitespace, removing trailing spaces.Jon Skeet2015-09-011-110/+110
| | | | Other changes are due to the well-known types changing without us regenerating.
* Generated code for previous commit.Jon Skeet2015-08-061-20/+5
|
* Generated code changes for previous commit.Jon Skeet2015-08-051-15/+5
|
* Generated code changes for previous commit.Jon Skeet2015-08-051-0/+5
|
* First pass at C# conformance tests.Jon Skeet2015-08-051-0/+2400
Completely untested so far - easier to get started in VS and then transfer to Linux for tweaking...