dep-protobuf/python/pb_unit_tests
Mike Kruskal 9a020c4a7b Unify behavior of deprecated_legacy_json_field_conflicts across upb and syntax.
This disables all checks of json_name for upb and protoc under both proto2 and proto3.  This option is deprecated that will be removed in future versions, and is only meant as a temporary solution.  This also fixes a latent bug in the calculation of camelcase name in Python/upb.

Fixes #12525

PiperOrigin-RevId: 603158026
2024-01-31 14:21:54 -08:00
..
BUILD Fix layering check for usage of gtest 2023-12-28 14:41:48 -08:00
descriptor_database_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
descriptor_pool_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
descriptor_test_wrapper.py Unify behavior of deprecated_legacy_json_field_conflicts across upb and syntax. 2024-01-31 14:21:54 -08:00
generator_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
json_format_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
keywords_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
message_factory_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
message_test_wrapper.py Add "extend repeated with nothing" tests back for upb python 2024-01-05 09:46:52 -08:00
numpy_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
proto_builder_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
pyproto_test_wrapper.bzl Add load() statements for builtin Python rules/providers 2023-11-20 11:54:29 -08:00
README.md Reorganize upb file structure 2023-09-26 14:38:35 -07:00
reflection_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
service_reflection_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
symbol_database_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
text_encoding_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
text_format_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
unknown_fields_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
well_known_types_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00
wire_format_test_wrapper.py Reorganize upb file structure 2023-09-26 14:38:35 -07:00

Protobuf Unit Tests

This directory contains wrappers around the Python unit tests defined in the protobuf repo. Python+upb is intended to be a drop-in replacement for protobuf Python, so we should be able to pass the same set of unit tests.

Our wrappers contain exclusion lists for tests we know we are not currently passing. Ideally these exclusion lists will become empty once Python+upb is fully implemented. However there may be a few edge cases that we decide are not worth matching with perfect parity.