not sure we have a test for it,

basically using a @PreDestroy in an @ApplicationScoped bean which set a
static attribute (boolean) would be enough to check it works or not (ie is
the predestroy method called). Since the issue was we were stopping context
too early the method wouldn't be called if it is still broken

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/17 AndyG <[email protected]>

> The users test now passes but I am not sure about pulling in the deps for
> it
> if we were to integrate it into the project.
>
> Is the issue 'org.apache.deltaspike' specific, or do we have something else
> we can use for a test already?
>
> I'm looking, but I'm sure you have a deeper understanding of the issue that
> will get there more quickly!
>
> Andy.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/anyone-to-review-commit-the-ix-in-ApplicationComposers-tp4662301p4662317.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to