tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Please help! Unit test fails for Tomcat
Date Tue, 22 Jan 2002 14:06:01 GMT

When I try 'ant test' (after getting past 'ant dist'), it fails
eventually with:

	 [echo] Running FileDirContext tests
	 [java] .F.......
	 [java] Time: 0.164
	 [java] There was 1 failure:
	 [java] 1) testGetAttributesWebInf(org.apache.naming.resources.FileDirContextTestCase)junit.framework.AssertionFailedError:
WEB-INF attribute 'resourcetype' is expected
	 [java]     at org.apache.naming.resources.BaseDirContextTestCase.checkWebInfAttributes(
	 [java]     at org.apache.naming.resources.FileDirContextTestCase.testGetAttributesWebInf(
	 [java] FAILURES!!!
	 [java] Tests run: 8,  Failures: 1,  Errors: 0
    /home1/berriz/build/tomcat/jakarta-tomcat-4.0.1-src/catalina/build.xml:566: Java returned:
    Total time: 4 seconds

Any suggestions as to what to do to fix this would be most welcome.


P.S.  Please Cc me in your response.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message