a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

Aperta

#304 aperta il 25 set 2025

 (5 commenti) (0 reazioni) (1 assegnatario)Java (149 fork)auto 404
good first issuehacktoberfest

Metriche repository

Star
 (438 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor