aboutsummaryrefslogtreecommitdiff
path: root/ruby/tests/generated_code.proto
Commit message (Collapse)AuthorAgeFilesLines
* Add discard unknown API in ruby. (#3990)Paul Yang2017-12-071-0/+13
| | | | | | | | | | | | * Add discard unknown API in ruby. * Add test for oneof message field. * Add TestUnknown to represent unknown field data clearly. * Only serialize the message with unknown fields itself in test. * Move discard_unknown from Message to Google.Protobuf
* Added unit test for PascalCasing package names in Ruby.Josh Haberman2016-07-251-1/+1
|
* down-integrate internal changesBo Yang2015-05-211-13/+13
|
* Two tests for Ruby code generator:Chris Fallin2015-01-141-0/+67
- A golden-file test that ensures protoc produces known-valid output. - A Ruby test that loads that golden file and ensures it actually works with the extension. This split strategy allows us to test end-to-end without needing to integrate the Ruby gem build system and the protoc build system. This is desirable because we do not want a gem build/install to depend on building protoc, and we do not want building protoc to depend on building and testing the gem.