a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

Aberta

#304 aberto em 25 de set. de 2025

 (5 comentários) (0 reação) (1 responsável)Java (149 forks)auto 404
good first issuehacktoberfest

Métricas do repositório

Stars
 (438 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador