Joshua Haberman
3e75131bc1
Fixed Python test by implementing RichCompare() for RepeatedCompositeContainer.
...
PiperOrigin-RevId: 447613334
3 years ago
Joshua Haberman
d72d98495d
Fixed a Python test by adding a new map insert function that distinguishes between insert and update.
...
PiperOrigin-RevId: 447214618
3 years ago
Joshua Haberman
0abdee08b4
Fixed a test by extending Pythonic initialization to handle dicts in repeated fields.
...
PiperOrigin-RevId: 447128858
3 years ago
Joshua Haberman
f70eee4cce
Fixed broken tests by implementing RepeatedScalarContainer.__reduce__.
...
PiperOrigin-RevId: 447125225
3 years ago
Joshua Haberman
b034f5d196
Fixed broken test by implementing FieldDescriptor.has_presence.
...
PiperOrigin-RevId: 447124542
3 years ago
Joshua Haberman
2eb973f53a
Added a GitHub Action to test Python+upb on Windows, and fixed a couple of bugs this revealed.
...
PiperOrigin-RevId: 446322046
3 years ago
Joshua Haberman
22c7daf1e3
Update to new upb module name.
...
PiperOrigin-RevId: 444699974
3 years ago
Joshua Haberman
f75d707ae9
A small test cleanup for Python.
...
PiperOrigin-RevId: 444586482
3 years ago
Joshua Haberman
92e06d027c
Fix for internal running of tests.
...
PiperOrigin-RevId: 444297087
3 years ago
Joshua Haberman
3e0890c055
Added support for UnknownFieldSet.
...
PiperOrigin-RevId: 443143448
3 years ago
Protobuf Team
e6e73198e3
Ignore recently added pb unit test method
...
PiperOrigin-RevId: 438590118
3 years ago
Protobuf Team
b8edc7153f
Internal change
...
PiperOrigin-RevId: 435056074
3 years ago
Joshua Haberman
ac27e3b317
Remaining fixes to make Python tests pass in google3.
3 years ago
Joshua Haberman
61f904efb7
Strip out OSS-only test for google3.
3 years ago
Joshua Haberman
0853c41b9c
Factored out common logic around our python test wrappers.
3 years ago
Matt Kulukundis
9d9e36125c
another license
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
1c3d63dc25
Fixed a test by checking for the type of proto.
...
Also labeled a few tests for why we don't pass them.
3 years ago
Joshua Haberman
bc7b5dcadf
Ported protobuf's dtoa() function for text format and JSON.
3 years ago
Joshua Haberman
bb95a18631
Fixed a bug in the enum value map, fixing a few unit tests.
3 years ago
Joshua Haberman
e613af9e87
Fixed test by checking string argument properly.
3 years ago
Joshua Haberman
392531c14f
Fixed test by implementing FindMethodByName().
3 years ago
Joshua Haberman
3eeea895dd
Fixed FieldDescriptor test.
3 years ago
Joshua Haberman
ffdcc46390
Fixed a handful of reference leaks found in a debug build of Python ( #484 )
...
* Fixed some reference leaks.
* Fixed a few reference leaks.
* Fixed a few more memory errors.
* Fixed a few more reference leaks.
* Revert minimal_test.py.
* Re-enable limited API.
* Removed some debugging and spurious changes.
* Addressed PR comments.
3 years ago
Joshua Haberman
cfeb1ad685
Removed extraneous whitespace.
3 years ago
Joshua Haberman
62702b6cb1
Matched text format for maps.
3 years ago
Joshua Haberman
f7b1cd3b3e
Fixed TextFormat tests by providing testdata.
3 years ago
Joshua Haberman
3eae44bada
Refine the exception type when assigning improper attributes.
3 years ago
Joshua Haberman
1c37c488d4
Refined error message.
3 years ago
Joshua Haberman
8af637bcd2
Added extension field numbers.
3 years ago
Joshua Haberman
c75b39fc4d
Accept bytes object as field name.
3 years ago
Joshua Haberman
61d6eff5c4
Throw the proper errors for message initialization failure.
3 years ago
Joshua Haberman
4984a22e75
Fixed error message when serializing with required fields missing.
3 years ago
Joshua Haberman
bca2688f3a
Implemented weird behavior when a field contains invalid UTF-8.
3 years ago
Joshua Haberman
3b25e6fde3
Implemented msg.<NAME>_FIELD_NUMBER attributes.
3 years ago
Joshua Haberman
4993f7a73a
Sort ListFields() results.
3 years ago
Joshua Haberman
cbe314d91e
Implemented IsInitialized(), fixing several more tests.
3 years ago
Joshua Haberman
586f84cd30
Properly check type of integers when converting.
3 years ago
Joshua Haberman
7de3052fbb
Implemented reverse().
3 years ago
Joshua Haberman
4447d87695
Fixed tests that were missing enum type wrapper class.
3 years ago
Joshua Haberman
a2e280e865
Fixed slice assignment of unequal length.
3 years ago
Joshua Haberman
2fea0ea19d
Implemented iteration over extension dict.
...
Unfortunately this didn't make the test pass, because it relies on
a specific iteration order.
3 years ago
Joshua Haberman
1be47593f0
Fixed disconnecting before Clear().
3 years ago
Joshua Haberman
7a24340a26
Fixed some more tests.
3 years ago
Joshua Haberman
a754a370a9
Added beginnings of support for descriptor DB.
3 years ago
Joshua Haberman
fc725be5bc
Implemented proper unescaping of bytes defaults.
3 years ago
Joshua Haberman
8f0a2cd603
Implemented the behavior of ignoring duplicate added filenames.
3 years ago
Joshua Haberman
89ff28cead
Fixed a few tests: extensions are not fields.
3 years ago
Joshua Haberman
7260346e30
Fixed validation of extension field descriptors.
3 years ago
Joshua Haberman
0549fc0ce1
Fixed several tests.
3 years ago