"A. Alonso Dominguez" <[EMAIL PROTECTED]> writes: > HI there, > > I'm developing a server application using fortress as the container. I found > a bug in your FortressTestCase when I tried > to run my testcase's. > I have a test case base which extends the one provided with the excalibur > distribution. This testcase base overrides the > method initializeContext and strores there some values. > > The problem is, the FortressTestCase ignores the context returned from that > method at line 145. This is a piece of code: > > Context context = initializeContext( config.getContext() ); > > m_containerManager = new DefaultContainerManager( config.getContext() ); > ContainerUtil.initialize( m_containerManager ); > > So, the context returned from initializeContext is never used. This should be > changed to > > Context context = initializeContext( config.getContext() ); > > m_containerManager = new DefaultContainerManager( context ); > ContainerUtil.initialize( m_containerManager ); > > If you want, I can open an issue about this.
Please do: https://issues.apache.org/jira/browse/FORTRESS Thanks for finding this! -- J Aaron Farr jadetower.com [US] +1 724-964-4515 馮傑仁 cubiclemuses.com [HK] +852 8123-7905 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
