tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Black <>
Subject re: unit testing when application level scoping used
Date Mon, 22 Dec 2003 12:11:25 GMT
  I am trying to write a unit test for an application I didn't write.  
There are classes in the classes directory I want to test directly.

  The problem is that the application uses application and session 
scoping for some of the classes, so they can reference the instance 
without having passed it into the instant I am trying to test.

  I hope this makes sense, I started to understand what was going on 
last night.

  How can I unit test a non-jsp page, non servlet page, when scoping is 

  Thank you for any help.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message