This content has been marked as final.
Show 1 reply
-
1. Re: Use of Shrinkwrap in place of AssembledDirectories
alesj Dec 17, 2009 11:14 AM (in response to johnbailey)Embedded had capabilities for deploying Shrinkwrap archives. Maybe some of the tests like 'AbstractWebBeansTest' don't belong in the deployers-vfs project.
AbstractWeBeansTest truely doesn't belong there, as it's just a leftover before we actually moved the code to Weld-int sub-project.
You can simply delete it.
Dunno about the rest. Which tests do you have in mind?
We need to mock the basic deployments, so that we see how different things actually behave.
e.g. Reflect with Javassist impl + new Classpools
The questions I have is whether we should be using an AssembledFileSystem or creating Shrinkwrap archives for this kind of testing. The syntax like 'addPackage' seems to be a mismatch with building a generic file system and should be leveraging a higher-level EE focused library like Shrinkwrap.
We had these tests before Shrinkwrap existed.
I wouldn't bother with porting the old tests to it.
But I do agree it makes sense for the new tests.