-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvocationContextTest likely incomplete #405
Comments
Hello The assertions in the test haven't changed since 2017, the supporting classes indeed did change. |
This test used to check the CDI support for javax.interceptor.Interceptors. Not it tests support for the @InterceptorBinding mechanism. Thats's just something very different, don't you agree? Of course, we should ideally test both! |
Did it really? If you take a look at the |
Applying interceptor via |
That's not true, I simply stated that the test is asserting Therefore, my initial question stands:
|
You are right, it's not invalid or asserting something unexpected. But we only test one out of 2 different routes. We imo should test both. edit I changed the title of the ticket to better reflect my request. Indeed it's not 'broken' but more 'incomplete' |
Hi!
It seems that the Test got totally changed. It now tests something very different than before, but without updating the spec section!
In commit 021f446 a lot of similar changes got made:
But this changes the mechanism from using
javax.interceptor.Interceptors
to CDI style Interceptors. This is something very different!The text was updated successfully, but these errors were encountered: