Skip to content

Conversation

@blerer
Copy link
Contributor

@blerer blerer commented Dec 3, 2025

This is an initial version of the patch as I am waiting for the result of the discussion on the mailing list.

The patch introduce a new assertion method in LuceneTestCase that verify that a given Decorator class (FilterXxx) properly delegate all methods calls to the wrapped instance. The patch add the missing delegation methods.

Closes #15452

Description

@github-actions
Copy link
Contributor

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Dec 18, 2025
The patch introduce a new assertion method in LuceneTestCase that
verify that a given base decorator class (Filter) properly delegate
all methods calls to the wrapped instance. The patch add the
missing delegation methods.

Closes apache#15452
Copy link
Contributor

@dweiss dweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it very much. Especially the tests that get simplified. I've noticed a few things that seem odd to me but I'll need to understand what's going on better. Please give me some time to dive deeper into it. Looks great though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FilterIndexInput and FilterIndexOutput override the behavior of the instance that they decorate

2 participants