a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

Offen

#304 geöffnet am 25.09.2025

 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (149 Forks)auto 404
good first issuehacktoberfest

Repository-Metriken

Stars
 (438 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The ProtoUtils class contains classes for converting gRPC classes and spec classes.

We have a test class called ToProtoTest that has a very limited set of tests for this.

This issue is to add more test cases to thoroughly test ProtoUtils.ToProto and ProtoUtils.FromProto.

The corresponding tests in the Python SDK can be seen here: https://github.com/a2aproject/a2a-python/blob/main/tests/utils/test_proto_utils.py

We should add more test cases similar to what's in the Python tests.

Contributor Guide