You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Antoine Lévy-Lambert <an...@antbuild.com> on 2003/12/03 23:15:25 UTC
Failing testcases [was Macrodef @{x}]
OK I have fixed some problems, as usual rather simple.
I still have 3 testcases of
org.apache.tools.ant.taskdefs.AntLikeTasksAtTopLevelTest failing under
cygwin, but not under plain Windows.
I did not look at the guts of the test yet to find out what is wrong.
JDependTest has still 2 testcases failing, and is currently disabled in
build.xml.
Here is the output of one of the failing testcase of JDependTest :
[junit] Testcase: testXml took 0,08 sec
[junit] FAILED
[junit] expecting output to contain "<Package>java.lang</Package>"
output was "<?xml version="1.0"?>
[junit] <JDepend>
[junit] <Packages>
[junit] <Package name="junit.framework">
[junit] <error>No stats available: package referenced, but
not analyzed.</error>
[junit] </Package>
[junit] <Package name="org.apache.tools.ant.types">
[junit] <error>No stats available: package referenced, but
not analyzed.</error>
[junit] </Package>
[junit] <Package name="org.apache.tools.ant.util.facade">
[junit] <Stats>
[junit] <TotalClasses>2</TotalClasses>
[junit] <ConcreteClasses>2</ConcreteClasses>
[junit] <AbstractClasses>0</AbstractClasses>
[junit] <Ca>0</Ca>
[junit] <Ce>2</Ce>
[junit] <A>0</A>
[junit] <I>1</I>
[junit] <D>0</D>
[junit] </Stats>
[junit] <AbstractClasses>
[junit] </AbstractClasses>
[junit] <ConcreteClasses>
[junit]
<Class>org.apache.tools.ant.util.facade.FacadeTaskHelperTest</Class>
[junit]
<Class>org.apache.tools.ant.util.facade.ImplementationSpecificArgumentTest</
Class>
[junit] </ConcreteClasses>
[junit] <DependsUpon>
[junit] <Package>junit.framework</Package>
[junit] <Package>org.apache.tools.ant.types</Package>
[junit] </DependsUpon>
[junit] <UsedBy>
[junit] </UsedBy>
[junit] </Package>
[junit] </Packages>
[junit] <Cycles>
[junit] </Cycles>
[junit] </JDepend>
Cheers,
Antoine
-----Ursprüngliche Nachricht-----
Von: Peter Reilly [mailto:peter.reilly@corvil.com]
Gesendet: Mittwoch, 3. Dezember 2003 18:15
An: Ant Developers List
Betreff: Re: AW: Macrodef @{x}
Antoine Lévy-Lambert wrote:
>Hi Conor,
>
>I would like to have a look at the failing testcases before releasing the
>next beta, but it is going to be quick.
>
>
+1 sounds great.
Peter
>Cheers,
>Antoine
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Failing testcases [was Macrodef @{x}]
Posted by Peter Reilly <pe...@corvil.com>.
Antoine Lévy-Lambert wrote:
>OK I have fixed some problems, as usual rather simple.
>
>I still have 3 testcases of
>org.apache.tools.ant.taskdefs.AntLikeTasksAtTopLevelTest failing under
>cygwin, but not under plain Windows.
>I did not look at the guts of the test yet to find out what is wrong.
>
>JDependTest has still 2 testcases failing, and is currently disabled in
>build.xml.
>
>Here is the output of one of the failing testcase of JDependTest :
>
>
>
....
> [junit] <DependsUpon>
> [junit] <Package>junit.framework</Package>
> [junit] <Package>org.apache.tools.ant.types</Package>
> [junit] </DependsUpon>
>
>
>
>
Strange, the output in linux using jvm 1.4.2_02 is different:
<DependsUpon>
<Package>java.lang</Package>
<Package>junit.framework</Package>
<Package>org.apache.tools.ant.types</Package>
</DependsUpon>
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org