I have some unit test code that mocks a lot of Tomcat classes so that I can
test a Tomcat Valve (code in http://waffle.codeplex.com). Switching to Tomcat 7
is giving me some grief. I used to be able to do this:
SimpleContext ctx = new SimpleContext(); // my class
Realm
-
From: dB. [mailto:dbl...@dblock.org]
Sent: Monday, November 01, 2010 11:51 AM
To: Tomcat Users List (users@tomcat.apache.org)
Subject: Tomcat 7 LifecycleBase.init
I have some unit test code that mocks a lot of Tomcat classes so that I can
test a Tomcat Valve (code in http
On 01/11/2010 12:34, dB. wrote:
Sorry for the noise.
Once I got the right source code, it was pretty easy to track under a
debugger. I needed to implement Context.getName(), getPath, an Engine and a
Pipeline.
_authenticator = new NegotiateAuthenticator();