Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Jul 31, 2025

Enhance OpenAiChatOptions test coverage

Tests Added

  • testEqualsAndHashCode() - equals/hashCode contract validation
  • testBuilderWithNullValues() - builder with null inputs
  • testBuilderChaining() - builder method chaining
  • testNullAndEmptyCollections() - null/empty collection handling
  • testStreamUsageStreamOptionsInteraction() - stream options state sync
  • testStopSequencesAlias() - stop/stopSequences field sync
  • testFromOptionsWithWebSearchOptionsNull() - fromOptions with null webSearch
  • testCopyChangeIndependence() - copy mutation independence validation

@alxkm alxkm changed the title test: Enhance OpenAiChatOptions test coverage test: Enhance OpenAiChatOptions test coverage Aug 4, 2025
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko merged commit c37ed3c into spring-projects:main Aug 6, 2025
2 checks passed
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
Tests Added

- testEqualsAndHashCode() - equals/hashCode contract validation
- testBuilderWithNullValues() - builder with null inputs
- testBuilderChaining() - builder method chaining
- testNullAndEmptyCollections() - null/empty collection handling
- testStreamUsageStreamOptionsInteraction() - stream options state sync
- testStopSequencesAlias() - stop/stopSequences field sync
- testFromOptionsWithWebSearchOptionsNull() - fromOptions with null webSearch
- testCopyChangeIndependence() - copy mutation independence validation

Signed-off-by: Alex Klimenko <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Tests Added

- testEqualsAndHashCode() - equals/hashCode contract validation
- testBuilderWithNullValues() - builder with null inputs
- testBuilderChaining() - builder method chaining
- testNullAndEmptyCollections() - null/empty collection handling
- testStreamUsageStreamOptionsInteraction() - stream options state sync
- testStopSequencesAlias() - stop/stopSequences field sync
- testFromOptionsWithWebSearchOptionsNull() - fromOptions with null webSearch
- testCopyChangeIndependence() - copy mutation independence validation

Signed-off-by: Alex Klimenko <[email protected]>
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Tests Added

- testEqualsAndHashCode() - equals/hashCode contract validation
- testBuilderWithNullValues() - builder with null inputs
- testBuilderChaining() - builder method chaining
- testNullAndEmptyCollections() - null/empty collection handling
- testStreamUsageStreamOptionsInteraction() - stream options state sync
- testStopSequencesAlias() - stop/stopSequences field sync
- testFromOptionsWithWebSearchOptionsNull() - fromOptions with null webSearch
- testCopyChangeIndependence() - copy mutation independence validation

Signed-off-by: Alex Klimenko <[email protected]>
Signed-off-by: 家娃 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants