On Thu, 2005-05-26 at 12:19, Scott M Stark wrote:
> This method also validates whether there was a deployment exception.
> This should be part of the setup. 
> 

Agreed, if the test needs the server it most likely needs to
deploy something. If it does not deploy something, there
could be an assertion at the beginning of the test.

public void testSomething()
{
   assertServerFound();
   etc....
}

You're going to find the problem anyway when it tries to
access JNDI.

> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On 
> > Behalf Of Scott M Stark
> > Sent: Thursday, May 26, 2005 8:54 AM
> > To: jboss-development@lists.sourceforge.net
> > Subject: [JBoss-dev] Let's remove the testServerFound from 
> > the JBossTestCase
> > 
> > The inclusion of the testServerFound in the JBossTestCase 
> > means that every single unit test inherits a unit test tied 
> > to locating the RMIAdaptor using the default testsuite 
> > jndi.properties. At best this is redundant, and as worst 
> > incorrect for the tests which results in uneccessary 
> > overriding of this method. I want to remove the method altogether. 
> >  
> > xxxxxxxxxxxxxxxxxxxxxxxx
> > Scott Stark
> > Chief Technology Officer
> > JBoss Inc.
> > xxxxxxxxxxxxxxxxxxxxxxxx 
> >  
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Yahoo.
> > Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> > Search APIs Find out how you can build Yahoo! directly into 
> > your own Applications - visit 
> > http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
> > _______________________________________________
> > JBoss-Development mailing list
> > JBoss-Development@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> JBoss-Development mailing list
> JBoss-Development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Chief Scientist
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to