a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

Open

#304 opened on Sep 25, 2025

 (5 comments) (0 reactions) (1 assignee)Java (149 forks)auto 404
good first issuehacktoberfest

Repository metrics

Stars
 (438 stars)
PR merge metrics
 (PR metrics pending)

Description

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