a2aproject / a2aproject/a2a-java

[chore]: Add more tests for ProtoUtils

Aperta
#304 5 commenti 0 reazioni 1 assegnatario Rivendicata da @Akanksha928 Vedi su GitHub
good first issue hacktoberfest
Lingua principale
Java
Stelle
490
Fork
172
Merge medio
1g 6h
PR unite (30g)
55

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 per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.