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.

貢獻者指南