[weld-dev] java-se weld unit test sample?

Johan Eltes johan.eltes at callistaenterprise.se
Sat Dec 26 20:29:20 EST 2009


Found another issue with the CDIRunner: it only injects variables that are declares as interfaces. And it doesn't inject events.

/Johan

On 26 dec 2009 v52, at 22.01, Aslak Knutsen wrote:

> Checkout the Weld Java SE project.. 
> 
> JUnit 'example':
> http://anonsvn.jboss.org/repos/weld/java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/WeldMainTest.java
> 
> 
> src: http://anonsvn.jboss.org/repos/weld/java-se/trunk
> 
> -aslak-
> 
> 2009/12/26 Johan Eltes <johan.eltes at callistaenterprise.se>
> Is there any working sample of how to set up a unit test for a weld bean? I'm only looking for java-se weld support here, not ejb/jsf.
> 
> /Johan
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
> 
> 
> 
> -- 
> --
> Aslak Knutsen; +47 952 38 791; fax +47 22 33 60 24
> Kongens gate 14; Boks 805 Sentrum, 0104 Oslo;
> http://www.conduct.no; mailto:aslak at conduct.no
> 
> Conduct AS - Professional Open Source Services
> - Red Hat/JBoss Premier System Integrator
> - Pentaho Preferred Integration Partner
> - Atlassian Technology Partner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20091227/c92d0444/attachment.html 


More information about the weld-dev mailing list