forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing: fix @MockitoConfig(convertScopes=true) with auto-producers
The annotation transformer in `SingletonToApplicationScopedTestBuildChainCustomizerProducer` has to: - look for the `@Produces` annotation in ArC's `AnnotationStore`, not in Jandex; - run _after_ the annotation transformer in `AutoProducerMethodsProcessor`. This is enough to recognize an auto-producer (producer without `@Produces`).
- Loading branch information
Showing
3 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
...tests/injectmock/src/main/java/io/quarkus/it/mockbean/SuffixServiceSingletonProducer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters