Skip to content

Commit

Permalink
CDITCK-573 Fix BeanConfigurator providing an insufficient information…
Browse files Browse the repository at this point in the history
… for bean creation.
  • Loading branch information
manovotn authored and tremes committed May 18, 2017
1 parent 4e5f295 commit 4e5a203
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ private void configureBogey(BeanManager bm, BeanConfigurator<Bogey> bogey){
bogey.beanClass(Bogey.class);
bogey.addType(Bogey.class);
bogey.addQualifier(Undead.UndeadLiteral.INSTANCE);
bogey.produceWith(obj -> new Bogey());
}

private void configureWerewolf(BeanManager bm, BeanConfigurator<Werewolf> werewolf){
Expand All @@ -174,6 +175,7 @@ private void configureWerewolf(BeanManager bm, BeanConfigurator<Werewolf> werewo
Set<Class<? extends Annotation>> stereotypes = new HashSet<>();
stereotypes.add(Model.class);
werewolf.stereotypes(stereotypes);
werewolf.produceWith(obj -> new Werewolf());
}

void processSkeletonBean(@Observes ProcessSyntheticBean<Skeleton> event) {
Expand Down
7 changes: 7 additions & 0 deletions impl/src/main/resources/tck-tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
</packages>

<classes>

<!-- CDITCK-573 -->
<class name="org.jboss.cdi.tck.tests.extensions.configurators.bean.BeanConfiguratorTest">
<methods>
<exclude name=".*"/>
</methods>
</class>

</classes>

Expand Down

0 comments on commit 4e5a203

Please sign in to comment.