Thomas Van Lenten
9a4692d8af
Update the comment on the message_type to cover what it should be.
7 years ago
Thomas Van Lenten
3caf9fd00a
Review feedback.
...
- Better error message for unknown messageType.
- Remove unneeded if.
7 years ago
Thomas Van Lenten
c2831a346c
Add the proto2 message conformance support for ObjC.
7 years ago
Thomas Van Lenten
9fd5e59c97
Generate the proto2 test file and link it in for ObjC.
7 years ago
Thomas Van Lenten
21800ff84f
Add a objc_class_prefix to test_messages_proto3.proto.
...
Both test_messages_proto3.proto & test_messages_proto2.proto define
message ForeignMessage {...} and enum ForeignEnum {...} but since
objc doesn't use the proto package in the naming, these end up
conflicting.
Adding the objc_class_prefix option to the proto3 file ensure the generated
objc types are all unique.
7 years ago
tanderson-google
126082c371
Add std:: namespace prefix to set and map ( #3332 )
...
* Remove using std::{set,map}
7 years ago
Yilun Chong
bceb830c39
add comments in makefile.am
8 years ago
Yilun Chong
32c8ed3b44
change csharp failure list
8 years ago
Yilun Chong
cbf7dfb323
fix php failing list and csharp generated proto
8 years ago
Yilun Chong
726ba33d98
changed php's failing list
8 years ago
Yilun Chong
5085102d96
remove backup files
8 years ago
Yilun Chong
3adb054bbf
add some test proto2 supported, add js proto2 supported, fixed some error
8 years ago
Paul Yang
ecca6ea95d
Add json encode/decode for php. ( #3226 )
...
* Add json encode/decode for php.
* Fix php conformance test on 32-bit machines.
* Fix conformance test for c extension.
* Fix comments
8 years ago
Yilun Chong
a7d5be6a91
change php objc nodejs csharp ruby
8 years ago
Yilun Chong
fcb9268255
change java to uniform message, revert TestValidDataForType's parameters
8 years ago
Yilun Chong
020a24dfdc
change cpp and python to uniform message
8 years ago
Yilun Chong
364502102a
add message set test case
8 years ago
Yilun Chong
06c9057cc3
add objec support
8 years ago
Yilun Chong
cf7b6a46b2
delete backup files
8 years ago
Yilun Chong
6c59c25735
delete binary
8 years ago
Yilun Chong
696cf779d4
add java supported
8 years ago
Yilun Chong
18a0c2c4d2
add proto2 supported for cpp,python,nodejs,ruby,php
8 years ago
Yilun Chong
2ad74e1606
add support for proto2
8 years ago
Yilun Chong
58a3c74df0
add test_proto2_message.proto and change conformnace/makefile.am
8 years ago
Joshua Haberman
1325588982
Updated upb to fix JSON conformance issues. ( #3206 )
...
* Fixed a bunch of Ruby conformance errors.
* Fixed some more Ruby conformance errors in JSON.
8 years ago
Thomas Van Lenten
dd19b876d4
Raise the number of digits used for floats.
...
About 1.5% of all IEEE754 single-precision numbers require nine
decimal digits to represent accurately.
8 years ago
Thomas Van Lenten
ecc0f54127
Properly error on a tag with field number zero.
8 years ago
Paul Yang
190b5270c8
Make PHP c extension work with PHP7 ( #2951 )
8 years ago
Feng Xiao
bd74319107
Update Java conformance failure list.
8 years ago
Feng Xiao
624d44f042
Update objective-c conformance failure list.
8 years ago
Feng Xiao
fab8812cc1
Update python conformance failure list.
8 years ago
Feng Xiao
057a2851e4
Update C# conformance failure list.
8 years ago
Feng Xiao
e47c068cfa
Update python conformance failure list.
8 years ago
Feng Xiao
d36c0c538a
Down-integrate from google3.
8 years ago
Josh Haberman
1b0db1cb83
Removed obsolete comments and added docs.
8 years ago
Josh Haberman
95b4427d39
Build system fixes for JS conformance tests.
8 years ago
Josh Haberman
8df69f0894
Conformance test for JS now work, though 15 tests fail.
8 years ago
Josh Haberman
3e6245e5d7
update_failure_list.py: fixed Python "raise" statement.
8 years ago
Paul Yang
dd8d5f57d7
Rename encode/decode to serializeToString/mergeFromString ( #2795 )
...
This better shows the semantic of the API. For already setted fields,
mergeFromString do replacement for singular fields and appending for
repeated fields.
8 years ago
Josh Haberman
f873d3213c
Added JavaScript conformance tests. All tests pass!
8 years ago
Josh Haberman
27b1f2b477
WIP.
8 years ago
Paul Yang
cba04b19e8
Implement json encoding decoding for php. ( #2682 )
8 years ago
Paul Yang
39756643df
Add conformance test for php ( #2655 )
8 years ago
Joshua Haberman
ffa71f8007
A few more cases for binary conformance tests. ( #2500 )
...
* A few more cases for binary conformance tests.
* over-encoded varints (encoded in more bytes than are necessary).
* truncated varints (>32 bits for 32-bit types).
* Fixed Python decoding bug with 32-bit varints.
* Fixed 1L -> 1LL for 32-bit platforms.
8 years ago
Joshua Haberman
2ff42dcf2c
Added conformance testing for binary primitive types. ( #2491 )
...
This is basic and more tests will be added over time.
8 years ago
Julien Brianceau
e3da722b66
Fix #include in cc files
8 years ago
Joshua Haberman
f1ce60e7b4
Factored Conformance and Benchmark test messages into shared test schema. ( #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.
8 years ago
Adam Cozzette
a41090ee6b
Updated failure_list_java.txt for Java conformance test
...
A new test is now passing and so we can remove it from the failure
whitelist.
8 years ago
Feng Xiao
1f077a0183
Update conformance failure lists.
8 years ago
Adam Cozzette
5a76e633ea
Integrated internal changes from Google
8 years ago