[forge-users] Unable to Inject into Test Class

Lincoln Baxter, III lincolnbaxter at gmail.com
Wed Jan 29 11:07:18 EST 2014


Let's talk about this in the #forge IRC channel :)


On Wed, Jan 29, 2014 at 10:42 AM, <forge-users at lists.jboss.org> wrote:

> I'm currently migrating a plugin from version 1.4.4.Final to 2.0.0.CR2 of
> Forge, and injection is not occurring with my new tests using furnace.
>
> Here (
> https://github.com/mbarkley/forge-errai/blob/f91679f2e549cefa457ba0bdca0ee35d41a2965b/src/test/java/org/jboss/errai/forge/test/base/ForgeTest.java)
> is the test. Here (
> https://github.com/mbarkley/forge-errai/blob/f91679f2e549cefa457ba0bdca0ee35d41a2965b/pom.xml)
> is my pom. And here (http://pastebin.com/D4J3MW3G) is the terminal output
> while running the test.
>
> The result is that the test fails because both of the @Inject'ed fields
> are null. I've tried looking at tests in the Forge repository, but I have
> been unable to discern what I am doing differently.
>
> Any help is appreciated.
>
> Posted by forums
> Original post: https://community.jboss.org/message/855384#855384
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140129/6fdc73b0/attachment-0001.html 


More information about the forge-users mailing list