Bo Yang
98835fb8f8
Integrate internal changes
8 years ago
Thomas Van Lenten
80f65d2df8
Add note about JSON tests maybe being wrong. ( #1992 )
...
Add note about JSON tests maybe being wrong.
- Add note about the JSON test maybe not being correct yet.
- Add test to checks the generated names for double underscores to be sure they
are what is expected.
8 years ago
Thomas Van Lenten
7437774a27
More JSON tests
...
- String behaviors
- Testing only valid JSON is allowed
8 years ago
Thomas Van Lenten
a877fdfafe
Record zero for "has" for proto3 if in a oneof.
...
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.
8 years ago
Thomas Van Lenten
e389165586
Add more JSON tests around underscores ( #1963 )
...
Add more JSON tests around underscores
8 years ago
Thomas Van Lenten
81564101ee
Fix up ignores and conformance generation
...
- Update ruby conformance generation for rename of generated files that seems
to have happened.
- Update gitignores for the above and for the no-warnings-test.
8 years ago
Jon Skeet
f9d93f358d
Regenerate conformance files to include extra oneof fields.
...
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...
8 years ago
Thomas Van Lenten
27c8962505
Add more types to the zero oneof cases.
...
Incase the different runtimes have different generation/implementations for
for the different primitive field types, cover a larger range of the proto
types in the oneof zero tests.
8 years ago
Thomas Van Lenten
ca5b7751e5
Record zero for "has" for proto3 if in a oneof.
...
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.
8 years ago
Thomas Van Lenten
ac3df39c22
Add conformance test for zero fields in oneofs. ( #1939 )
...
* Add conformance test for zero fields in oneofs.
* Add failures to the "expected" files.
8 years ago
Jon Skeet
00d5a7f099
Amend the conformance tests to only use Int64/Uint64 non-wrapped values 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.)
8 years ago
Josh Haberman
4f19797baf
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
...
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
8 years ago
Jon Skeet
b5ce5251fd
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform ( #1727 )
...
This also updates the version number to 3.0.0-beta4
9 years ago
Jon Skeet
10a8fb4e73
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform ( #1727 )
...
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform
This also updates the version number to 3.0.0-beta4
9 years ago
Feng Xiao
dd37b992be
Comment out lite conformance test.
...
The 'lite' generator flag is no longer supported.
9 years ago
Otto Kekäläinen
3808d091f8
Fix spelling in strings and comments
9 years ago
Adam Cozzette
69cc213c76
Updated failure_list_java.txt to remove tests that now pass
9 years ago
Josh Haberman
84a1b60703
Added update_failure_list.py.
9 years ago
Josh Haberman
4833b4c003
Surrogate checking is unpredictable, so always manually check.
9 years ago
Josh Haberman
bd98eae1c9
Fixed Python by updating failure lists and fixed a few broken tests.
...
Python 2.x doesn't detect unpaired surrogates so we have to
do that manually.
9 years ago
Josh Haberman
ef7894e2dc
Make conformance tests more strict about the failure list.
...
The failure lists were falling out of date because the
tests would pass even if people forgot to remove failures
from the list.
9 years ago
Thomas Van Lenten
ce2ef0d705
Properly express all outputs for the conformance build
...
- 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.
9 years ago
Josh Haberman
e67ef3d449
Bugfix for JSON error case.
9 years ago
Jisi Liu
3b3c8abb96
Integrate google internal changes.
9 years ago
Josh Haberman
78da66698b
Changed Ruby to properly camelCase its JSON by default.
9 years ago
Josh Haberman
06fd6fa850
Fixed Python 3.x C++ build, and updated conformance failure lists.
9 years ago
Jon Skeet
5ee055d53d
Remove now-fixed conformance errors.
9 years ago
Feng Xiao
ea956761cc
Fix tests broken by the Java directory change.
...
Change-Id: I39c4eadbd28164cfd83aa2d1d8b6dfe8286db803
9 years ago
Josh Haberman
7e74a02b17
Don't generate Objective C WKT for conformance tests to avoid dupliate defs.
9 years ago
Josh Haberman
043ca2b84b
Conformance: Update C# failure list to reflect which tests currently pass.
9 years ago
Josh Haberman
ea909a57e4
Updated C#'s failure list, and added missing file.
9 years ago
Josh Haberman
e891c29f9b
Allow conformance test runner to tolerate crashes, and re-enable conformance tests.
9 years ago
Thomas Van Lenten
df4e4d8717
Fix up the conformance tests
...
- 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.
9 years ago
Thomas Van Lenten
de3c56a0d1
Fix conformance test to only report skips in verbose mode.
...
commit e841bac4fc
seems to have mis-merged the
change to reporting skipped tests.
I didn't check if there were other merge issues.
9 years ago
Feng Xiao
b7610f129d
Add missing files to EXTRA_DIST.
...
Also delete some unused files.
9 years ago
Feng Xiao
d272cef23d
Exclude failing objc conformance tests.
...
[skip ci]
9 years ago
Feng Xiao
1e2fece3e0
Configure conformance tests to build with C++11 (require GCC 4.8)
...
[skip ci]
9 years ago
Feng Xiao
a0cecfd31a
Make conformance tests build for C++ and Java.
...
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
9 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Thomas Van Lenten
a20d0b6cd4
Fix dist_clean and maintainer-clean to get more generated files.
9 years ago
Josh Haberman
874eb3648e
Remove all bare strings as exceptions.
9 years ago
Josh Haberman
4b31ffa488
Added Python failure lists, and fixes to make sure failure propagates.
9 years ago
Josh Haberman
a3faf080e3
Added JSON support to Python conformance tests.
9 years ago
Josh Haberman
325392dd61
Conformance test implementation for Python.
9 years ago
Thomas Van Lenten
69d713fc3c
Ensure the conformance build of objc code is using the Mac OS X SDK and
9 years ago
Thomas Van Lenten
ba800e2e57
Set the stream limit to the length of the data.
...
- Mark all conformance tests as now passing.
9 years ago
Thomas Van Lenten
1745f7eae9
Add support for the conformance test for objc when run on OS X
9 years ago
Thomas Van Lenten
42f2eee932
Cleanups of deps and ignores for conformance
...
- 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.
9 years ago
Josh Haberman
5bdf4a4271
Fixed several Ruby conformance test cases through upb update.
...
Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
9 years ago
Jon Skeet
15bf55e225
Validate that after reading a message, we've consumed as many bytes as we expected to.
...
We should now have no conformance failures.
9 years ago