Skip to content

Conversation

@terrymanu
Copy link
Member

No description provided.

terrymanu and others added 3 commits October 26, 2025 13:16
…method

- Add 10 new test cases to achieve 100% code coverage
- Test normal cases, cycling behavior, edge cases, and exception scenarios
- Cover all code branches including iterator reset logic
- Ensure clean test code with no duplication
- Verify exact string formatting and ordering behavior

Test cases added:
- assertGetFormattedDataNodes: Basic functionality with amount < dataSources
- assertGetFormatSingleDataNode: Single data source cycling behavior
- assertGetFormattedDataNodesWithCycling: Iterator reset when amount > dataSources
- assertGetFormattedDataNodesWithZeroAmount: Edge case with zero amount
- assertGetFormattedDataNodesWithAmountEqualToDataSourcesSize: Exact match scenario
- assertGetFormattedDataNodesWithSpecialCharactersInLogicTable: Special character handling
- assertGetFormattedDataNodesWithLargeAmount: Performance testing with large datasets
- assertGetFormattedDataNodesWithEmptyDataSources: Exception handling for empty collections
- assertGetFormattedDataNodesWithSingleAmountAndMultipleDataSources: Minimal amount scenario
- assertGetFormattedDataNodesIteratorResetBehavior: Complex iterator reset verification

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@terrymanu terrymanu added this to the 5.5.3 milestone Oct 26, 2025
@terrymanu terrymanu merged commit fb93d50 into apache:master Oct 26, 2025
24 checks passed
@terrymanu terrymanu deleted the dev branch October 26, 2025 07:09
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