Skip to content

Conversation

ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 19, 2025

Summary

  • Added comprehensive unit tests for the de.rub.nds.crawler.denylist package
  • Achieved 100% code coverage for both classes in the package
  • Covers all edge cases and error scenarios

ic0ns added 2 commits June 19, 2025 12:29
- Test interface implementation with custom logic
- Test anonymous class implementations
- Test null handling scenarios
- Achieve 100% coverage for interface
- Test empty denylist file
- Test domain, IP, and subnet denylists
- Test mixed denylist types
- Test invalid entries handling
- Test non-existent file handling
- Test null value handling
- Test IPv6 address handling
- Test concurrent access
- Test subnet boundaries
- Test large subnets
- Test files with empty lines
- Test special characters in files
- Test invalid CIDR notation
- Achieve 100% coverage for DenylistFileProvider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant