ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Re: Test case failures
Date Mon, 11 Feb 2002 02:05:15 GMT
From: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>


> Did you bootstrap first?
> 
> I have to use junit.fork=true for successful test suite completion.
> 
>     Erik
> 

Ok the tests works fine without forking if I run:

    ant test

instead of:

    build test

Can someone <exclude> conditionally the test org.apache.tools.ant.taskdefs.optional.metamata.MAuditParserTest
it fails if one does not have the supporting classes.

Thanks in advance,

Jose Alberto


> 
> ----- Original Message -----
> From: "Jose Alberto Fernandez" <j_a_fernandez@yahoo.com>
> To: "Ant Project List" <ant-dev@jakarta.apache.org>
> Sent: Sunday, February 10, 2002 10:35 AM
> Subject: Test case failures
> 
> 
> I am trying to run the test cases in an unmodified version of ANT out of CVS
> 
>     build run-tests
> 
> and I am getting several failures, can someone tell me if they are expected
> or not and
> what to do about them:
> 
> 1)
> 
> Testcase: testSingleFileFileset(org.apache.tools.ant.taskdefs.CopyTest):
> Caused an ERROR
> Could not find file C:\ASF\jakarta-ant\copy.xml to copy.
> C:\ASF\jakarta-ant\src\etc\testcases\taskdefs\copy.xml:42: Could not find
> file C:\ASF\jakarta-ant\copy.xml to copy.
>         at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:262)
> 
> 2)
> Null Test:      Caused an ERROR
> org.apache.tools.ant.taskdefs.optional.metamata.MAuditParserTest
> java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.metamata.MAuditParserTest
>         at
> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.jav
> a:971)
> 
> 3)
> Testcase: test7(org.apache.tools.ant.taskdefs.TarTest): Caused an ERROR
> Class org.apache.tools.ant.taskdefs.Tar$TarFileSet doesn't support the
> "prefix"
> attribute.
> C:\ASF\jakarta-ant\src\etc\testcases\taskdefs\tar.xml:36: Class
> org.apache.tools
> .ant.taskdefs.Tar$TarFileSet doesn't support the "prefix" attribute.
>         at
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.ja
> va:299)
> 
> 4)
> Testcase: test8(org.apache.tools.ant.taskdefs.TarTest): Caused an ERROR
> Class org.apache.tools.ant.taskdefs.Tar$TarFileSet doesn't support the
> "fullpath" attribute.
> C:\ASF\jakarta-ant\src\etc\testcases\taskdefs\tar.xml:48: Class
> org.apache.tools.ant.taskdefs.Tar$TarFileSet doesn't support the "fullpath"
> attribute.
>         at
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.ja
> va:299)
> 
> 
> If I try running with -Djunit.fork=true then nothing works because it cannot
> even find SAX classes.
> Either it is quite broken or I have a major configuration problem.
> 
> Jose Alberto
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > --
> > To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message