a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

开放

#304 创建于 2025年9月25日

 (5 条评论) (0 个反应) (1 位负责人)Java (149 个派生)auto 404
good first issuehacktoberfest

仓库指标

星标
 (438 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南