tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <k...@panix.com>
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:

    test-dir-context:
	 [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(BaseDirContextTestCase.java:452)
	 [java]     at org.apache.naming.resources.FileDirContextTestCase.testGetAttributesWebInf(FileDirContextTestCase.java:162)
	 [java]
	 [java] FAILURES!!!
	 [java] Tests run: 8,  Failures: 1,  Errors: 0
	 [java]
    
    BUILD FAILED
    
    /home1/berriz/build/tomcat/jakarta-tomcat-4.0.1-src/catalina/build.xml:566: Java returned:
-1
    
    Total time: 4 seconds



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

KJ

P.S.  Please Cc me in your response.

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message