• Feng Xiao's avatar
    Fix failing tests. · acd5b05e
    Feng Xiao authored
    1. Fix C++ tests.
      * Add missing files to Makefile.am and fix distcheck in tests.sh
      * Remove BUILT_SOURCES from conformance/Makefile.am.
      * Add some missing override keyword.
      * Add a type cast to int64 because our StrCat() in stubs can't handle size_t.
    2. Fix Java tests.
      * Add missing test dependency on guava in pom.xml.
      * Include newly referenced test data in test resources.
      * Manually fix map_lite_test.proto which is overwritten because it's mapped
        from map_test.proto in google3.
      * Add back "optimize_for = LITE_RUNTIME" which is still needed to keep the
        opensource test passing as it's still running lite tests.
      * Add a type cast in newBuilder() because without it the code doesn't compile
        with openjdk javac 1.8 (the compiler can't figure if it's the right type
        due to complex generic typing).
    3. Fix Python tests.
      * Remove/replace references to <hash_map>.
      * Suppress more warnings in setup.py.
      * Replace incorrect header inclusion for google/protobuf/proto_api.h.
      * Add strings::EndsWith to google/protobuf/stubs/strutil.h because it's
        referenced in the updated python C extension code.
      * Replace proto2 with google::protobuf. The proto2 name is leaked to
        opensource because we removed the subsitition rule for proto2 namespace
        but only fixed C++ source code and forgot to update python C extension code.
    acd5b05e
Name
Last commit
Last update
.github/ISSUE_TEMPLATE Loading commit data...
benchmarks Loading commit data...
cmake Loading commit data...
conformance Loading commit data...
csharp Loading commit data...
docs Loading commit data...
editors Loading commit data...
examples Loading commit data...
java Loading commit data...
js Loading commit data...
kokoro Loading commit data...
m4 Loading commit data...
objectivec Loading commit data...
php Loading commit data...
protoc-artifacts Loading commit data...
python Loading commit data...
ruby Loading commit data...
src Loading commit data...
third_party Loading commit data...
util/python Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
BUILD Loading commit data...
CHANGES.txt Loading commit data...
CONTRIBUTORS.txt Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Protobuf.podspec Loading commit data...
README.md Loading commit data...
WORKSPACE Loading commit data...
appveyor.bat Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
composer.json Loading commit data...
configure.ac Loading commit data...
generate_changelog.py Loading commit data...
generate_descriptor_proto.sh Loading commit data...
post_process_dist.sh Loading commit data...
protobuf-lite.pc.in Loading commit data...
protobuf.bzl Loading commit data...
protobuf.pc.in Loading commit data...
six.BUILD Loading commit data...
tests.sh Loading commit data...
update_file_lists.sh Loading commit data...