Commit graph

11 commits

Author SHA1 Message Date
Protobuf Team Bot
3273dca565 Remove redundant binary decoders from Java and Java Lite conformance testees
These testees run N different parse paths and see if they all agree. Many of them have been collapsed down to the same parse paths and so are just wasting time rerunning the same paths and seeing if it gives the same result again.

In reality there's only 2 parse paths left, but this is only going down to 4 in the testee for now (there's the extra quirk of just first doing a copy on some inputs).

PiperOrigin-RevId: 955496333
2026-07-28 15:13:25 -07:00
Rachel Goldfinger
0404e66d8b Add conformance test for edition unstable
PiperOrigin-RevId: 850054867
2025-12-29 07:41:37 -08:00
Nathan Baulch
e4cbc79ab4 Fix minor typos (#17682)
Just thought I'd contribute some typo fixes that keep tripping up CI/CD checks in my projects. Nothing controversial (hopefully), just 174 simple fixes.

Use the following command to get a quick and dirty summary of the specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
  | grep -E '\[\-.*\-\]\{\+.*\+\}' \
  | sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
  | sort | uniq -c | sort -n
```

FWIW, the top typos are:
* trimed → trimmed (37)
* substract → subtract (7)
* qualifed → qualified (7)
* extesion → extension (6)
* mising → missing (5)
* btye → byte (4)
* likey → likely (4)
* candicate → candidate (3)
* decriptor → descriptor (3)
* inherting → inheriting (3)
* colletion → collection (3)
* caluclated → calculated (3)
* unititialized → uninitialized (3)
* implemting → implementing (3)
* binrary → binary (3)
* descripor → descriptor (3)
* negitive → negative (3)

Closes #17682

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17682 from NathanBaulch:typos d41762d137
PiperOrigin-RevId: 677074418
2024-09-20 20:50:06 -07:00
Mike Kruskal
69d1dacf74 Add delimited field binary/json conformance tests.
These are already supported, but this will lock down that there's no issues like the ones we hit with text-format.

This also fixes an unrelated bug in our BinaryToJsonString algorithm related to unknown group handling.   We still can't actually test binary->JSON in conformance tests for extensions due to TypeResolver's lack of support though.

PiperOrigin-RevId: 622360970
2024-04-05 21:07:15 -07:00
Mike Kruskal
8ab39ed6f8 Add editions-specific conformance tests
For now, these are limited to tests of text-form for delimited fields that locks down our problematic behavior in editions.  Follow up changes will adjust the behavior to behave better under editions.

PiperOrigin-RevId: 622211473
2024-04-05 10:12:09 -07:00
Sandy Zhang
500c953d10 Enable editions support for Java Lite.
java_features.proto and descriptor.proto should now both be included in the Java Lite and Kotlin Lite maven releases.

Fixes https://github.com/protocolbuffers/protobuf/issues/7331

PiperOrigin-RevId: 618251348
2024-03-22 12:13:06 -07:00
Joshua Haberman
8a4bfd645d Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
PiperOrigin-RevId: 563909131
2023-09-08 20:24:45 -07:00
Joshua Haberman
ce560630bf Sync from Piper @368734211
PROTOBUF_SYNC_PIPER
2021-04-15 15:53:17 -07:00
Rafi Kamal
58d4420e2d Down Integrate Internal Changes 2019-11-12 13:38:58 -08:00
Otto Kekäläinen
3808d091f8 Fix spelling in strings and comments 2016-07-03 15:26:04 +03:00
Jisi Liu
3b3c8abb96 Integrate google internal changes. 2016-03-30 11:39:59 -07:00