mehandih / grails-jaxrs

Automatically exported from code.google.com/p/grails-jaxrs
0 stars 0 forks source link

Service injection into resources doesn't work in integration tests #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Tried this example:

http://code.google.com/p/grails-jaxrs/wiki/AdvancedFeatures#Service_injection

Original issue reported on code.google.com by krass...@googlemail.com on 24 Mar 2011 at 8:01

GoogleCodeExporter commented 8 years ago
Hi Martin,
I attach here the version of IntegrationTestEnvironment modified to support the 
autowiring of services inside jaxrs resources. I hope it is enough clean. Give 
the eye.

Cheers
Davide

Original comment by davide.cavestro on 24 Mar 2011 at 10:00

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Martin,
here you are the diff.
Please note that this particular change would obsolete 
IntegrationTestContextLoaderListener.

Cheers
Davide

Original comment by davide.cavestro on 24 Mar 2011 at 10:09

Attachments:

GoogleCodeExporter commented 8 years ago
See http://groups.google.com/group/grails-jaxrs-discuss/msg/a9ad2b3b6a919402

Original comment by krass...@googlemail.com on 24 Mar 2011 at 10:30

GoogleCodeExporter commented 8 years ago

Original comment by krass...@googlemail.com on 30 Mar 2011 at 6:59