dep-protobuf/python/pb_unit_tests
Adam Cozzette 4ec9170bcd Fix layering check for usage of gtest
To satisfy the layering check, we need to depend on :gtest for the headers, in
addition to :gtest_main which provides the main() function.

There are a bunch of formatting changes as a side effect of this, but they
should be harmless.

PiperOrigin-RevId: 594318263
2023-12-28 14:41:48 -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 Reorganize upb file structure 2023-09-26 14:38:35 -07: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 Reorganize upb file structure 2023-09-26 14:38:35 -07: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.